diff options
author | Matt Jacob <mjacob@FreeBSD.org> | 2000-01-25 17:37:02 +0000 |
---|---|---|
committer | Matt Jacob <mjacob@FreeBSD.org> | 2000-01-25 17:37:02 +0000 |
commit | 366f55288e6bc4b6639b4777cbd65d00f1825aae (patch) | |
tree | 801aea15deb60936562b93a58d56b093205aa055 /sys/cam/scsi/scsi_all.h | |
parent | 931e989797305e4967a74adb4a88779f14be7f3b (diff) | |
download | src-366f55288e6bc4b6639b4777cbd65d00f1825aae.tar.gz src-366f55288e6bc4b6639b4777cbd65d00f1825aae.zip |
Go for the gusto and do the full 256 bytes for inquiry data.
Obtained from:gibbs@freebsd.org
Notes
Notes:
svn path=/head/; revision=56593
Diffstat (limited to 'sys/cam/scsi/scsi_all.h')
-rw-r--r-- | sys/cam/scsi/scsi_all.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h index fe01620defbb..37caa19e6f52 100644 --- a/sys/cam/scsi/scsi_all.h +++ b/sys/cam/scsi/scsi_all.h @@ -577,12 +577,7 @@ struct scsi_inquiry_data u_int8_t reserved3[22]; - /* - * The specifcation allows for 256 bytes of data, total. - * We avoid overflow problems with common usages of u_int8_t - * sizes by not getting at the last 4 bytes. - */ -#define SID_VENDOR_SPECIFIC_1_SIZE (256 - 96 - 4) +#define SID_VENDOR_SPECIFIC_1_SIZE 160 u_int8_t vendor_specific1[SID_VENDOR_SPECIFIC_1_SIZE]; }; |