summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide_acer_reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/pciide_acer_reg.h')
-rw-r--r--sys/dev/pci/pciide_acer_reg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide_acer_reg.h b/sys/dev/pci/pciide_acer_reg.h
index 97733161123..70ba369030a 100644
--- a/sys/dev/pci/pciide_acer_reg.h
+++ b/sys/dev/pci/pciide_acer_reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide_acer_reg.h,v 1.1 1999/07/18 21:25:19 csapuntz Exp $ */
+/* $OpenBSD: pciide_acer_reg.h,v 1.2 1999/10/04 22:54:18 deraadt Exp $ */
/* $NetBSD: pciide_acer_reg.h,v 1.1 1999/02/02 16:13:59 bouyer Exp $ */
/*
@@ -70,6 +70,11 @@
/* drives timings setup (1 byte) */
#define ACER_IDETIM(chan, drv) (0x5a + (drv) + (chan) * 4)
+/* IRQ and drive select status */
+#define ACER_CHIDS 0x75
+#define ACER_CHIDS_DRV(channel) ((0x4) << (channel))
+#define ACER_CHIDS_INT(channel) ((0x1) << (channel))
+
/*
* IDE bus frequency (1 byte)
* This should be setup by the BIOS - can we rely on this ?