diff options
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/nosy.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/firewire/nosy.c b/drivers/firewire/nosy.c index 57a1100f8f4..a241b62630b 100644 --- a/drivers/firewire/nosy.c +++ b/drivers/firewire/nosy.c @@ -444,6 +444,10 @@ irq_handler(int irq, void *device) pci_int_status = reg_read(lynx, PCI_INT_STATUS); + if (pci_int_status == ~0) + /* Card was ejected. */ + return IRQ_NONE; + if ((pci_int_status & PCI_INT_INT_PEND) == 0) /* Not our interrupt, bail out quickly. */ return IRQ_NONE; |