|
#define | FD_STRETCH 1 |
|
#define | FD_SWAPSIDES 2 |
|
#define | FD_ZEROBASED 4 |
|
#define | FD_SECTBASEMASK 0x3FC |
|
#define | FD_MKSECTBASE(s) (((s) ^ 1) << 2) |
|
#define | FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) |
|
#define | FD_2M 0x4 |
|
#define | FD_SIZECODEMASK 0x38 |
|
#define | FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) |
|
#define | FD_SECTSIZE(floppy) |
|
#define | FD_PERP 0x40 |
|
#define | FDCLRPRM _IO(2, 0x41) |
|
#define | FDSETPRM _IOW(2, 0x42, struct floppy_struct) |
|
#define | FDSETMEDIAPRM FDSETPRM |
|
#define | FDDEFPRM _IOW(2, 0x43, struct floppy_struct) |
|
#define | FDGETPRM _IOR(2, 0x04, struct floppy_struct) |
|
#define | FDDEFMEDIAPRM FDDEFPRM |
|
#define | FDGETMEDIAPRM FDGETPRM |
|
#define | FDMSGON _IO(2,0x45) |
|
#define | FDMSGOFF _IO(2,0x46) |
|
#define | FD_FILL_BYTE 0xF6 /* format fill byte. */ |
|
#define | FDFMTBEG _IO(2,0x47) |
|
#define | FDFMTTRK _IOW(2,0x48, struct format_descr) |
|
#define | FDFMTEND _IO(2,0x49) |
|
#define | FDSETEMSGTRESH _IO(2,0x4a) |
|
#define | FDFLUSH _IO(2,0x4b) |
|
#define | FDSETMAXERRS _IOW(2, 0x4c, struct floppy_max_errors) |
|
#define | FDGETMAXERRS _IOR(2, 0x0e, struct floppy_max_errors) |
|
#define | FDGETDRVTYP _IOR(2, 0x0f, floppy_drive_name) |
|
#define | FTD_MSG 0x10 |
|
#define | FD_BROKEN_DCL 0x20 |
|
#define | FD_DEBUG 0x02 |
|
#define | FD_SILENT_DCL_CLEAR 0x4 |
|
#define | FD_INVERTED_DCL |
|
#define | FDSETDRVPRM _IOW(2, 0x90, struct floppy_drive_params) |
|
#define | FDGETDRVPRM _IOR(2, 0x11, struct floppy_drive_params) |
|
#define | FD_NEED_TWADDLE (1 << FD_NEED_TWADDLE_BIT) |
|
#define | FD_VERIFY (1 << FD_VERIFY_BIT) |
|
#define | FD_DISK_NEWCHANGE (1 << FD_DISK_NEWCHANGE_BIT) |
|
#define | FD_DISK_CHANGED (1 << FD_DISK_CHANGED_BIT) |
|
#define | FD_DISK_WRITABLE (1 << FD_DISK_WRITABLE_BIT) |
|
#define | FDGETDRVSTAT _IOR(2, 0x12, struct floppy_drive_struct) |
|
#define | FDPOLLDRVSTAT _IOR(2, 0x13, struct floppy_drive_struct) |
|
#define | FDRESET _IO(2, 0x54) |
|
#define | FD_DRIVER_VERSION 0x100 |
|
#define | FDGETFDCSTAT _IOR(2, 0x15, struct floppy_fdc_state) |
|
#define | FDWERRORCLR _IO(2, 0x56) |
|
#define | FDWERRORGET _IOR(2, 0x17, struct floppy_write_errors) |
|
#define | FDHAVEBATCHEDRAWCMD |
|
#define | FD_RAW_READ 1 |
|
#define | FD_RAW_WRITE 2 |
|
#define | FD_RAW_NO_MOTOR 4 |
|
#define | FD_RAW_DISK_CHANGE 4 /* out: disk change flag was set */ |
|
#define | FD_RAW_INTR 8 /* wait for an interrupt */ |
|
#define | FD_RAW_SPIN 0x10 /* spin up the disk for this command */ |
|
#define | FD_RAW_NO_MOTOR_AFTER |
|
#define | FD_RAW_NEED_DISK 0x40 /* this command needs a disk to be present */ |
|
#define | FD_RAW_NEED_SEEK 0x80 /* this command uses an implied seek (soft) */ |
|
#define | FD_RAW_MORE 0x100 /* more records follow */ |
|
#define | FD_RAW_STOP_IF_FAILURE 0x200 /* stop if we encounter a failure */ |
|
#define | FD_RAW_STOP_IF_SUCCESS 0x400 /* stop if command successful */ |
|
#define | FD_RAW_SOFTFAILURE |
|
#define | FD_RAW_FAILURE 0x10000 /* command sent to fdc, fdc returned error */ |
|
#define | FD_RAW_HARDFAILURE 0x20000 /* fdc had to be reset, or timed out */ |
|
#define | FDRAWCMD _IO(2, 0x58) |
|
#define | FDTWADDLE _IO(2, 0x59) |
|
#define | FDEJECT _IO(2, 0x5a) |
|