summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/dmv177
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-01-26 01:48:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-01-26 01:48:58 +0000
commit39c972331d14952fd3dc69f9f61db11d043c182c (patch)
tree5a4adce363786778a9df38d67d25633e85ccf2f7 /c/src/lib/libbsp/powerpc/dmv177
parent03598b162e66b6f3df8d9ed55ac18865c5ad2a22 (diff)
downloadrtems-39c972331d14952fd3dc69f9f61db11d043c182c.tar.bz2
Added prototype information about the SONIC driver.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/dmv177')
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/include/bsp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h b/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h
index f99211f8d3..34d15e59df 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/dmv177/include/bsp.h
@@ -45,6 +45,15 @@ extern "C" {
#endif
/*
+ * Network driver configuration
+ */
+struct rtems_bsdnet_ifconfig;
+extern int rtems_sonic_driver_attach (struct rtems_bsdnet_ifconfig *config);
+#define RTEMS_BSP_NETWORK_DRIVER_NAME "sonic1"
+#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_sonic_driver_attach
+
+
+/*
* The following macro calculates the Baud constant. For the Z8530 chip.
*/
#define Z8530_Baud( _frequency, _clock_by, _baud_rate ) \