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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"