From owner-freebsd-current@FreeBSD.ORG Wed Aug 17 21:56:51 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD30D16A420 for ; Wed, 17 Aug 2005 21:56:51 +0000 (GMT) (envelope-from lydianconcepts@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77CBA43D5C for ; Wed, 17 Aug 2005 21:56:48 +0000 (GMT) (envelope-from lydianconcepts@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so209222rne for ; Wed, 17 Aug 2005 14:56:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Nc1LVBew+/gb21LkQMziumn+uM5wZHedh2Zb/PDe6AC2knkvfF4Nf8LK0Xt8QG3Ma67oP60WHT4uDzoPO1WUzZNrilg+APd4N3qBv27X7sMeeRPEYV5Xy0xLCkzyx/eN2pwHVahONfGpBLW9PB009RMcmV9fV3YoTMKO9+rTVGs= Received: by 10.38.88.77 with SMTP id l77mr346311rnb; Wed, 17 Aug 2005 14:56:44 -0700 (PDT) Received: by 10.38.104.60 with HTTP; Wed, 17 Aug 2005 14:56:44 -0700 (PDT) Message-ID: <7579f7fb0508171456636c8998@mail.gmail.com> Date: Wed, 17 Aug 2005 14:56:44 -0700 From: Matthew Jacob To: Eric Anderson In-Reply-To: <4303A0CC.2060005@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <430397A2.4010303@centtech.com> <20050817203547.GA28892@uci.agh.edu.pl> <4303A0CC.2060005@centtech.com> Cc: FreeBSD Current Subject: Re: Qlogic (isp driver) gone mad on 6.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2005 21:56:51 -0000 Okay, sorry- try this change: diff -u -r1.106 isp_freebsd.c --- isp_freebsd.c 31 Jul 2005 23:21:19 -0000 1.106 +++ isp_freebsd.c 17 Aug 2005 21:55:55 -0000 @@ -2609,6 +2609,14 @@ cpi->hba_eng_cnt =3D 0; cpi->max_target =3D ISP_MAX_TARGETS(isp) - 1; cpi->max_lun =3D ISP_MAX_LUNS(isp) - 1; +#if 1 + /* + * If we ever get around to using REPORT_LUNS, we can undo = this. + + */ + if (cpi->max_lun >=3D 256) + cpi->max_lun =3D 256; +#endif cpi->bus_id =3D cam_sim_bus(sim); if (IS_FC(isp)) { cpi->hba_misc =3D PIM_NOBUSRESET; and see id this helps you.