summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>1999-07-03 01:44:05 +0000
committermjacob <mjacob@FreeBSD.org>1999-07-03 01:44:05 +0000
commit27c7b9838259d57bbc1bb9d9b28a58efae233066 (patch)
treeee644d860669e06269e871724152ef34efe2155b /sys/dev/isp
parentc6401b83c6bfde6f33db90561d71e228277b920c (diff)
downloadFreeBSD-src-27c7b9838259d57bbc1bb9d9b28a58efae233066.zip
FreeBSD-src-27c7b9838259d57bbc1bb9d9b28a58efae233066.tar.gz
Well, don't try and probe 65535 luns- things just don't really work well
when this happens. Limit to 16 luns for the 2100/2200 for now.
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/isp_freebsd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c
index 456e382..e18e26d 100644
--- a/sys/dev/isp/isp_freebsd.c
+++ b/sys/dev/isp/isp_freebsd.c
@@ -1,4 +1,4 @@
-/* $Id: isp_freebsd.c,v 1.19 1999/05/12 19:00:16 mjacob Exp $ */
+/* $Id: isp_freebsd.c,v 1.20 1999/07/02 23:12:58 mjacob Exp $ */
/* release_6_2_99 */
/*
* Platform (FreeBSD) dependent common attachment code for Qlogic adapters.
@@ -573,10 +573,15 @@ isp_action(struct cam_sim *sim, union ccb *ccb)
cpi->initiator_id =
((fcparam *)isp->isp_param)->isp_loopid;
#ifdef ISP2100_SCCLUN
+#if 0
+ /* Too much breakage as yet... */
cpi->max_lun = (1 << 16) - 1;
#else
cpi->max_lun = (1 << 4) - 1;
#endif
+#else
+ cpi->max_lun = (1 << 4) - 1;
+#endif
/*
* Set base transfer capabilities for Fibre Channel.
* Technically not correct because we don't know
OpenPOWER on IntegriCloud