| plan 9 kernel history: overview | file list | diff list |
1998/0319/carrera/devether.c (diff list | history)
| 1997/1210/sys/src/9/carrera/devether.c:65,73 – 1998/0319/sys/src/9/carrera/devether.c:65,74 (short | long | prev | next) | ||
|
Change dev read and write to use vlong offset.
rsc Fri Mar 4 12:44:25 2005 | ||
| 1997/1210 | } | |
| 1993/0904 | ||
| 1997/1210 | static long | |
| 1998/0319 | etherread(Chan* chan, void* buf, long n, vlong off) | |
| 1993/0903 | { | |
| 1997/1210 | Ether *ether; | |
| 1998/0319 | ulong offset = off; | |
| 1993/0903 | ||
| 1997/1210 | ether = etherxx[chan->dev]; if((chan->qid.path & CHDIR) == 0 && ether->dev && ether->dev->ifstat){ | |
| 1997/1210/sys/src/9/carrera/devether.c:231,237 – 1998/0319/sys/src/9/carrera/devether.c:232,238 | ||
| 1993/0903 | } | |
| 1997/1210 | static long | |
| 1998/0319 | etherwrite(Chan* chan, void* buf, long n, vlong) | |
| 1993/0903 | { | |
| 1997/1210 | Ether *ether; Block *bp; | |