summaryrefslogtreecommitdiff
path: root/sys/dev/ic/wdcvar.h
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-04-04 07:29:51 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-04-04 07:29:51 +0000
commit1221231bf93b54ae324444e29253917845b0945f (patch)
tree154a277aaae9c00ec26e8a3d4132c3df7549cead /sys/dev/ic/wdcvar.h
parent34820c1a8c8e2054e58e4104ec2891b7d92152a6 (diff)
Lay the groundwork for disabling ATAPI DMA on controllers
where we have trouble. Note, in theory, ATAPI DMA is no different than ATA DMA. "Promise" not to tell anybody
Diffstat (limited to 'sys/dev/ic/wdcvar.h')
-rw-r--r--sys/dev/ic/wdcvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/wdcvar.h b/sys/dev/ic/wdcvar.h
index fb2c30b6520..adefd62d2e3 100644
--- a/sys/dev/ic/wdcvar.h
+++ b/sys/dev/ic/wdcvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdcvar.h,v 1.16 2001/03/25 13:11:53 csapuntz Exp $ */
+/* $OpenBSD: wdcvar.h,v 1.17 2001/04/04 07:29:50 csapuntz Exp $ */
/* $NetBSD: wdcvar.h,v 1.17 1999/04/11 20:50:29 bouyer Exp $ */
/*-
@@ -154,6 +154,7 @@ struct wdc_softc { /* Per controller state */
#define WDC_CAPABILITY_PREATA 0x0200 /* ctrl can be a pre-ata one */
#define WDC_CAPABILITY_IRQACK 0x0400 /* callback to ack interrupt */
#define WDC_CAPABILITY_SINGLE_DRIVE 0x800 /* Don't proble second drive */
+#define WDC_CAPABILITY_NO_ATAPI_DMA 0x1000 /* Don't do DMA with ATAPI */
u_int8_t PIO_cap; /* highest PIO mode supported */
u_int8_t DMA_cap; /* highest DMA mode supported */
u_int8_t UDMA_cap; /* highest UDMA mode supported */