svn commit: r287154 - head/sys/powerpc/mpc85xx

Justin Hibbits jhibbits at FreeBSD.org
Wed Aug 26 03:37:34 UTC 2015


Author: jhibbits
Date: Wed Aug 26 03:37:33 2015
New Revision: 287154
URL: https://svnweb.freebsd.org/changeset/base/287154

Log:
  The Freescale qoriq PCIe controller is compatible with mpc85xx.
  
  Add the compatible checks.
  
  Obtained from:	Semihalf (partial)
  Sponsored by:	Alex Perez/Inertial Computing

Modified:
  head/sys/powerpc/mpc85xx/pci_mpc85xx.c

Modified: head/sys/powerpc/mpc85xx/pci_mpc85xx.c
==============================================================================
--- head/sys/powerpc/mpc85xx/pci_mpc85xx.c	Wed Aug 26 03:37:18 2015	(r287153)
+++ head/sys/powerpc/mpc85xx/pci_mpc85xx.c	Wed Aug 26 03:37:33 2015	(r287154)
@@ -182,7 +182,10 @@ fsl_pcib_probe(device_t dev)
 
 	if (!(ofw_bus_is_compatible(dev, "fsl,mpc8540-pci") ||
 	    ofw_bus_is_compatible(dev, "fsl,mpc8540-pcie") ||
-	    ofw_bus_is_compatible(dev, "fsl,mpc8548-pcie")))
+	    ofw_bus_is_compatible(dev, "fsl,mpc8548-pcie") ||
+	    ofw_bus_is_compatible(dev, "fsl,p5020-pcie") ||
+	    ofw_bus_is_compatible(dev, "fsl,qoriq-pcie-v2.2") ||
+	    ofw_bus_is_compatible(dev, "fsl,qoriq-pcie")))
 		return (ENXIO);
 
 	device_set_desc(dev, "Freescale Integrated PCI/PCI-E Controller");


More information about the svn-src-head mailing list