Re: de2104x: interrupts before interrupt handler is registered
From: Robert Hancock
Date: Tue Mar 07 2006 - 08:56:14 EST
linux-os (Dick Johnson) wrote:
No. It would be good if that was true. Unfortunately, the IRQ
returned before the pci_enable_device() is not correct. It
gets re-written by pci_enable_device().
That wasn't what I meant, yes, that is true in the current kernel.
However, any device which would start generating interrupts just because
its BARs got enabled by pci_enable_device seems broken.
The driver needs to request the interrupt after the device is enabled,
and only after that can it enable the device to generate interrupts.
--
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/