summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/network/cs8900.h.bsp
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2004-03-14 01:28:34 +0000
committerChris Johns <chrisj@rtems.org>2004-03-14 01:28:34 +0000
commit528da1cb9f300fb0b685c91e06b18b817d6f7093 (patch)
tree10face68ded75215248d7dddef3975c820d9e2de /c/src/libchip/network/cs8900.h.bsp
parentChanges made to support the DIMMPC. This is a pc396 target with IO port (diff)
downloadrtems-528da1cb9f300fb0b685c91e06b18b817d6f7093.tar.bz2
Updated the BSP example code.
Diffstat (limited to '')
-rw-r--r--c/src/libchip/network/cs8900.h.bsp41
1 files changed, 41 insertions, 0 deletions
diff --git a/c/src/libchip/network/cs8900.h.bsp b/c/src/libchip/network/cs8900.h.bsp
new file mode 100644
index 0000000000..a0792fdf97
--- /dev/null
+++ b/c/src/libchip/network/cs8900.h.bsp
@@ -0,0 +1,41 @@
+/*
+ * $Id$
+ *
+ * RTEMS CS8900 Driver Setup for the DIMM-PC/i386 made by Kontron.
+ *
+ * Port to the DIMM PC copyright (c) 2004 Angelo Fraietta
+ * This project has been assisted by the Commonwealth Government
+ * through the Australia Council, its arts funding and advisory body.
+ *
+ * Port performed by Chris Johns, Cybertec Pty Ltd, Jan 2004.
+ * Based on the Cybertec CS8900 driver setup for the SFP-101.
+ *
+ */
+
+#if !defined (__BSP_CS8900_H__)
+#define __BSP_CS8900_H__
+
+/**
+ * BSP CS8900 Device initialisation and interface attach.
+ *
+ * @param io_base The I/O base address of the device.
+ *
+ * @param mem_base The memory base address. Currently not used.
+ *
+ * @param intrp The ISA bus IRQ. These are currently limited to
+ * 5, 10, 11, and 12 as documented in the CS8900
+ * manual.
+ *
+ * @param ip IP address in ASCII. For example 10.10.10.10. If the
+ * pointer is a NULL (0) the interface will BOOTP.
+ *
+ * @param nm Network Mask in ASCII. For example 10.10.10.255.
+ *
+ * @param gw Address of the gateway machine. For example
+ * 10.10.10.1.
+ */
+
+void BSP_cs8900_attach (unsigned long io_base, unsigned long mem_base, int intrp,
+ const char* ip, const char* nm, const char* gw);
+
+#endif