Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2011 16:07:41 +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: r224973 - head/sys/dev/mps
Message-ID:  <201108181607.p7IG7fIv064123@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ken
Date: Thu Aug 18 16:07:41 2011
New Revision: 224973
URL: http://svn.freebsd.org/changeset/base/224973

Log:
  Set the max_lun field in the path inquiry CCB for the mps(4) driver to 8.
  
  This allows LUNs greater than 0 to be probed.  The value can be increased
  later if need be.
  
  Approved by:	re (kib)

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

Modified: head/sys/dev/mps/mps_sas.c
==============================================================================
--- head/sys/dev/mps/mps_sas.c	Thu Aug 18 16:00:32 2011	(r224972)
+++ head/sys/dev/mps/mps_sas.c	Thu Aug 18 16:07:41 2011	(r224973)
@@ -925,7 +925,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?201108181607.p7IG7fIv064123>