lkml.org 
[lkml]   [2003]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] disable_irq()/enable_irq() semantics and ide-probe.c
Linus Torvalds wrote:
> On Thu, 9 Oct 2003, Jeff Garzik wrote:
>
>>If you can't stop the NIC hardware from generating interrupts, that's a
>>driver bug.
>
>
> No it's not.
>
> Think shared interrupts here.

I was being specific in what I said :)

Sure, shared interrupts can still call a driver's handler.

But if the driver doesn't stop _its own_ hardware from generating
interrupts, you've got screaming interrupts the minute it issues
free_irq and signals it doesn't care anymore. The driver damn well
better be able to stop the _NIC hardware_ from generating interrupts :)

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.035 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site