summaryrefslogtreecommitdiffstats
path: root/sys/cam/scsi
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2006-12-04 23:04:13 +0000
committermjacob <mjacob@FreeBSD.org>2006-12-04 23:04:13 +0000
commit4fdcb8965edb8a590b44f829b781bf01588c1b1e (patch)
treebdb02b5abfd159672e1780a1e98eb8330eb3fbab /sys/cam/scsi
parentf6ce526080d307e752c1feeafc3f7ea39c9dffa4 (diff)
downloadFreeBSD-src-4fdcb8965edb8a590b44f829b781bf01588c1b1e.zip
FreeBSD-src-4fdcb8965edb8a590b44f829b781bf01588c1b1e.tar.gz
Initial cut at Basic Domain Validation- just add some states to
traverse through during probing. Reviewed by: scsi (scottl)
Diffstat (limited to 'sys/cam/scsi')
-rw-r--r--sys/cam/scsi/scsi_all.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h
index f71ed67..de6f2c8 100644
--- a/sys/cam/scsi/scsi_all.h
+++ b/sys/cam/scsi/scsi_all.h
@@ -599,6 +599,9 @@ struct scsi_inquiry_data
#define SID_AENC 0x80
#define SID_TrmIOP 0x40
u_int8_t additional_length;
+#define SID_ADDITIONAL_LENGTH(iqd) \
+ ((iqd)->additional_length + \
+ offsetof(struct scsi_inquiry_data, additional_length) + 1)
u_int8_t reserved;
u_int8_t spc2_flags;
#define SPC2_SID_MChngr 0x08
OpenPOWER on IntegriCloud