summaryrefslogtreecommitdiffstats
path: root/sys/isa/fdreg.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-01-06 07:13:54 +0000
committerimp <imp@FreeBSD.org>2000-01-06 07:13:54 +0000
commit074edecdbd1b54910669b2f8c5c0131ffb437b5c (patch)
treec5149f8e2f074da99a15432d42b7655e8b0f3cc8 /sys/isa/fdreg.h
parentdc40bd8713bb7a5f402696b647bcba2957a49efa (diff)
downloadFreeBSD-src-074edecdbd1b54910669b2f8c5c0131ffb437b5c.zip
FreeBSD-src-074edecdbd1b54910669b2f8c5c0131ffb437b5c.tar.gz
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>
Diffstat (limited to 'sys/isa/fdreg.h')
-rw-r--r--sys/isa/fdreg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/isa/fdreg.h b/sys/isa/fdreg.h
index 4d01c41..f0b8eeb 100644
--- a/sys/isa/fdreg.h
+++ b/sys/isa/fdreg.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 */
OpenPOWER on IntegriCloud