diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 2001-07-19 13:16:54 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 2001-07-19 13:16:54 +0000 |
| commit | 3823a37106660658bf809b6d0b9a598771194857 (patch) | |
| tree | f94aa86520f8058a3d50d82ee33569acaaf069eb /sys/alpha/include | |
| parent | 893742827fc5ac7e77820a325c8a629e2ab73022 (diff) | |
Notes
Diffstat (limited to 'sys/alpha/include')
| -rw-r--r-- | sys/alpha/include/ioctl_fd.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sys/alpha/include/ioctl_fd.h b/sys/alpha/include/ioctl_fd.h index dd6e9d0d944b..25991d53bd8f 100644 --- a/sys/alpha/include/ioctl_fd.h +++ b/sys/alpha/include/ioctl_fd.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1992-1994 by Joerg Wunsch, Dresden + * Copyright (C) 1992-1994,2001 by Joerg Wunsch, Dresden * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -98,6 +98,10 @@ struct fd_type { int f_inter; /* format interleave factor */ }; +struct fdc_status { + u_int status[7]; +}; + #define FD_FORM _IOW('F', 61, struct fd_formb) /* format a track */ #define FD_GTYPE _IOR('F', 62, struct fd_type) /* get drive type */ #define FD_STYPE _IOW('F', 63, struct fd_type) /* set drive type */ @@ -107,7 +111,15 @@ struct fd_type { #define FD_DEBUG _IOW('F', 66, int) -#define FDOPT_NORETRY 0x0001 /* no retries on failure (cleared on close) */ +/* + * Obtain NE765 status registers. Only successful if there is + * a valid status stored in fdc->status[]. + */ +#define FD_GSTAT _IOR('F', 68, struct fdc_status) + +/* Options for FD_GOPTS/FD_SOPTS, cleared on device close */ +#define FDOPT_NORETRY 0x0001 /* no retries on failure */ +#define FDOPT_NOERRLOG 0x002 /* no "hard error" kernel log messages */ /* * The following definitions duplicate those in sys/i386/isa/fdreg.h |
