From 14f87500606d350175ad23f618ace5524bf53829 Mon Sep 17 00:00:00 2001 From: smurph Date: Thu, 9 Mar 2000 06:35:53 +0000 Subject: [PATCH] update for new adaptec support. --- sys/scsi/scsi_message.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.20.1