4.104.114.84.95
Last change
on this file since 8730f45 was
a2117cd6,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/07/02 at 23:09:47
|
2002-09-07 Chris Johns <ccj@…>
- network/Makefile.am, network/README.cs8900, network/cs8900.c,
network/cs8900.h: Significant update which corrects the problem
where the cs8900.c file was actually the BSP glue. Joel did
some hacking so this file will compile. Previously it required
providing a target.h file to compile.
- network/cs8900.c.bsp: New file.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | Target Support |
---|
6 | ============== |
---|
7 | |
---|
8 | The target is required to provide the low level support routines as |
---|
9 | listed in the Configuration section of this file. |
---|
10 | |
---|
11 | The file cs8900.c.bsp is an example BSP file for a Coldfire processor. |
---|
12 | |
---|
13 | Conditionals |
---|
14 | ============ |
---|
15 | CS8900_DATA_BUS_SWAPPED - XXX |
---|
16 | |
---|
17 | CS8900_TRACE - XXX |
---|
18 | |
---|
19 | CS8900_VERBOSE - XXX |
---|
20 | |
---|
21 | Todo |
---|
22 | ==== |
---|
23 | + Build two versions -- one with swapped, one without. |
---|
24 | |
---|
25 | + Document conditionals. |
---|
26 | |
---|
27 | + Document each of the user supplied functions. |
---|
28 | |
---|
29 | + PC386 BSP wrapper for this. |
---|
30 | |
---|
31 | Configuration |
---|
32 | ============= |
---|
33 | The BSP provides these routines: |
---|
34 | |
---|
35 | void cs8900_attach_interrupt (int dev, cs8900_device *cs); |
---|
36 | void cs8900_detach_interrupt (int dev); |
---|
37 | void cs8900_get_mac_addr (int dev, unsigned char *mac_address); |
---|
38 | void cs8900_io_set_reg (int dev, unsigned short reg, unsigned short data); |
---|
39 | unsigned short cs8900_io_get_reg (int dev, unsigned short reg); |
---|
40 | void cs8900_mem_set_reg (int dev, unsigned long reg, unsigned short data); |
---|
41 | unsigned short cs8900_mem_get_reg (int dev, unsigned long reg); |
---|
42 | void cs8900_put_data_block (int dev, int len, unsigned char *data); |
---|
43 | unsigned short cs8900_get_data_block (int dev, unsigned char *data); |
---|
44 | void cs8900_tx_load (int dev, struct mbuf *m); |
---|
45 | |
---|
Note: See
TracBrowser
for help on using the repository browser.