summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/fdcreg.h
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2000-01-09 10:01:21 +0000
committernyan <nyan@FreeBSD.org>2000-01-09 10:01:21 +0000
commit59e22203a1d9954c5d480f93a9479cb0d9172d7e (patch)
tree06edb66c1527401634ec880142023660299443c3 /sys/pc98/cbus/fdcreg.h
parenta3a13cc929296d71d28fa74ade75988de308d684 (diff)
downloadFreeBSD-src-59e22203a1d9954c5d480f93a9479cb0d9172d7e.zip
FreeBSD-src-59e22203a1d9954c5d480f93a9479cb0d9172d7e.tar.gz
Merge from sys/isa/fd.c revision from 1.171 to 1.176 and sys/isa/fdreg.h
revision 1.13. Forgotten by: kato
Diffstat (limited to 'sys/pc98/cbus/fdcreg.h')
-rw-r--r--sys/pc98/cbus/fdcreg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/pc98/cbus/fdcreg.h b/sys/pc98/cbus/fdcreg.h
index ae95cf2..1a8d2b0 100644
--- a/sys/pc98/cbus/fdcreg.h
+++ b/sys/pc98/cbus/fdcreg.h
@@ -89,7 +89,14 @@
# define FDC_125KBPS 0x03 /* 125KBPS FM drive transfer rate */
/* for some controllers 1MPBS instead */
#endif /* FDC_500KBPS */
+#endif /* PC98 */
+/*
+ * this is the secret PIO data port (offset from base)
+ */
+#define FDC_YE_DATAPORT 6
+
+#ifndef PC98
#define FDIN 7 /* Digital Input Register (R) */
#define FDI_DCHG 0x80 /* diskette has been changed */
/* requires drive and motor being selected */
OpenPOWER on IntegriCloud