From 0beadb81a695f12748de0e36c032a089a55d50ef Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sun, 6 Nov 2011 18:56:00 +0000 Subject: [PATCH] --- yaml --- r: 279528 b: refs/heads/master c: ca45cfe31ee5b59eb2e0f19baac575a4f5b68537 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/platforms/powernv/pci.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 2848f931ef09..b6e107e89f15 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1f1616e864972fc82e1a144c7d23622d2aa2c6f2 +refs/heads/master: ca45cfe31ee5b59eb2e0f19baac575a4f5b68537 diff --git a/trunk/arch/powerpc/platforms/powernv/pci.c b/trunk/arch/powerpc/platforms/powernv/pci.c index 8b90d945399a..baef772d41f4 100644 --- a/trunk/arch/powerpc/platforms/powernv/pci.c +++ b/trunk/arch/powerpc/platforms/powernv/pci.c @@ -416,6 +416,13 @@ static void __devinit pnv_pci_dma_dev_setup(struct pci_dev *pdev) pnv_pci_dma_fallback_setup(hose, pdev); } +/* Fixup wrong class code in p7ioc root complex */ +static void __devinit pnv_p7ioc_rc_quirk(struct pci_dev *dev) +{ + dev->class = PCI_CLASS_BRIDGE_PCI << 8; +} +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_IBM, 0x3b9, pnv_p7ioc_rc_quirk); + static int pnv_pci_probe_mode(struct pci_bus *bus) { struct pci_controller *hose = pci_bus_to_host(bus);