diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-12-04 23:04:13 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-12-04 23:04:13 +0000 |
commit | 4fdcb8965edb8a590b44f829b781bf01588c1b1e (patch) | |
tree | bdb02b5abfd159672e1780a1e98eb8330eb3fbab /sys/cam/scsi | |
parent | f6ce526080d307e752c1feeafc3f7ea39c9dffa4 (diff) | |
download | FreeBSD-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.h | 3 |
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 |