source: rtems/c/src/libchip/network/README.cs8900 @ a2117cd6

4.104.114.84.95
Last change on this file since a2117cd6 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
5Target Support
6==============
7
8The target is required to provide the low level support routines as
9listed in the Configuration section of this file.
10
11The file cs8900.c.bsp is an example BSP file for a Coldfire processor.
12
13Conditionals
14============
15CS8900_DATA_BUS_SWAPPED - XXX
16
17CS8900_TRACE - XXX
18
19CS8900_VERBOSE - XXX
20
21Todo
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
31Configuration
32=============
33The BSP provides these routines:
34
35void cs8900_attach_interrupt (int dev, cs8900_device *cs);
36void cs8900_detach_interrupt (int dev);
37void cs8900_get_mac_addr (int dev, unsigned char *mac_address);
38void cs8900_io_set_reg (int dev, unsigned short reg, unsigned short data);
39unsigned short cs8900_io_get_reg (int dev, unsigned short reg);
40void cs8900_mem_set_reg (int dev, unsigned long reg, unsigned short data);
41unsigned short cs8900_mem_get_reg (int dev, unsigned long reg);
42void cs8900_put_data_block (int dev, int len, unsigned char *data);
43unsigned short cs8900_get_data_block (int dev, unsigned char *data);
44void cs8900_tx_load (int dev, struct mbuf *m);
45
Note: See TracBrowser for help on using the repository browser.