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

Nathan Whitehorn nwhitehorn at FreeBSD.org
Mon Nov 11 15:44:21 UTC 2013


Author: nwhitehorn
Date: Mon Nov 11 15:44:20 2013
New Revision: 257994
URL: http://svnweb.freebsd.org/changeset/base/257994

Log:
  Be more flexible about which compatible strings to accept. This brings up
  the PCI Express bus on the RB800 using the firmware device tree.

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

Modified: head/sys/powerpc/mpc85xx/pci_mpc85xx.c
==============================================================================
--- head/sys/powerpc/mpc85xx/pci_mpc85xx.c	Mon Nov 11 15:43:21 2013	(r257993)
+++ head/sys/powerpc/mpc85xx/pci_mpc85xx.c	Mon Nov 11 15:44:20 2013	(r257994)
@@ -181,6 +181,7 @@ fsl_pcib_probe(device_t dev)
 		return (ENXIO);
 
 	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")))
 		return (ENXIO);
 


More information about the svn-src-all mailing list