| plan 9 kernel history: overview | file list | diff list |
1999/0415/alphapc/floppy.h (diff list | history)
| 1999/0415/sys/src/9/alphapc/floppy.h:136,141 – 2000/0401/sys/src/9/alphapc/floppy.h:136,148 (short | long) | ||
| 1999/0415 | void floppysetup0(FController *fl) { | |
| 2000/0401 | fl->ndrive = 0; if(ioalloc(Psra, 6, 0, "floppy") < 0) return; if(ioalloc(Pdir, 1, 0, "floppy") < 0){ iofree(Psra); return; } | |
| 1999/0415 | fl->ndrive = 1; } | |
| 1999/0415/sys/src/9/alphapc/floppy.h:151,157 – 2000/0401/sys/src/9/alphapc/floppy.h:158,164 | ||
| 1999/0415 | floppysetdef(&fl->d[1]); } | |
| 2000/0401 | intrenable(IrqFLOPPY, pcfloppyintr, fl, BUSUNKNOWN, "floppy"); | |
| 1999/0415 | } /* | |
| 2000/0401/sys/src/9/alphapc/floppy.h:3,9 – 2001/1122/sys/src/9/alphapc/floppy.h:3,9 (short | long) | ||
| 1999/0415 | typedef struct FType FType; static void floppyintr(Ureg*); | |
| 2001/1122 | static int floppyon(FDrive*); | |
| 1999/0415 | static void floppyoff(FDrive*); static void floppysetdef(FDrive*); | |
| 2000/0401/sys/src/9/alphapc/floppy.h:20,25 – 2001/1122/sys/src/9/alphapc/floppy.h:20,26 | ||
| 1999/0415 | int cyl; /* current arm position */ int confused; /* needs to be recalibrated */ int vers; | |
| 2001/1122 | int maxtries; /* max read attempts before Eio */ | |
| 1999/0415 | int tcyl; /* target cylinder */ int thead; /* target head */ | |