OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [libchip/] [network/] [README.cs8900] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
#
2
#  README.cs8900,v 1.1 2000/11/03 15:19:05 joel Exp
3
#
4
 
5
Conditionals
6
============
7
CS8900_DATA_BUS_SWAPPED - XXX
8
 
9
CS8900_TRACE - XXX
10
 
11
CS8900_VERBOSE - XXX
12
 
13
Todo
14
====
15
+ Build two versions -- one with swapped, one without.
16
 
17
+ Document conditionals.
18
 
19
+ Document each of the user supplied functions.
20
 
21
+ PC386 BSP wrapper for this.
22
 
23
Configuration
24
=============
25
The BSP provides these routines:
26
 
27
void cs8900_attach_interrupt (int dev, cs8900_device *cs);
28
void cs8900_detach_interrupt (int dev);
29
void cs8900_get_mac_addr (int dev, unsigned char *mac_address);
30
void cs8900_io_set_reg (int dev, unsigned short reg, unsigned short data);
31
unsigned short cs8900_io_get_reg (int dev, unsigned short reg);
32
void cs8900_mem_set_reg (int dev, unsigned long reg, unsigned short data);
33
unsigned short cs8900_mem_get_reg (int dev, unsigned long reg);
34
void cs8900_put_data_block (int dev, int len, unsigned char *data);
35
unsigned short cs8900_get_data_block (int dev, unsigned char *data);
36
void cs8900_tx_load (int dev, struct mbuf *m);
37
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.