diff options
author | joerg <joerg@FreeBSD.org> | 1994-09-25 18:41:21 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1994-09-25 18:41:21 +0000 |
commit | 6af51c66ed21005d0b84015b1d68632698710cfd (patch) | |
tree | d3dd90bdd12f00abffaf7bf7be8901a1c13b74f7 /sys/i386/include/ioctl_fd.h | |
parent | 6f303e99351daee1b39170a6bd59677992df1da8 (diff) | |
download | FreeBSD-src-6af51c66ed21005d0b84015b1d68632698710cfd.zip FreeBSD-src-6af51c66ed21005d0b84015b1d68632698710cfd.tar.gz |
Copied over the transfer speed definitions from sys/i386/isa/fdreg.h.
This is needed for having the fdformat program no longer searching
non-public include paths.
Diffstat (limited to 'sys/i386/include/ioctl_fd.h')
-rw-r--r-- | sys/i386/include/ioctl_fd.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/i386/include/ioctl_fd.h b/sys/i386/include/ioctl_fd.h index f3bf953..f5a5d6a 100644 --- a/sys/i386/include/ioctl_fd.h +++ b/sys/i386/include/ioctl_fd.h @@ -24,7 +24,7 @@ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * DAMAGE. * - * $Id$ + * $Id: ioctl_fd.h,v 1.5 1994/09/17 16:55:59 davidg Exp $ */ #ifndef _IOCTL_FD_H @@ -104,4 +104,18 @@ struct fd_type { #define FDOPT_NORETRY 0x0001 /* no retries on failure (cleared on close) */ +/* + * The following definitions duplicate those in sys/i386/isa/fdreg.h + * They are here since their values are to be used in the above + * structure when formatting a floppy. For very obvious reasons, both + * definitions must match ;-) + */ +#ifndef FDC_500KBPS +#define FDC_500KBPS 0x00 /* 500KBPS MFM drive transfer rate */ +#define FDC_300KBPS 0x01 /* 300KBPS MFM drive transfer rate */ +#define FDC_250KBPS 0x02 /* 250KBPS MFM drive transfer rate */ +#define FDC_125KBPS 0x03 /* 125KBPS FM drive transfer rate */ + /* for some controllers 1MPBS instead */ +#endif /* FDC_500KBPS */ + #endif /* !def _IOCTL_FD_H */ |