Re: de2104x: interrupts before interrupt handler is registered

From: Robert Hancock
Date: Mon Mar 06 2006 - 20:14:20 EST


linux-os (Dick Johnson) wrote:
This started to happen in a lot of PCI drivers once it became
necessary to call pci_enable_device() in order to make the
returned IRQ values valid. This has been reported numerious
times and has not been fixed. Basically, in order to get
the correct value, one needs to disable the board in some
unspecified way so it is not possible for it to generate
an interrupt before enabling the board. With some devices
this may not be possible!

What kind of board behaves that way? pci_enable_device just enables the device BARs and wakes it up if it was suspended, I should think that any device that starts generating interrupts from that must be quite broken..

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

-
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/