Re: [RFC] disable_irq()/enable_irq() semantics and ide-probe.c
From: Jeff Garzik
Date: Thu Oct 09 2003 - 12:52:59 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/