Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2014 23:39:13 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r271606 - head/sys/cam/ctl
Message-ID:  <201409142339.s8ENdDjJ003083@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sun Sep 14 23:39:13 2014
New Revision: 271606
URL: http://svnweb.freebsd.org/changeset/base/271606

Log:
  Always report that we support REPORT TARGET PORT GROUPS command.
  
  Without clustering support we any way have only one group of permanently
  active ports, but that gives us one more supported VMWare feature. ;)
  
  Solaris' Comstar also reports it even when only one port is present.

Modified:
  head/sys/cam/ctl/ctl.c

Modified: head/sys/cam/ctl/ctl.c
==============================================================================
--- head/sys/cam/ctl/ctl.c	Sun Sep 14 23:25:10 2014	(r271605)
+++ head/sys/cam/ctl/ctl.c	Sun Sep 14 23:39:13 2014	(r271606)
@@ -10584,9 +10584,7 @@ ctl_inquiry_std(struct ctl_scsiio *ctsio
 	CTL_DEBUG_PRINT(("additional_length = %d\n",
 			 inq_ptr->additional_length));
 
-	inq_ptr->spc3_flags = SPC3_SID_3PC;
-	if (!ctl_is_single)
-		inq_ptr->spc3_flags |= SPC3_SID_TPGS_IMPLICIT;
+	inq_ptr->spc3_flags = SPC3_SID_3PC | SPC3_SID_TPGS_IMPLICIT;
 	/* 16 bit addressing */
 	if (port_type == CTL_PORT_SCSI)
 		inq_ptr->spc2_flags = SPC2_SID_ADDR16;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409142339.s8ENdDjJ003083>