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. Protect the definitions in fdreg.h against double inclusion.
This commit is contained in:
parent
6af51c66ed
commit
4e6658ed0d
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)fdreg.h 7.1 (Berkeley) 5/9/91
|
||||
* $Id: fdreg.h,v 1.5 1994/08/13 03:49:58 wollman Exp $
|
||||
* $Id: fdreg.h,v 1.6 1994/09/17 16:56:08 davidg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -54,12 +54,14 @@
|
||||
#define FDSTS 4 /* NEC 765 Main Status Register (R) */
|
||||
#define FDDATA 5 /* NEC 765 Data Register (R/W) */
|
||||
|
||||
#ifndef FDC_500KBPS
|
||||
#define FDCTL 7 /* Control Register (W) */
|
||||
#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 */
|
||||
|
||||
#define FDIN 7 /* Digital Input Register (R) */
|
||||
#define FDI_DCHG 0x80 /* diskette has been changed */
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)fdreg.h 7.1 (Berkeley) 5/9/91
|
||||
* $Id: fdreg.h,v 1.5 1994/08/13 03:49:58 wollman Exp $
|
||||
* $Id: fdreg.h,v 1.6 1994/09/17 16:56:08 davidg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -54,12 +54,14 @@
|
||||
#define FDSTS 4 /* NEC 765 Main Status Register (R) */
|
||||
#define FDDATA 5 /* NEC 765 Data Register (R/W) */
|
||||
|
||||
#ifndef FDC_500KBPS
|
||||
#define FDCTL 7 /* Control Register (W) */
|
||||
#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 */
|
||||
|
||||
#define FDIN 7 /* Digital Input Register (R) */
|
||||
#define FDI_DCHG 0x80 /* diskette has been changed */
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)fdreg.h 7.1 (Berkeley) 5/9/91
|
||||
* $Id: fdreg.h,v 1.5 1994/08/13 03:49:58 wollman Exp $
|
||||
* $Id: fdreg.h,v 1.6 1994/09/17 16:56:08 davidg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -54,12 +54,14 @@
|
||||
#define FDSTS 4 /* NEC 765 Main Status Register (R) */
|
||||
#define FDDATA 5 /* NEC 765 Data Register (R/W) */
|
||||
|
||||
#ifndef FDC_500KBPS
|
||||
#define FDCTL 7 /* Control Register (W) */
|
||||
#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 */
|
||||
|
||||
#define FDIN 7 /* Digital Input Register (R) */
|
||||
#define FDI_DCHG 0x80 /* diskette has been changed */
|
||||
|
Loading…
Reference in New Issue
Block a user