From 074edecdbd1b54910669b2f8c5c0131ffb437b5c Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 6 Jan 2000 07:13:54 +0000 Subject: 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 --- sys/isa/fdreg.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/isa/fdreg.h') 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 */ -- cgit v1.1