summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/mpc85xx
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2015-08-26 03:37:33 +0000
committerjhibbits <jhibbits@FreeBSD.org>2015-08-26 03:37:33 +0000
commit8c4b1bd01372b54ce6265b22a9c88ac939c52d3a (patch)
tree45d6bcaa0aa65658afc498193c5087220f9d7c6f /sys/powerpc/mpc85xx
parentf4fac05f94f6e1c7bd2e820fe9ba38bf1251e03e (diff)
downloadFreeBSD-src-8c4b1bd01372b54ce6265b22a9c88ac939c52d3a.zip
FreeBSD-src-8c4b1bd01372b54ce6265b22a9c88ac939c52d3a.tar.gz
The Freescale qoriq PCIe controller is compatible with mpc85xx.
Add the compatible checks. Obtained from: Semihalf (partial) Sponsored by: Alex Perez/Inertial Computing
Diffstat (limited to 'sys/powerpc/mpc85xx')
-rw-r--r--sys/powerpc/mpc85xx/pci_mpc85xx.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/powerpc/mpc85xx/pci_mpc85xx.c b/sys/powerpc/mpc85xx/pci_mpc85xx.c
index af85fde..c3610cd 100644
--- a/sys/powerpc/mpc85xx/pci_mpc85xx.c
+++ b/sys/powerpc/mpc85xx/pci_mpc85xx.c
@@ -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");
OpenPOWER on IntegriCloud