| plan 9 kernel history: overview | file list | diff list |
1993/1116/pc/etherif.h (diff list | history)
| 1993/1113/sys/src/9/pc/etherif.h:22,27 – 1993/1116/sys/src/9/pc/etherif.h:22,39 (short | long | prev | next) | ||
|
Add Dp8390.
rsc Fri Mar 4 12:44:25 2005 | ||
| 1993/1113 | Netif; }; | |
| 1993/1116 | typedef struct { uchar bit16; /* true if a 16 bit interface */ uchar ram; /* true if card has shared memory */ ulong dp8390; /* I/O address of 8390 */ ulong data; /* I/O data port if no shared memory */ uchar nxtpkt; /* software bndry */ uchar tstart; /* 8390 ring addresses */ uchar pstart; uchar pstop; } Dp8390; | |
| 1993/1113 | #define NEXT(x, l) (((x)+1)%(l)) #define HOWMANY(x, y) (((x)+((y)-1))/(y)) #define ROUNDUP(x, y) (HOWMANY((x), (y))*(y)) | |