The CS8900 driver is documented in the cs8900.h header file.

This commit is contained in:
Chris Johns
2004-03-14 01:26:07 +00:00
parent 6a54d6f1fa
commit 27192b8981
+2 -17
View File
@@ -8,7 +8,7 @@ Target Support
The target is required to provide the low level support routines as
listed in the Configuration section of this file.
The file cs8900.c.bsp is an example BSP file for a Coldfire processor.
The file cs8900.[ch].bsp are an example BSP files for DIMMPC target.
Conditionals
============
@@ -24,22 +24,7 @@ Todo
+ Document conditionals.
+ Document each of the user supplied functions.
+ PC386 BSP wrapper for this.
Configuration
=============
The BSP provides these routines:
void cs8900_attach_interrupt (int dev, cs8900_device *cs);
void cs8900_detach_interrupt (int dev);
void cs8900_get_mac_addr (int dev, unsigned char *mac_address);
void cs8900_io_set_reg (int dev, unsigned short reg, unsigned short data);
unsigned short cs8900_io_get_reg (int dev, unsigned short reg);
void cs8900_mem_set_reg (int dev, unsigned long reg, unsigned short data);
unsigned short cs8900_mem_get_reg (int dev, unsigned long reg);
void cs8900_put_data_block (int dev, int len, unsigned char *data);
unsigned short cs8900_get_data_block (int dev, unsigned char *data);
void cs8900_tx_load (int dev, struct mbuf *m);
See the cs8900.h header file for the documentation.