summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-06 13:02:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-06 13:02:51 +0000
commitdc6763c88f3597903ee989799095f5b0b639c42e (patch)
tree6d2c1ac3ef72f5f6e1661f258640de452bea633c
parentLarge patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> which (diff)
downloadrtems-dc6763c88f3597903ee989799095f5b0b639c42e.tar.bz2
Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add networking
information to this file to be more like the gen68360.
-rw-r--r--c/src/lib/libbsp/i386/pc386/include/bsp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/include/bsp.h b/c/src/lib/libbsp/i386/pc386/include/bsp.h
index f18bdb375d..fde80f9711 100644
--- a/c/src/lib/libbsp/i386/pc386/include/bsp.h
+++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h
@@ -54,6 +54,16 @@ extern "C" {
#include <libcpu/cpu.h>
#include <bspIo.h>
+/*
+ * Network driver configuration
+ */
+
+struct rtems_bsdnet_ifconfig;
+extern int rtems_wd_driver_attach (struct rtems_bsdnet_ifconfig *config);
+
+#define RTEMS_BSP_NETWORK_DRIVER_NAME "wd1"
+#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_wd_driver_attach
+
/*-------------------------------------------------------------------------+
| Constants
+--------------------------------------------------------------------------*/