summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2007-01-09 15:53:19 +0100
committerMichael Brown2007-01-09 15:53:19 +0100
commitaa7bda7b477fb0a46f00bb1be70ab57f3e9d1184 (patch)
tree476e849d4f0f46351b5e7b77a36219554a533572
parentAllow boot sector to completely destroy real-mode stack, but still (diff)
downloadipxe-aa7bda7b477fb0a46f00bb1be70ab57f3e9d1184.tar.gz
ipxe-aa7bda7b477fb0a46f00bb1be70ab57f3e9d1184.tar.xz
ipxe-aa7bda7b477fb0a46f00bb1be70ab57f3e9d1184.zip
Send EOI after enabling interrupt, in case the device had asserted IRQ
to the PIC while it was disabled.
-rw-r--r--src/arch/i386/drivers/net/undinet.c1
1 files changed, 1 insertions, 0 deletions
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