| plan 9 kernel history: overview | file list | diff list |
1993/1118/pc/etherif.h (diff list | history)
| 1993/1116/sys/src/9/pc/etherif.h:28,38 – 1993/1118/sys/src/9/pc/etherif.h:28,46 (short | long | prev | next) | ||
|
Add dp8390 functions and Dp8390.busy.
rsc Fri Mar 4 12:44:25 2005 | ||
| 1993/1116 | ulong dp8390; /* I/O address of 8390 */ ulong data; /* I/O data port if no shared memory */ | |
| 1993/1118 | uchar nxtpkt; /* receive: software bndry */ uchar busy; /* transmit: busy */ | |
| 1993/1116 | uchar tstart; /* 8390 ring addresses */ uchar pstart; uchar pstop; } Dp8390; | |
| 1993/1118 | #define Dp8390BufSz 256 extern int dp8390reset(Ether*); extern void dp8390getea(Ether*); extern void dp8390setea(Ether*); | |
| 1993/1116 | ||
| 1993/1113 | #define NEXT(x, l) (((x)+1)%(l)) #define HOWMANY(x, y) (((x)+((y)-1))/(y)) | |