From aa7bda7b477fb0a46f00bb1be70ab57f3e9d1184 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 9 Jan 2007 14:53:19 +0000 Subject: Send EOI after enabling interrupt, in case the device had asserted IRQ to the PIC while it was disabled. --- src/arch/i386/drivers/net/undinet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/i386/drivers/net/undinet.c b/src/arch/i386/drivers/net/undinet.c index f4d244c7..dc48b0eb 100644 --- a/src/arch/i386/drivers/net/undinet.c +++ b/src/arch/i386/drivers/net/undinet.c @@ -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 -- cgit v1.2.3-55-g7522