2005-07-18 Lars Munch <lars@segv.dk>

PR 813/networking
	* ne2000/ne2000.c: The ne2000 driver on pc386 has been broken since a
	parameter was added to irq handlers (2005-04-18). Before these
	changes the argument to the interrupt handler was the interrupt
	number, now the argument is handle, but the ne2000 driver needs the
	interrupt number. The fix is to set the handle to the interrupt
	number.
This commit is contained in:
Joel Sherrill
2005-07-18 14:34:41 +00:00
parent d8bc48b4cb
commit 5fa10f2db6
2 changed files with 11 additions and 0 deletions

View File

@@ -1,3 +1,13 @@
2005-07-18 Lars Munch <lars@segv.dk>
PR 813/networking
* ne2000/ne2000.c: The ne2000 driver on pc386 has been broken since a
parameter was added to irq handlers (2005-04-18). Before these
changes the argument to the interrupt handler was the interrupt
number, now the argument is handle, but the ne2000 driver needs the
interrupt number. The fix is to set the handle to the interrupt
number.
2005-07-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* console/keyboard.c: Apply CHAR_BIT to compute BITS_PER_LONG.

View File

@@ -522,6 +522,7 @@ ne_init_irq_handler(int irno)
#endif
irq.name = irno;
irq.hdl = (rtems_irq_hdl)ne_interrupt_handler;
irq.handle = irno;
irq.on = ne_interrupt_on;
irq.off = ne_interrupt_off;
irq.isOn = ne_interrupt_is_on;