Date: Fri, 19 Oct 2012 23:42:45 +0000 (UTC) From: "John W. De Boskey" <jwd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241759 - head/sys/dev/mps Message-ID: <201210192342.q9JNgjVH001681@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210192342.q9JNgjVH001681>