svn commit: r231940 - stable/9/sys/dev/mps

Kenneth D. Merry ken at FreeBSD.org
Mon Feb 20 16:50:16 UTC 2012


Author: ken
Date: Mon Feb 20 16:50:16 2012
New Revision: 231940
URL: http://svn.freebsd.org/changeset/base/231940

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

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

Modified: stable/9/sys/dev/mps/mps_sas.c
==============================================================================
--- stable/9/sys/dev/mps/mps_sas.c	Mon Feb 20 15:05:21 2012	(r231939)
+++ stable/9/sys/dev/mps/mps_sas.c	Mon Feb 20 16:50:16 2012	(r231940)
@@ -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);


More information about the svn-src-stable-9 mailing list