Subject: Re: kern/30531: lsilogic raid array crawls
To: None <thorpej@shagadelic.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-bugs
Date: 06/30/2005 10:27:24
I am not plugged into a PCIX slot.

[re the bug system: I only just checked the bug database because I was about
to report that this patch:

Index: mpt_pci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/mpt_pci.c,v
retrieving revision 1.5
diff -u -r1.5 mpt_pci.c
--- mpt_pci.c   27 Feb 2005 00:27:33 -0000      1.5
+++ mpt_pci.c   30 Jun 2005 09:17:01 -0000
@@ -210,7 +210,20 @@
        pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, reg);
 
        /*
-        * Ensure that the ROM is diabled.
+        * quirk from mptbase.c,mptlinux-3.03.02-src.tar.gz
+        * Disable split transactions for rev < 8.
+        * XXX here be magic constants...
+        */
+       if ((PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_SYMBIOS_1030)
+           && (PCI_REVISION(pa->pa_class) < 0x08)) {
+               aprint_normal("%s: applying 1030 quirk\n",mpt->sc_dev.dv_xname);
+               reg = pci_conf_read(pa->pa_pc, pa->pa_tag, 0x6a);
+               reg &= 0x8f;
+               pci_conf_write(pa->pa_pc, pa->pa_tag, 0x6a, reg);
+       }
+
+       /*
+        * Ensure that the ROM is disabled.
         */
        reg = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM);
        reg &= ~1;
@@ -253,7 +266,7 @@
         * Hard resets are known to screw up the BAR for diagnostic
         * memory accesses (Mem1).
         *
-        * Using Mem1 is know to make the chip stop responding to
+        * Using Mem1 is known to make the chip stop responding to
         * configuration cycles, so we need to save it now.
         */
        mpt_pci_read_config_regs(mpt);




achieves nothing. Had I actually received Jason's mail that would have
saved much head scratching!]