| plan 9 kernel history: overview | file list | diff list |
1991/0906/pc/devfloppy.c (diff list | history)
| 1991/0902/sys/src/9/pc/devfloppy.c:700,710 – 1991/0906/sys/src/9/pc/devfloppy.c:700,707 (short | long | prev | next) | ||
| 1991/0731 | static long | |
| 1991/0802 | floppyxfer(Drive *dp, int cmd, void *a, long off, long n) | |
| 1991/0727 | { | |
| 1991/0731 | qlock(&floppy); qlock(dp); | |
| 1991/0802 | if(waserror()){ | |
| 1991/0902/sys/src/9/pc/devfloppy.c:728,735 – 1991/0906/sys/src/9/pc/devfloppy.c:725,733 | ||
| 1991/0731 | if(floppyseek(dp) < 0) errors("seeking floppy"); | |
| 1991/0727 | ||
| 1991/0906 | ||
| 1991/0823 | /*print("tcyl %d, thead %d, tsec %d, addr %lux, n %d\n", | |
| 1991/0727 |
| |
| 1991/0906 | dp->tcyl, dp->thead, dp->tsec, a, n);/**/ | |
| 1991/0727 | /* | |
| 1991/0731 | * set up the dma (dp->len may be trimmed) | |