Re: Qlogic (isp driver) gone mad on 6.0

From: Matthew Jacob <lydianconcepts_at_gmail.com>
Date: Wed, 17 Aug 2005 14:56:44 -0700
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
_at__at_ -2609,6 +2609,14 _at__at_
                cpi->hba_eng_cnt = 0;
                cpi->max_target = ISP_MAX_TARGETS(isp) - 1;
                cpi->max_lun = ISP_MAX_LUNS(isp) - 1;
+#if    1
+               /*
+                * If we ever get around to using REPORT_LUNS, we can undo this.
+
+                */
+               if (cpi->max_lun >= 256)
+                       cpi->max_lun = 256;
+#endif
                cpi->bus_id = cam_sim_bus(sim);
                if (IS_FC(isp)) {
                        cpi->hba_misc = PIM_NOBUSRESET;

and see id this helps you.
Received on Wed Aug 17 2005 - 19:56:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:41 UTC