summaryrefslogtreecommitdiffstats
path: root/bsd_eth_drivers
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-04 13:39:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-04 13:39:55 +0000
commit31d56d93c8e0fd4c9a7fdbc5c43c5be172bae273 (patch)
tree7db9e805b26d3f6a256ecd1a3e3157b9133e3c07 /bsd_eth_drivers
parentc19b05df812b1714f3d2040c37d060261faaf4b1 (diff)
downloadlibbsdport-31d56d93c8e0fd4c9a7fdbc5c43c5be172bae273.tar.bz2
2009-06-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libbsdport/alldrv.c, libbsdport/libbsdport_api.h: Add include <stdio.h> for FILE *.
Diffstat (limited to 'bsd_eth_drivers')
-rw-r--r--bsd_eth_drivers/ChangeLog5
-rw-r--r--bsd_eth_drivers/libbsdport/alldrv.c2
-rw-r--r--bsd_eth_drivers/libbsdport/libbsdport_api.h1
3 files changed, 8 insertions, 0 deletions
diff --git a/bsd_eth_drivers/ChangeLog b/bsd_eth_drivers/ChangeLog
index 2b48187..337dd89 100644
--- a/bsd_eth_drivers/ChangeLog
+++ b/bsd_eth_drivers/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-04 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * libbsdport/alldrv.c, libbsdport/libbsdport_api.h: Add include
+ <stdio.h> for FILE *.
+
2009/05/12 (TS)
- bugfix: bus_write_2() must map to bus_space_write_2 (not 4)
2009/04/22 (TS)
diff --git a/bsd_eth_drivers/libbsdport/alldrv.c b/bsd_eth_drivers/libbsdport/alldrv.c
index cd199fd..45f5bfb 100644
--- a/bsd_eth_drivers/libbsdport/alldrv.c
+++ b/bsd_eth_drivers/libbsdport/alldrv.c
@@ -14,6 +14,7 @@ driver_t *libbsdport_netdriver_table_all[] = {
driver_t libbsdport_null_driver = {0};
+#if 0
extern driver_t libbsdport_em_driver
__attribute__((weak,alias("libbsdport_null_driver")));
extern driver_t libbsdport_pcn_driver
@@ -26,6 +27,7 @@ extern driver_t libbsdport_bge_driver
__attribute__((weak,alias("libbsdport_null_driver")));
extern driver_t libbsdport_re_driver
__attribute__((weak,alias("libbsdport_null_driver")));
+#endif
/* weak alias defaults to a table that includes
diff --git a/bsd_eth_drivers/libbsdport/libbsdport_api.h b/bsd_eth_drivers/libbsdport/libbsdport_api.h
index 2dae664..fddfe15 100644
--- a/bsd_eth_drivers/libbsdport/libbsdport_api.h
+++ b/bsd_eth_drivers/libbsdport/libbsdport_api.h
@@ -3,6 +3,7 @@
#include <rtems.h>
#include <rtems/rtems_bsdnet.h>
+#include <stdio.h>
/* $Id$ */