summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/pci-ioda.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-11-29 18:22:50 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-12-07 18:02:02 +1100
commitf11fe5524aa7427ae8f23dbede8a29fc4f613a71 (patch)
treeaae95ffedb5cc299f253c5fa67f4926102a60433 /arch/powerpc/platforms/powernv/pci-ioda.c
parentfa8cbaaf5a68f62db3f9a8444ecbb940b47984cb (diff)
downloadop-kernel-dev-f11fe5524aa7427ae8f23dbede8a29fc4f613a71.zip
op-kernel-dev-f11fe5524aa7427ae8f23dbede8a29fc4f613a71.tar.gz
powerpc/powernv: Update OPAL interfaces
This adds some more interfaces for OPAL v2 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci-ioda.c')
-rw-r--r--arch/powerpc/platforms/powernv/pci-ioda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c
index cf89f30..425c2b2 100644
--- a/arch/powerpc/platforms/powernv/pci-ioda.c
+++ b/arch/powerpc/platforms/powernv/pci-ioda.c
@@ -1294,9 +1294,9 @@ void __init pnv_pci_init_ioda1_phb(struct device_node *np)
pci_add_flags(PCI_REASSIGN_ALL_RSRC);
/* Reset IODA tables to a clean state */
- rc = opal_pci_reset(phb_id, OPAL_PCI_IODA_RESET, OPAL_ASSERT_RESET);
+ rc = opal_pci_reset(phb_id, OPAL_PCI_IODA_TABLE_RESET, OPAL_ASSERT_RESET);
if (rc)
- pr_warning(" OPAL Error %ld performing IODA reset !\n", rc);
+ pr_warning(" OPAL Error %ld performing IODA table reset !\n", rc);
opal_pci_set_pe(phb_id, 0, 0, 7, 1, 1 , OPAL_MAP_PE);
}
OpenPOWER on IntegriCloud