svn commit: r274731 - stable/9/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Thu Nov 20 01:51:55 UTC 2014


Author: mav
Date: Thu Nov 20 01:51:54 2014
New Revision: 274731
URL: https://svnweb.freebsd.org/changeset/base/274731

Log:
  MFC r274477: Fix check for vendor-specific peripheral qualifier.
  
  Submitted by:	anton.rang at isilon.com

Modified:
  stable/9/sys/cam/scsi/scsi_all.h
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)

Modified: stable/9/sys/cam/scsi/scsi_all.h
==============================================================================
--- stable/9/sys/cam/scsi/scsi_all.h	Thu Nov 20 01:50:46 2014	(r274730)
+++ stable/9/sys/cam/scsi/scsi_all.h	Thu Nov 20 01:51:54 2014	(r274731)
@@ -1132,7 +1132,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_IS_REMOVABLE(inq_data) (((inq_data)->dev_qual2 & 0x80) != 0)


More information about the svn-src-stable-9 mailing list