Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2012 22:27:43 +0000 (UTC)
From:      "Kenneth D. Merry" <ken@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r231716 - head/sys/dev/mps
Message-ID:  <201202142227.q1EMRhst022036@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ken
Date: Tue Feb 14 22:27:43 2012
New Revision: 231716
URL: http://svn.freebsd.org/changeset/base/231716

Log:
  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
  MFC after:	3 days

Modified:
  head/sys/dev/mps/mps_sas.c

Modified: head/sys/dev/mps/mps_sas.c
==============================================================================
--- head/sys/dev/mps/mps_sas.c	Tue Feb 14 22:06:08 2012	(r231715)
+++ head/sys/dev/mps/mps_sas.c	Tue Feb 14 22:27:43 2012	(r231716)
@@ -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?201202142227.q1EMRhst022036>