summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmurph <smurph@openbsd.org>2000-03-09 06:35:53 +0000
committersmurph <smurph@openbsd.org>2000-03-09 06:35:53 +0000
commit14f87500606d350175ad23f618ace5524bf53829 (patch)
tree2828e550befad8b4387e4f38e63f218588ed4af5
parentsync (diff)
downloadwireguard-openbsd-14f87500606d350175ad23f618ace5524bf53829.tar.xz
wireguard-openbsd-14f87500606d350175ad23f618ace5524bf53829.zip
update for new adaptec support.
-rw-r--r--sys/scsi/scsi_message.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/scsi/scsi_message.h b/sys/scsi/scsi_message.h
index cd58a68a8a8..068dabe0f96 100644
--- a/sys/scsi/scsi_message.h
+++ b/sys/scsi/scsi_message.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_message.h,v 1.3 1996/11/28 13:17:53 niklas Exp $ */
+/* $OpenBSD: scsi_message.h,v 1.4 2000/03/09 06:35:53 smurph Exp $ */
/* Messages (1 byte) */ /* I/T (M)andatory or (O)ptional */
#define MSG_CMDCOMPLETE 0x00 /* M/M */
@@ -28,8 +28,10 @@
/* Identify message */ /* M/M */
#define MSG_IDENTIFYFLAG 0x80
+#define MSG_IDENTIFY_DISCFLAG 0x40
#define MSG_IDENTIFY(lun, disc) (((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun))
#define MSG_ISIDENTIFY(m) ((m) & MSG_IDENTIFYFLAG)
+#define MSG_IDENTIFY_LUNMASK 0x01F
/* Extended messages (opcode and length) */
#define MSG_EXT_SDTR 0x01
@@ -37,3 +39,7 @@
#define MSG_EXT_WDTR 0x03
#define MSG_EXT_WDTR_LEN 0x02
+
+#define MSG_EXT_WDTR_BUS_8_BIT 0x00
+#define MSG_EXT_WDTR_BUS_16_BIT 0x01
+#define MSG_EXT_WDTR_BUS_32_BIT 0x02