summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/wdreg.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-04-13 20:22:34 +0000
committerpeter <peter@FreeBSD.org>1999-04-13 20:22:34 +0000
commitf9d40bf2df8300ce823dcffca1147560d58bc4ab (patch)
treeb54506928d570f6673a52871c24ffc636a56f6c7 /sys/i386/isa/wdreg.h
parent7d0299e0a54d7a75324ab8c53af872c54a8cb175 (diff)
downloadFreeBSD-src-f9d40bf2df8300ce823dcffca1147560d58bc4ab.zip
FreeBSD-src-f9d40bf2df8300ce823dcffca1147560d58bc4ab.tar.gz
Build the functionality of the wdc_p hack into the ide_pci.c code.
All it did was match a specific device ID and turn on a quirk for the wdc driver. Incidently, at line 1462 there is a return that prevents the generic ide_pci code from trying to look at the device. I'd be interested to know if we can take out the return and let the generic code "see" it. I've left the return in because that's the way it worked before. (Be sure to rerun config after cvsup or you'll get undefined files!)
Diffstat (limited to 'sys/i386/isa/wdreg.h')
-rw-r--r--sys/i386/isa/wdreg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/isa/wdreg.h b/sys/i386/isa/wdreg.h
index 88a0fec..6885d8b 100644
--- a/sys/i386/isa/wdreg.h
+++ b/sys/i386/isa/wdreg.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wdreg.h 7.1 (Berkeley) 5/9/91
- * $Id: wdreg.h,v 1.24 1999/01/12 01:04:38 eivind Exp $
+ * $Id: wdreg.h,v 1.25 1999/01/17 05:46:24 bde Exp $
*/
/*
@@ -310,6 +310,9 @@ struct wddma {
#define WDDMA_UDMA1 0x41
#define WDDMA_UDMA2 0x42
+#define Q_CMD640B 0x00000001 /* CMD640B quirk: serialize IDE channels */
+void wdc_pci(int quirks);
+
extern struct wddma wddma[];
void wdintr __P((void *unit));
OpenPOWER on IntegriCloud