diff options
| author | Michael Brown | 2007-01-09 15:53:19 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-09 15:53:19 +0100 |
| commit | aa7bda7b477fb0a46f00bb1be70ab57f3e9d1184 (patch) | |
| tree | 476e849d4f0f46351b5e7b77a36219554a533572 /src/arch/i386/drivers/net | |
| parent | Allow boot sector to completely destroy real-mode stack, but still (diff) | |
| download | ipxe-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.
Diffstat (limited to 'src/arch/i386/drivers/net')
| -rw-r--r-- | src/arch/i386/drivers/net/undinet.c | 1 |
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 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 |
