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.
This commit is contained in:
Joerg Wunsch 1994-09-25 18:41:21 +00:00
parent 8bdba3f880
commit 011b09f93f
2 changed files with 30 additions and 2 deletions

View File

@ -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 */

View File

@ -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 */