aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdc/fdcreg.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2000-01-06 07:13:54 +0000
committerWarner Losh <imp@FreeBSD.org>2000-01-06 07:13:54 +0000
commit3b1782065f5fc9414f494f6c6ccab5287dcb4388 (patch)
treee227fe2d9b004fd834fa3f5cfebf6d23a87fd1da /sys/dev/fdc/fdcreg.h
parent01f1e15e442ea226c58a43a2289cc77adc1e3aaa (diff)
downloadsrc-3b1782065f5fc9414f494f6c6ccab5287dcb4388.tar.gz
src-3b1782065f5fc9414f494f6c6ccab5287dcb4388.zip
Merge most of FDC_YE into the mainline driver.
o Rename FDC_PCMCIA to FDC_NODMA to allow systems that don't have dma for floppies. o Remove all but two FDC_YE ifdefs. They aren't needed. o Move defines for YE_DATAPORT to fdreg.h. Not fixed: o The pccard probe/attach. However, motivated individuals can more easily add this now. This is a merge of changes I've had in my tree for a long time. These fixes were tested on my VAIO with its normal floppy. Please let me know if I broke anything. Prodded by: Peter Wemm <peter@freebsd.org>
Notes
Notes: svn path=/head/; revision=55498
Diffstat (limited to 'sys/dev/fdc/fdcreg.h')
-rw-r--r--sys/dev/fdc/fdcreg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/fdc/fdcreg.h b/sys/dev/fdc/fdcreg.h
index 4d01c4121cea..f0b8eebbdb68 100644
--- a/sys/dev/fdc/fdcreg.h
+++ b/sys/dev/fdc/fdcreg.h
@@ -63,6 +63,11 @@
/* for some controllers 1MPBS instead */
#endif /* FDC_500KBPS */
+/*
+ * this is the secret PIO data port (offset from base)
+ */
+#define FDC_YE_DATAPORT 6
+
#define FDIN 7 /* Digital Input Register (R) */
#define FDI_DCHG 0x80 /* diskette has been changed */
/* requires drive and motor being selected */