From owner-svn-src-all@FreeBSD.ORG Fri Oct 19 23:42:45 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3692F23; Fri, 19 Oct 2012 23:42:45 +0000 (UTC) (envelope-from jwd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id ABFD28FC12; Fri, 19 Oct 2012 23:42:45 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9JNgjaC001684; Fri, 19 Oct 2012 23:42:45 GMT (envelope-from jwd@svn.freebsd.org) Received: (from jwd@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9JNgjVH001681; Fri, 19 Oct 2012 23:42:45 GMT (envelope-from jwd@svn.freebsd.org) Message-Id: <201210192342.q9JNgjVH001681@svn.freebsd.org> From: "John W. De Boskey" Date: Fri, 19 Oct 2012 23:42:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241759 - head/sys/dev/mps X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 23:42:45 -0000 Author: jwd Date: Fri Oct 19 23:42:45 2012 New Revision: 241759 URL: http://svn.freebsd.org/changeset/base/241759 Log: Don't lose the 255'th disk behind the initiator. Reviewed by: ken@ MFC after: 1 month Modified: head/sys/dev/mps/mps_sas.c Modified: head/sys/dev/mps/mps_sas.c ============================================================================== --- head/sys/dev/mps/mps_sas.c Fri Oct 19 23:10:55 2012 (r241758) +++ head/sys/dev/mps/mps_sas.c Fri Oct 19 23:42:45 2012 (r241759) @@ -918,7 +918,7 @@ mpssas_action(struct cam_sim *sim, union cpi->hba_eng_cnt = 0; cpi->max_target = sassc->sc->facts->MaxTargets - 1; cpi->max_lun = 255; - cpi->initiator_id = 255; + cpi->initiator_id = sassc->sc->facts->MaxTargets - 1; strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); strncpy(cpi->hba_vid, "LSILogic", HBA_IDLEN); strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);