From a02592816a28439763e4fcba9d388a7a20457dae Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Sat, 3 Jul 1999 01:44:05 +0000 Subject: [PATCH] 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. --- sys/dev/isp/isp_freebsd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index 456e382f9df0..e18e26d04ece 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,7 +573,12 @@ 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