summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-04-05 11:13:06 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-04-05 11:13:06 +0000
commitcae80748359702d29d00ef02ab99090a26d70528 (patch)
tree58b0c59d24e670c9152b5bd31628bc0701505436 /sys/dev
parent29d61ad0eba019ff596945bc75c67b2f1bb503ed (diff)
device signatures appear to be common to sata controllers too.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/atascsi.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ata/atascsi.h b/sys/dev/ata/atascsi.h
index 776fa296487..9df774c0afb 100644
--- a/sys/dev/ata/atascsi.h
+++ b/sys/dev/ata/atascsi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atascsi.h,v 1.22 2007/04/04 12:39:16 dlg Exp $ */
+/* $OpenBSD: atascsi.h,v 1.23 2007/04/05 11:13:05 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -224,6 +224,10 @@ struct ata_log_page_10h {
#define SATA_SStatus_IPM_PARTIAL 0x200
#define SATA_SStatus_IPM_SLUMBER 0x600
+#define SATA_SIGNATURE_PORT_MULTIPLIER 0x96690101
+#define SATA_SIGNATURE_ATAPI 0xeb140101
+#define SATA_SIGNATURE_DISK 0x00000101
+
/*
* ATA interface
*/