svn commit: r262847 - head/sys/dev/hyperv/storvsc

Alexander Motin mav at FreeBSD.org
Thu Mar 6 12:37:26 UTC 2014


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;


More information about the svn-src-all mailing list