aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98/pc98/fdreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98/pc98/fdreg.h')
-rw-r--r--sys/pc98/pc98/fdreg.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/pc98/pc98/fdreg.h b/sys/pc98/pc98/fdreg.h
index 4ec923e57865..e1841c9b384a 100644
--- a/sys/pc98/pc98/fdreg.h
+++ b/sys/pc98/pc98/fdreg.h
@@ -74,14 +74,11 @@
#define FDCTL 7 /* Control Register (W) */
#endif /* PC98 */
-#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 */
-
+/*
+ * The definitions for FDC_500KBPS etc. have been moved out to <sys/fdcio.h>
+ * since they need to be visible in userland. They cover the lower two bits
+ * of FDCTL when used for output.
+ */
/*
* this is the secret PIO data port (offset from base)
*/