summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2003-10-16 14:18:35 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2003-10-16 14:18:35 +0000
commitd81dcc8da747bc82a7fc51c6501c9ca623b992e3 (patch)
tree20e7868f4c14f6beefc7df94a4a6b736acbfffa7 /sys/dev
parent4677b491af5a647e9815e7b83bffa893cf5ce1b4 (diff)
New flag to mark SATA controllers
Diffstat (limited to 'sys/dev')
-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 6970e8ba61b..e06341dc171 100644
--- a/sys/dev/ic/wdcvar.h
+++ b/sys/dev/ic/wdcvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdcvar.h,v 1.29 2003/10/16 14:15:41 grange Exp $ */
+/* $OpenBSD: wdcvar.h,v 1.30 2003/10/16 14:18:34 grange Exp $ */
/* $NetBSD: wdcvar.h,v 1.17 1999/04/11 20:50:29 bouyer Exp $ */
/*-
@@ -156,6 +156,7 @@ struct wdc_softc { /* Per controller state */
#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 */
+#define WDC_CAPABILITY_SATA 0x2000 /* SATA controller */
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 */