summaryrefslogtreecommitdiffstats
path: root/sys/scsi
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1996-10-06 22:50:56 +0000
committergibbs <gibbs@FreeBSD.org>1996-10-06 22:50:56 +0000
commit66ad0d99e4a711754f68c3a3bf30d37eb5277ea7 (patch)
treed338d3748f166f1ec67290330f2021701ff100b8 /sys/scsi
parentdb43a78580bd3838ae40c7d43e4d174c4ba8b047 (diff)
downloadFreeBSD-src-66ad0d99e4a711754f68c3a3bf30d37eb5277ea7.zip
FreeBSD-src-66ad0d99e4a711754f68c3a3bf30d37eb5277ea7.tar.gz
Bring in bug fix from 'SCSI' branch.
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/scsi_message.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsi_message.h b/sys/scsi/scsi_message.h
index a4eb6fc..bce70db 100644
--- a/sys/scsi/scsi_message.h
+++ b/sys/scsi/scsi_message.h
@@ -26,8 +26,8 @@
/* Identify message */ /* M/M */
#define MSG_IDENTIFYFLAG 0x80
-#define MSG_IDENTIFY(lun, disc) ((disc) ? 0xc0 : 0x80) | (lun))
-#define MSG_ISIDENTIFY(m) ((m) & MSG_INDENTIFYFLAG)
+#define MSG_IDENTIFY(lun, disc) ((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun))
+#define MSG_ISIDENTIFY(m) ((m) & MSG_IDENTIFYFLAG)
/* Extended messages (opcode and length) */
#define MSG_EXT_SDTR 0x01
OpenPOWER on IntegriCloud