Send EOI after enabling interrupt, in case the device had asserted IRQ
authorMichael Brown <mcb30@etherboot.org>
Tue, 9 Jan 2007 14:53:19 +0000 (14:53 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 9 Jan 2007 14:53:19 +0000 (14:53 +0000)
to the PIC while it was disabled.

src/arch/i386/drivers/net/undinet.c

index f4d244c..dc48b0e 100644 (file)
@@ -470,6 +470,7 @@ static int undinet_open ( struct net_device *netdev ) {
        /* Hook interrupt service routine and enable interrupt */
        undinet_hook_isr ( undinic->irq );
        enable_irq ( undinic->irq );
+       send_eoi ( undinic->irq );
 
        /* Set station address.  Required for some PXE stacks; will
         * spuriously fail on others.  Ignore failures.  We only ever