summaryrefslogtreecommitdiff
path: root/sys/dev/ic/wdcreg.h
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-04-28 17:21:17 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-04-28 17:21:17 +0000
commit2c422548d376c232b55e017e05ccd18533154769 (patch)
treeec2c20188c2cf555d351d45c67313b45bad41a60 /sys/dev/ic/wdcreg.h
parent9ffb9db292bf3712445ecff0014ab911a43093ce (diff)
Add FLUSH CACHE EXT command from ATA/ATAPI-6 spec.
Diffstat (limited to 'sys/dev/ic/wdcreg.h')
-rw-r--r--sys/dev/ic/wdcreg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/wdcreg.h b/sys/dev/ic/wdcreg.h
index a58a54368fe..96207c17904 100644
--- a/sys/dev/ic/wdcreg.h
+++ b/sys/dev/ic/wdcreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdcreg.h,v 1.11 2004/01/23 20:48:33 grange Exp $ */
+/* $OpenBSD: wdcreg.h,v 1.12 2004/04/28 17:21:16 grange Exp $ */
/* $NetBSD: wdcreg.h,v 1.22 1999/03/07 14:02:54 bouyer Exp $ */
/*-
@@ -114,6 +114,8 @@
#define WDCC_READDMA_EXT 0x25 /* read 48-bit addressing with DMA */
#define WDCC_WRITEDMA_EXT 0x35 /* write 48-bit addressing with DMA */
+#define WDCC_FLUSHCACHE_EXT 0xea /* 48-bit addressing flush cache */
+
/* Subcommands for SET_FEATURES (features register ) */
#define WDSF_8BIT_PIO_EN 0x01 /* Enable 8bit PIO (CFA featureset) */
#define WDSF_EN_WR_CACHE 0x02