summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-10-20 23:39:05 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-10-20 23:39:05 +0000
commit908739ed6ea937454a1528da485db4a697f954c6 (patch)
tree99038f50110e078bbe90cec0816acdea98582e8b
parente221bff4ad0ae79efa168c64f5a6da44da26c6e6 (diff)
downloadlibbsdport-908739ed6ea937454a1528da485db4a697f954c6.tar.bz2
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* 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).
-rw-r--r--bsd_eth_drivers/ChangeLog31
-rw-r--r--bsd_eth_drivers/if_bge/if_bge.c2
2 files changed, 32 insertions, 1 deletions
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 <Till.Straumann@TU-Berlin.de>
+
+ * 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 <Till.Straumann@TU-Berlin.de>
+
+ * libbsdport/ifmedia.c: fixed 'unused variable' warning
+ by removing unused var.
+
+2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
+
+ * 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 <Till.Straumann@TU-Berlin.de>
+
+ * 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 <Till.Straumann@TU-Berlin.de>
+
+ * 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 <joel.sherrill@OARcorp.com>
* 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);