summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-10-06 13:20:18 +0000
committermav <mav@FreeBSD.org>2014-10-06 13:20:18 +0000
commit116bd3882f12a46da4ef95b23c4c9038e35effe3 (patch)
tree9853cdfd18803ac272c43dc51dd02f0a397a3beb
parent36c0adf8716f346f43eb4cc196f13b5f6a4eeb60 (diff)
downloadFreeBSD-src-116bd3882f12a46da4ef95b23c4c9038e35effe3.zip
FreeBSD-src-116bd3882f12a46da4ef95b23c4c9038e35effe3.tar.gz
MFC r271606:
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.
-rw-r--r--sys/cam/ctl/ctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c
index 9d80288..7690d05 100644
--- a/sys/cam/ctl/ctl.c
+++ b/sys/cam/ctl/ctl.c
@@ -10597,9 +10597,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;
OpenPOWER on IntegriCloud