2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 15:21:32 +00: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:
Michael Brown 2007-01-09 14:53:19 +00:00
parent a2ffe8c123
commit aa7bda7b47

View File

@ -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