[lkml]   [1999]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Shared interrupt (lack of) handling
> Wouldn't it be clearer if request_irq() took a function pointer
> to be used to determine whether the interrupt belongs to the
> driver or not? i.e.:

Now I make two expensive indirect jumps per irq.

> At least it would force driver writers to address the shared interrupt
> issue, and if the kernel determines that nobody claims the interrupt
> it could do something about it, like complain, which it can't do at
> the moment. Something that has caused me endless problems on a laptop
> with some unidentifiable PCI device generating unhandled interrupts.

Drivers that don't do proper checking get noticed quite fast - as you've

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2011 Jasper Spaans