Author: gonzo
Date: Fri Jan 13 02:33:55 2012
New Revision: 230040
URL: http://svn.freebsd.org/changeset/base/230040

Log:
  - Do not enumerate PCIe bus on CN56XX Pass 1 devices to avoid hard hang.
      There is known issue with this hardware.
  
  Submitted by: Andrew Duane <adu...@juniper.net>

Modified:
  head/sys/contrib/octeon-sdk/cvmx-pcie.c

Modified: head/sys/contrib/octeon-sdk/cvmx-pcie.c
==============================================================================
--- head/sys/contrib/octeon-sdk/cvmx-pcie.c     Fri Jan 13 00:38:35 2012        
(r230039)
+++ head/sys/contrib/octeon-sdk/cvmx-pcie.c     Fri Jan 13 02:33:55 2012        
(r230040)
@@ -501,6 +501,12 @@ retry:
         }
     }
 
+    /* Make sure a CN56XX pass 1 isn't trying to do anything; errata for PASS 
1 */
+    if (OCTEON_IS_MODEL(OCTEON_CN56XX_PASS1_X)) {
+        cvmx_dprintf ("PCIe port %d: CN56XX_PASS_1, skipping\n", pcie_port);
+        return -1;
+    }
+
     /* PCIe switch arbitration mode. '0' == fixed priority NPEI, PCIe0, then 
PCIe1. '1' == round robin. */
     npei_ctl_status.s.arb = 1;
     /* Allow up to 0x20 config retries */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to