summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-03-20 14:10:54 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-03-20 14:10:54 +0000
commitc6164a4bf2d4335287f49e006271f1eb6689a87d (patch)
treea43ba17105c004233cb856c4b760e9217c998cf1 /sys/dev
parent12f538ba12e2ddc3267176ab9db93983f24c018a (diff)
add missing FLUSH_CACHE commands.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/atascsi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ata/atascsi.h b/sys/dev/ata/atascsi.h
index 8b407427e82..0b5d630a371 100644
--- a/sys/dev/ata/atascsi.h
+++ b/sys/dev/ata/atascsi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atascsi.h,v 1.16 2007/03/20 12:01:18 pascoe Exp $ */
+/* $OpenBSD: atascsi.h,v 1.17 2007/03/20 14:10:53 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -23,6 +23,8 @@ struct atascsi;
*/
#define ATA_C_IDENTIFY 0xec
+#define ATA_C_FLUSH_CACHE 0xe7
+#define ATA_C_FLUSH_CACHE_EXT 0xea /* lba48 */
#define ATA_C_READDMA 0xc8
#define ATA_C_WRITEDMA 0xca
#define ATA_C_READDMA_EXT 0x25