| plan 9 kernel history: overview | file list | diff list |
1997/0327/pc/etherif.h (diff list | history)
| 1996/0622/sys/src/9/pc/etherif.h:7,57 – 1997/0327/sys/src/9/pc/etherif.h:7,29 (short | long | prev | next) | ||
|
In Ether: add ea, replace write with transmit and oq; remove explicit buffers. Add etheriq. Move Dp8390 code to etherdp8390.h XXX.
rsc Fri Mar 4 12:44:25 2005 | ||
| 1993/1113 | struct Ether { ISAConf; /* hardware info */ | |
| 1995/0721 | int ctlrno; | |
| 1997/0327 | int tbdf; /* type+busno+devno+funcno */ | |
| 1996/0601 | int mbps; /* Mbps */ | |
| 1997/0327 | uchar ea[Eaddrlen]; | |
| 1993/1113 | void (*attach)(Ether*); /* filled in by reset routine */ | |
| 1997/0327 | void (*transmit)(Ether*); | |
| 1993/1124 | void (*interrupt)(Ureg*, void*); | |
| 1996/0607 | long (*ifstat)(Ether*, void*, long, ulong); | |
| 1995/0721 | void *ctlr; | |
| 1993/1113 |
| |
| 1997/0327 | Queue* oq; | |
| 1993/1113 |
| |
| 1993/1119 |
| |
| 1993/1113 |
| |
| 1995/0721 |
| |
| 1997/0327 | extern Block* etheriq(Ether*, Block*, int); | |
| 1994/0202 | extern void addethercard(char*, int(*)(Ether*)); | |
| 1993/1116 |
| |
| 1993/1118 |
| |
| 1993/1116 |
| |
| 1993/1118 |
| |
| 1994/0128 |
| |
| 1994/0130 |
| |
| 1993/1116 | ||
| 1993/1113 | #define NEXT(x, l) (((x)+1)%(l)) | |
| 1996/0622 | #define PREV(x, l) (((x) == 0) ? (l)-1: (x)-1) | |