git: d1f3abc89250 - main - powerpc/mpc85xx: Add compat strings for P5040 PCIe

From: Justin Hibbits <jhibbits_at_FreeBSD.org>
Date: Thu, 01 Dec 2022 00:42:18 UTC
The branch main has been updated by jhibbits:

URL: https://cgit.FreeBSD.org/src/commit/?id=d1f3abc89250505c0d2ed7ae2e1788203955c870

commit d1f3abc89250505c0d2ed7ae2e1788203955c870
Author:     Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2022-12-01 00:41:26 +0000
Commit:     Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2022-12-01 00:45:10 +0000

    powerpc/mpc85xx: Add compat strings for P5040 PCIe
    
    Submitted by:   widelec (widelec@morphos.pl)
    MFC after:      1 week
---
 sys/powerpc/mpc85xx/pci_mpc85xx.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/powerpc/mpc85xx/pci_mpc85xx.c b/sys/powerpc/mpc85xx/pci_mpc85xx.c
index e19cb0554b6b..c2d992f552bf 100644
--- a/sys/powerpc/mpc85xx/pci_mpc85xx.c
+++ b/sys/powerpc/mpc85xx/pci_mpc85xx.c
@@ -299,7 +299,9 @@ fsl_pcib_probe(device_t dev)
 	    ofw_bus_is_compatible(dev, "fsl,mpc8540-pcie") ||
 	    ofw_bus_is_compatible(dev, "fsl,mpc8548-pcie") ||
 	    ofw_bus_is_compatible(dev, "fsl,p5020-pcie") ||
+	    ofw_bus_is_compatible(dev, "fsl,p5040-pcie") ||
 	    ofw_bus_is_compatible(dev, "fsl,qoriq-pcie-v2.2") ||
+	    ofw_bus_is_compatible(dev, "fsl,qoriq-pcie-v2.4") ||
 	    ofw_bus_is_compatible(dev, "fsl,qoriq-pcie")))
 		return (ENXIO);