summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2012-02-14 22:27:43 +0000
committerken <ken@FreeBSD.org>2012-02-14 22:27:43 +0000
commitdce65ce6be9088b0a0444b5f603e5f110a76e249 (patch)
treeb411b4fe79a5b8edb05b62009a39559b8bdaecf4
parent22f749d90e97e5b3ffa074fbef5cdaf4ee857388 (diff)
downloadFreeBSD-src-dce65ce6be9088b0a0444b5f603e5f110a76e249.zip
FreeBSD-src-dce65ce6be9088b0a0444b5f603e5f110a76e249.tar.gz
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
-rw-r--r--sys/dev/mps/mps_sas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mps/mps_sas.c b/sys/dev/mps/mps_sas.c
index 12a1d51..65009bc 100644
--- a/sys/dev/mps/mps_sas.c
+++ b/sys/dev/mps/mps_sas.c
@@ -919,7 +919,7 @@ mpssas_action(struct cam_sim *sim, union ccb *ccb)
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);
OpenPOWER on IntegriCloud