[Prism54-devel] Clarification in islpci_dev.c

Margit Schubert-While margitsw at t-online.de
Fri Jul 9 19:31:42 UTC 2004


Need clarification here.
In islpci_interrupt, we check the reg's if the interrupt is for us,
finally landing at :
         if (reg != 0) {
                 /* reset the request bits in the Identification register */
	etc.

So what if reg == 0, then I assume the IRQ is not for us.
However, at the bottom of the function after doing the sleep->ready,
!sleep->sleep(is this correct for reg==0?), we return IRQ_HANDLED.
Is this correct ?

Margit 




More information about the Prism54-devel mailing list