svn commit: r286480 - head/sys/dev/pci

Zbigniew Bodek zbb at FreeBSD.org
Sat Aug 8 21:46:39 UTC 2015


Author: zbb
Date: Sat Aug  8 21:46:38 2015
New Revision: 286480
URL: https://svnweb.freebsd.org/changeset/base/286480

Log:
  Treat internal bridge as subtractive on ThunderX ARM64
  
  Internal bridges in Cavium ThunderX SoC behave as subtractive,
  but they are unable to be identified. Force setting an appropriate
  flag.
  
  Reviewed by:   emaste, imp
  Obtained from: Semihalf
  Sponsored by:  The FreeBSD Foundation
  Differential Revision: https://reviews.freebsd.org/D3277

Modified:
  head/sys/dev/pci/pci_pci.c

Modified: head/sys/dev/pci/pci_pci.c
==============================================================================
--- head/sys/dev/pci/pci_pci.c	Sat Aug  8 21:42:15 2015	(r286479)
+++ head/sys/dev/pci/pci_pci.c	Sat Aug  8 21:46:38 2015	(r286480)
@@ -960,9 +960,10 @@ pcib_attach_common(device_t dev)
      * The i82380FB mobile docking controller is a PCI-PCI bridge,
      * and it is a subtractive bridge.  However, the ProgIf is wrong
      * so the normal setting of PCIB_SUBTRACTIVE bit doesn't
-     * happen.  There's also a Toshiba bridge that behaves this
-     * way.
+     * happen.  There are also Toshiba and Cavium ThunderX bridges
+     * that behave this way.
      */
+    case 0xa002177d:		/* Cavium ThunderX */
     case 0x124b8086:		/* Intel 82380FB Mobile */
     case 0x060513d7:		/* Toshiba ???? */
 	sc->flags |= PCIB_SUBTRACTIVE;


More information about the svn-src-head mailing list