pci_host_generic: update Synopsys device description for ACPI

The recent addition of Synopsys ECAM quirk set the
device description only for the DT variant.
Do the same in ACPI case.

Reported by: jrtc27
This commit is contained in:
Marcin Wojtas 2021-09-16 16:39:42 +02:00
parent a3f0d18237
commit e8a8725360

View File

@ -242,6 +242,8 @@ pci_host_acpi_get_ecam_resource(device_t dev)
return (ENXIO);
}
pci_host_acpi_get_oem_quirks(sc, hdr);
if (sc->base.quirks & PCIE_ECAM_DESIGNWARE_QUIRK)
device_set_desc(dev, "Synopsys DesignWare PCIe Controller");
} else {
status = acpi_GetInteger(handle, "_CBA", &val);
if (ACPI_SUCCESS(status))