aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKenneth D. Merry <ken@FreeBSD.org>2012-02-14 22:27:43 +0000
committerKenneth D. Merry <ken@FreeBSD.org>2012-02-14 22:27:43 +0000
commitecef54656dbdd5da3d96e1fb715fc766cd85c21b (patch)
treeb411b4fe79a5b8edb05b62009a39559b8bdaecf4 /sys/dev
parentb74cf6dcf17dd06d3b530f7d4bec6191728f24b9 (diff)
downloadsrc-ecef54656dbdd5da3d96e1fb715fc766cd85c21b.tar.gz
src-ecef54656dbdd5da3d96e1fb715fc766cd85c21b.zip
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
Notes
Notes: svn path=/head/; revision=231716
Diffstat (limited to 'sys/dev')
-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 12a1d51c0971..65009bc7fc8f 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);