From 908739ed6ea937454a1528da485db4a697f954c6 Mon Sep 17 00:00:00 2001 From: Till Straumann Date: Tue, 20 Oct 2009 23:39:05 +0000 Subject: 2009-10-20 Till Straumann * if_bge/if_bge.c: bge_intr must be passed as a 'handler' to bus_setup_intr(). However, the irq_check_dis and irq_enable methods seem to still be skeletons so this driver won't work... (I have no hardware or emulation available to test). --- bsd_eth_drivers/ChangeLog | 31 +++++++++++++++++++++++++++++++ bsd_eth_drivers/if_bge/if_bge.c | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) (limited to 'bsd_eth_drivers') diff --git a/bsd_eth_drivers/ChangeLog b/bsd_eth_drivers/ChangeLog index d4c4559..d0b2992 100644 --- a/bsd_eth_drivers/ChangeLog +++ b/bsd_eth_drivers/ChangeLog @@ -1,3 +1,34 @@ +2009-10-20 Till Straumann + + * libbsdport/libbsdport_post.h: added missing declaration + of m_defrag() (Chris replaced the dummy #define a while + ago and provided an implementation instead [thanks!] but + we also need a declaration). + +2009-10-20 Till Straumann + + * libbsdport/ifmedia.c: fixed 'unused variable' warning + by removing unused var. + +2009-10-20 Till Straumann + + * if_re/if_re.c: fixed 'unused variable' warning by + commenting via #ifndef __rtems__ (since code which uses + the 'msi_disable' var is commented the same way). + +2009-10-20 Till Straumann + + * if_pcn/if_pcn.c: fixed 'type-punned pointer' warning. + Use 'memcpy' to copy 2 bytes to a short. This requires + another #ifdef __rtems__, however. + +2009-10-20 Till Straumann + + * if_bge/if_bge.c: bge_intr must be passed as a 'handler' + to bus_setup_intr(). However, the irq_check_dis and irq_enable + methods seem to still be skeletons so this driver won't work... + (I have no hardware or emulation available to test). + 2009-10-20 Joel Sherrill * libbsdport/alldrv.c: Revert. diff --git a/bsd_eth_drivers/if_bge/if_bge.c b/bsd_eth_drivers/if_bge/if_bge.c index 654e1af..3a820e1 100644 --- a/bsd_eth_drivers/if_bge/if_bge.c +++ b/bsd_eth_drivers/if_bge/if_bge.c @@ -2829,7 +2829,7 @@ again: */ #if defined(__rtems__) error = bus_setup_intr(dev, sc->bge_irq, INTR_TYPE_NET | INTR_MPSAFE, - bge_intr, NULL, sc, &sc->bge_intrhand); + NULL, bge_intr, sc, &sc->bge_intrhand); #elif (__FreeBSD_version > 700030) error = bus_setup_intr(dev, sc->bge_irq, INTR_TYPE_NET | INTR_MPSAFE, NULL, bge_intr, sc, &sc->bge_intrhand); -- cgit v1.2.3