From owner-svn-src-head@FreeBSD.ORG Thu Mar 6 12:37:26 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F23EA4D0; Thu, 6 Mar 2014 12:37:25 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DF218C5D; Thu, 6 Mar 2014 12:37:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s26CbPvH084688; Thu, 6 Mar 2014 12:37:25 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s26CbPUf084687; Thu, 6 Mar 2014 12:37:25 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <201403061237.s26CbPUf084687@svn.freebsd.org> From: Alexander Motin Date: Thu, 6 Mar 2014 12:37:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262847 - head/sys/dev/hyperv/storvsc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 12:37:26 -0000 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;