Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 12:37:25 +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: r262847 - head/sys/dev/hyperv/storvsc
Message-ID:  <201403061237.s26CbPUf084687@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Mar  6 12:37:25 2014
New Revision: 262847
URL: http://svnweb.freebsd.org/changeset/base/262847

Log:
  Minor fix to r262789.
  
  MFC after:	6 days

Modified:
  head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c

Modified: head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
==============================================================================
--- head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c	Thu Mar  6 11:15:54 2014	(r262846)
+++ head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c	Thu Mar  6 12:37:25 2014	(r262847)
@@ -1062,7 +1062,7 @@ storvsc_action(struct cam_sim *sim, unio
 		cpi->hba_eng_cnt = 0;
 		cpi->max_target = STORVSC_MAX_TARGETS;
 		cpi->max_lun = sc->hs_drv_props->drv_max_luns_per_target;
-		cpi->initiator_id = cpi->max_lun + 1;
+		cpi->initiator_id = cpi->max_target;
 		cpi->bus_id = cam_sim_bus(sim);
 		cpi->base_transfer_speed = 300000;
 		cpi->transport = XPORT_SAS;



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