From 5fa10f2db60176890ac4aa55f8236dedbb05c7a4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 18 Jul 2005 14:34:41 +0000 Subject: 2005-07-18 Lars Munch 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. --- c/src/lib/libbsp/i386/pc386/ChangeLog | 10 ++++++++++ c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c | 1 + 2 files changed, 11 insertions(+) (limited to 'c') 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 + + 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 * 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; -- cgit v1.2.3