summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Nowicki <tn@semihalf.com>2017-03-23 23:10:10 +0100
committerBjorn Helgaas <bhelgaas@google.com>2017-03-23 23:10:10 +0100
commit81caa91b72fd6a0b8dfc5eb10942c34f7efd2bc5 (patch)
treea3486393ac1a02ecc454bf478e691dd064c23a5f
parentPCI: iproc: Save host bridge window resource in struct iproc_pcie (diff)
downloadlinux-81caa91b72fd6a0b8dfc5eb10942c34f7efd2bc5.tar.xz
linux-81caa91b72fd6a0b8dfc5eb10942c34f7efd2bc5.zip
PCI: thunder-pem: Use Cavium assigned hardware ID for ThunderX host controller
"CAV" is the only PNP/ACPI hardware ID vendor prefix assigned to Cavium so fix this as it should be from day one. Fixes: 44f22bd91e88 ("PCI: Add MCFG quirks for Cavium ThunderX pass2.x host controller") Tested-by: Robert Richter <rrichter@cavium.com> Signed-off-by: Tomasz Nowicki <tn@semihalf.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Robert Richter <rrichter@cavium.com> CC: stable@vger.kernel.org # v4.10+
-rw-r--r--drivers/pci/host/pci-thunder-pem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-thunder-pem.c b/drivers/pci/host/pci-thunder-pem.c
index 52b5bdccf5f0..5b88faeebaaa 100644
--- a/drivers/pci/host/pci-thunder-pem.c
+++ b/drivers/pci/host/pci-thunder-pem.c
@@ -346,7 +346,7 @@ static int thunder_pem_acpi_init(struct pci_config_window *cfg)
if (!res_pem)
return -ENOMEM;
- ret = acpi_get_rc_resources(dev, "THRX0002", root->segment, res_pem);
+ ret = acpi_get_rc_resources(dev, "CAVA02B", root->segment, res_pem);
if (ret) {
dev_err(dev, "can't get rc base address\n");
return ret;