summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-07-18 14:34:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-07-18 14:34:41 +0000
commit5fa10f2db60176890ac4aa55f8236dedbb05c7a4 (patch)
treed89d7ec0d2bf56b8a52695336f6d82d024e44eb6 /c
parentThis commit was generated by cvs2svn to compensate for changes in r12147, (diff)
downloadrtems-5fa10f2db60176890ac4aa55f8236dedbb05c7a4.tar.bz2
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.
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;