Skip to content

Commit

Permalink
PCI: thunder-pem: Use Cavium assigned hardware ID for ThunderX host c…
Browse files Browse the repository at this point in the history
…ontroller

"CAV" is the only PNP/ACPI hardware ID vendor prefix assigned to Cavium so
fix this as it should be from day one.

Fixes: 44f22bd ("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+
  • Loading branch information
Tomasz Nowicki authored and Bjorn Helgaas committed Mar 23, 2017
1 parent 6e347b5 commit 81caa91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/host/pci-thunder-pem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 81caa91

Please sign in to comment.