Merged from sys/isa/{fd.c,fdreg.h} revisions 1.222 and 1.15, respectively.
This commit is contained in:
parent
94896f7b05
commit
26f891b327
File diff suppressed because it is too large
Load Diff
@ -74,14 +74,11 @@
|
|||||||
#define FDCTL 7 /* Control Register (W) */
|
#define FDCTL 7 /* Control Register (W) */
|
||||||
#endif /* PC98 */
|
#endif /* PC98 */
|
||||||
|
|
||||||
#ifndef FDC_500KBPS
|
/*
|
||||||
# define FDC_500KBPS 0x00 /* 500KBPS MFM drive transfer rate */
|
* The definitions for FDC_500KBPS etc. have been moved out to <sys/fdcio.h>
|
||||||
# define FDC_300KBPS 0x01 /* 300KBPS MFM drive transfer rate */
|
* since they need to be visible in userland. They cover the lower two bits
|
||||||
# define FDC_250KBPS 0x02 /* 250KBPS MFM drive transfer rate */
|
* of FDCTL when used for output.
|
||||||
# define FDC_125KBPS 0x03 /* 125KBPS FM drive transfer rate */
|
*/
|
||||||
/* for some controllers 1MPBS instead */
|
|
||||||
#endif /* FDC_500KBPS */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* this is the secret PIO data port (offset from base)
|
* this is the secret PIO data port (offset from base)
|
||||||
*/
|
*/
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -74,14 +74,11 @@
|
|||||||
#define FDCTL 7 /* Control Register (W) */
|
#define FDCTL 7 /* Control Register (W) */
|
||||||
#endif /* PC98 */
|
#endif /* PC98 */
|
||||||
|
|
||||||
#ifndef FDC_500KBPS
|
/*
|
||||||
# define FDC_500KBPS 0x00 /* 500KBPS MFM drive transfer rate */
|
* The definitions for FDC_500KBPS etc. have been moved out to <sys/fdcio.h>
|
||||||
# define FDC_300KBPS 0x01 /* 300KBPS MFM drive transfer rate */
|
* since they need to be visible in userland. They cover the lower two bits
|
||||||
# define FDC_250KBPS 0x02 /* 250KBPS MFM drive transfer rate */
|
* of FDCTL when used for output.
|
||||||
# define FDC_125KBPS 0x03 /* 125KBPS FM drive transfer rate */
|
*/
|
||||||
/* for some controllers 1MPBS instead */
|
|
||||||
#endif /* FDC_500KBPS */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* this is the secret PIO data port (offset from base)
|
* this is the secret PIO data port (offset from base)
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user