mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 15:31:42 +03:00
Send EOI after enabling interrupt, in case the device had asserted IRQ
to the PIC while it was disabled.
This commit is contained in:
@@ -470,6 +470,7 @@ static int undinet_open ( struct net_device *netdev ) {
|
|||||||
/* Hook interrupt service routine and enable interrupt */
|
/* Hook interrupt service routine and enable interrupt */
|
||||||
undinet_hook_isr ( undinic->irq );
|
undinet_hook_isr ( undinic->irq );
|
||||||
enable_irq ( undinic->irq );
|
enable_irq ( undinic->irq );
|
||||||
|
send_eoi ( undinic->irq );
|
||||||
|
|
||||||
/* Set station address. Required for some PXE stacks; will
|
/* Set station address. Required for some PXE stacks; will
|
||||||
* spuriously fail on others. Ignore failures. We only ever
|
* spuriously fail on others. Ignore failures. We only ever
|
||||||
|
|||||||
Reference in New Issue
Block a user