Date: Thu, 20 Nov 2014 01:51:55 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r274731 - stable/9/sys/cam/scsi Message-ID: <201411200151.sAK1ptxI049497@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411200151.sAK1ptxI049497>