Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2012 20:31:05 +0000 (UTC)
From:      "Kenneth D. Merry" <ken@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r231944 - stable/8/sys/dev/mps
Message-ID:  <201202202031.q1KKV5kw066755@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ken
Date: Mon Feb 20 20:31:05 2012
New Revision: 231944
URL: http://svn.freebsd.org/changeset/base/231944

Log:
  MFC r231716
  
    Set the max_lun field of the path inquiry CCB to 8.
  
    This allows LUNs greater than 0 to be probed.  It can be increased later if
    need be.
  
    This brings back SVN rev 224973, which was inadvertently removed with the
    import of the LSI driver.
  
    Reported by:	dwhite
  
  Approved by:	re (bz)

Modified:
  stable/8/sys/dev/mps/mps_sas.c
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/dev/mps/mps_sas.c
==============================================================================
--- stable/8/sys/dev/mps/mps_sas.c	Mon Feb 20 19:35:54 2012	(r231943)
+++ stable/8/sys/dev/mps/mps_sas.c	Mon Feb 20 20:31:05 2012	(r231944)
@@ -919,7 +919,7 @@ mpssas_action(struct cam_sim *sim, union
 		cpi->hba_misc = PIM_NOBUSRESET;
 		cpi->hba_eng_cnt = 0;
 		cpi->max_target = sassc->sc->facts->MaxTargets - 1;
-		cpi->max_lun = 0;
+		cpi->max_lun = 8;
 		cpi->initiator_id = 255;
 		strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
 		strncpy(cpi->hba_vid, "LSILogic", HBA_IDLEN);



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