4.104.115
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * RTEMS CS8900 Driver Setup for the DIMM-PC/i386 made by Kontron. |
---|
5 | * |
---|
6 | * Port to the DIMM PC copyright (c) 2004 Angelo Fraietta |
---|
7 | * This project has been assisted by the Commonwealth Government |
---|
8 | * through the Australia Council, its arts funding and advisory body. |
---|
9 | * |
---|
10 | * Port performed by Chris Johns, Cybertec Pty Ltd, Jan 2004. |
---|
11 | * Based on the Cybertec CS8900 driver setup for the SFP-101. |
---|
12 | * |
---|
13 | */ |
---|
14 | |
---|
15 | #if !defined (__BSP_CS8900_H__) |
---|
16 | #define __BSP_CS8900_H__ |
---|
17 | |
---|
18 | /** |
---|
19 | * BSP CS8900 Device initialisation and interface attach. |
---|
20 | * |
---|
21 | * @param io_base The I/O base address of the device. |
---|
22 | * |
---|
23 | * @param mem_base The memory base address. Currently not used. |
---|
24 | * |
---|
25 | * @param intrp The ISA bus IRQ. These are currently limited to |
---|
26 | * 5, 10, 11, and 12 as documented in the CS8900 |
---|
27 | * manual. |
---|
28 | * |
---|
29 | * @param ip IP address in ASCII. For example 10.10.10.10. If the |
---|
30 | * pointer is a NULL (0) the interface will BOOTP. |
---|
31 | * |
---|
32 | * @param nm Network Mask in ASCII. For example 10.10.10.255. |
---|
33 | * |
---|
34 | * @param gw Address of the gateway machine. For example |
---|
35 | * 10.10.10.1. |
---|
36 | */ |
---|
37 | |
---|
38 | void BSP_cs8900_attach (unsigned long io_base, unsigned long mem_base, int intrp, |
---|
39 | const char* ip, const char* nm, const char* gw); |
---|
40 | |
---|
41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.