Fix check for vendor-specific peripheral qualifier.

Submitted by:	anton.rang@isilon.com
MFC after:	1 week
This commit is contained in:
Alexander Motin 2014-11-13 18:15:05 +00:00
parent 6e646651d3
commit 50d75c5b57
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274477

View File

@ -1817,7 +1817,7 @@ struct scsi_inquiry_data
* reserved for this peripheral
* qualifier.
*/
#define SID_QUAL_IS_VENDOR_UNIQUE(inq_data) ((SID_QUAL(inq_data) & 0x08) != 0)
#define SID_QUAL_IS_VENDOR_UNIQUE(inq_data) ((SID_QUAL(inq_data) & 0x04) != 0)
u_int8_t dev_qual2;
#define SID_QUAL2 0x7F
#define SID_LU_CONG 0x40