Qlogic (isp driver) gone mad on 6.0
Matthew Jacob
lydianconcepts at gmail.com
Wed Aug 17 21:56:51 GMT 2005
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 = 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.
More information about the freebsd-current
mailing list