mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user