Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2005 14:56:44 -0700
From:      Matthew Jacob <lydianconcepts@gmail.com>
To:        Eric Anderson <anderson@centtech.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Qlogic (isp driver) gone mad on 6.0
Message-ID:  <7579f7fb0508171456636c8998@mail.gmail.com>
In-Reply-To: <4303A0CC.2060005@centtech.com>
References:  <430397A2.4010303@centtech.com> <20050817203547.GA28892@uci.agh.edu.pl> <4303A0CC.2060005@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7579f7fb0508171456636c8998>