Commit d2e79b56 authored by Tomasz Nowicki's avatar Tomasz Nowicki Committed by Greg Kroah-Hartman

PCI: thunder-pem: Use Cavium assigned hardware ID for ThunderX host controller

commit 81caa91b upstream.

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

Fixes: 44f22bd9 ("PCI: Add MCFG quirks for Cavium ThunderX pass2.x host controller")
Tested-by: default avatarRobert Richter <rrichter@cavium.com>
Signed-off-by: default avatarTomasz Nowicki <tn@semihalf.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarRobert Richter <rrichter@cavium.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d9c6a97b
...@@ -331,7 +331,7 @@ static int thunder_pem_acpi_init(struct pci_config_window *cfg) ...@@ -331,7 +331,7 @@ static int thunder_pem_acpi_init(struct pci_config_window *cfg)
if (!res_pem) if (!res_pem)
return -ENOMEM; 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) { if (ret) {
dev_err(dev, "can't get rc base address\n"); dev_err(dev, "can't get rc base address\n");
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment