summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/i386/pc386/ChangeLog10
-rw-r--r--c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c1
2 files changed, 11 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/ChangeLog b/c/src/lib/libbsp/i386/pc386/ChangeLog
index f8f65b9357..97a48fa3a4 100644
--- a/c/src/lib/libbsp/i386/pc386/ChangeLog
+++ b/c/src/lib/libbsp/i386/pc386/ChangeLog
@@ -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.
diff --git a/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c b/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c
index 742b82dd4b..dfc94dcdb8 100644
--- a/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c
+++ b/c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c
@@ -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;