From: Michael Brown Date: Tue, 9 Jan 2007 14:53:19 +0000 (+0000) Subject: Send EOI after enabling interrupt, in case the device had asserted IRQ X-Git-Tag: v0.9.3~739 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa7bda7b477fb0a46f00bb1be70ab57f3e9d1184;p=thirdparty%2Fipxe.git Send EOI after enabling interrupt, in case the device had asserted IRQ to the PIC while it was disabled. --- diff --git a/src/arch/i386/drivers/net/undinet.c b/src/arch/i386/drivers/net/undinet.c index f4d244c78..dc48b0eb6 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