summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide_cmd_reg.h
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-03-25 13:11:59 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-03-25 13:11:59 +0000
commite062b2ded8bea4b44e6b5782a79fabbebb2eb929 (patch)
tree2b254b38691ca1d18309eaf5b10ebcde5eb617ac /sys/dev/pci/pciide_cmd_reg.h
parentf8ee0399c6e8a97e07e33bfdd2cf4ed7bd611704 (diff)
Minor mods to DMA interface - get rid of unnecessary args. Allow DMA functions to return status flags.
Note: Changing code to have DMA interface indicate when I/O is done (a la NetBSD) was considered. It was rejected due to questionable backward compatability with ISA DMA and MAC obio DMA Added irqack from NetBSD (though this feature should really be in the PCI interrupt handlers) Use pool
Diffstat (limited to 'sys/dev/pci/pciide_cmd_reg.h')
-rw-r--r--sys/dev/pci/pciide_cmd_reg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide_cmd_reg.h b/sys/dev/pci/pciide_cmd_reg.h
index 62410cbeba3..526c1f0e31d 100644
--- a/sys/dev/pci/pciide_cmd_reg.h
+++ b/sys/dev/pci/pciide_cmd_reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide_cmd_reg.h,v 1.3 2000/06/26 17:51:17 chris Exp $ */
+/* $OpenBSD: pciide_cmd_reg.h,v 1.4 2001/03/25 13:11:55 csapuntz Exp $ */
/* $NetBSD: pciide_cmd_reg.h,v 1.7 2000/06/26 10:07:52 bouyer Exp $ */
/*
@@ -38,6 +38,10 @@
* Available from http://www.cmd.com/
*/
+/* Interesting revision of the 0646 */
+#define CMD0646U2_REV 0x05
+#define CMD0646U_REV 0x03
+
/* Configuration (RO) */
#define CMD_CONF 0x50
#define CMD_CONF_REV_MASK 0x03 /* 0640/3/6 only */