Browse Source

Send EOI after enabling interrupt, in case the device had asserted IRQ

to the PIC while it was disabled.
tags/v0.9.3
Michael Brown 17 years ago
parent
commit
aa7bda7b47
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/arch/i386/drivers/net/undinet.c

+ 1
- 0
src/arch/i386/drivers/net/undinet.c View File

470
 	/* Hook interrupt service routine and enable interrupt */
470
 	/* Hook interrupt service routine and enable interrupt */
471
 	undinet_hook_isr ( undinic->irq );
471
 	undinet_hook_isr ( undinic->irq );
472
 	enable_irq ( undinic->irq );
472
 	enable_irq ( undinic->irq );
473
+	send_eoi ( undinic->irq );
473
 
474
 
474
 	/* Set station address.  Required for some PXE stacks; will
475
 	/* Set station address.  Required for some PXE stacks; will
475
 	 * spuriously fail on others.  Ignore failures.  We only ever
476
 	 * spuriously fail on others.  Ignore failures.  We only ever

Loading…
Cancel
Save