summaryrefslogtreecommitdiffstats
path: root/sys/dev/mps
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2011-08-18 16:07:41 +0000
committerken <ken@FreeBSD.org>2011-08-18 16:07:41 +0000
commit6bac2d491ca9c12def1c018c97543e1377c9f1d8 (patch)
tree7cfdf5d64255eaf6b4767b0c380ab8de9171bb49 /sys/dev/mps
parent691b854db3eb8e22939782fea46904b21d4b1555 (diff)
downloadFreeBSD-src-6bac2d491ca9c12def1c018c97543e1377c9f1d8.zip
FreeBSD-src-6bac2d491ca9c12def1c018c97543e1377c9f1d8.tar.gz
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)
Diffstat (limited to 'sys/dev/mps')
-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 6fbda92..2aa4773 100644
--- a/sys/dev/mps/mps_sas.c
+++ b/sys/dev/mps/mps_sas.c
@@ -925,7 +925,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