Date: Thu, 16 Sep 2021 14:53:26 GMT From: Marcin Wojtas <mw@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: e8a872536042 - main - pci_host_generic: update Synopsys device description for ACPI Message-ID: <202109161453.18GErQVq006803@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mw: URL: https://cgit.FreeBSD.org/src/commit/?id=e8a872536042970b4dbf14dc75755a352fb14488 commit e8a872536042970b4dbf14dc75755a352fb14488 Author: Marcin Wojtas <mw@FreeBSD.org> AuthorDate: 2021-09-16 14:39:42 +0000 Commit: Marcin Wojtas <mw@FreeBSD.org> CommitDate: 2021-09-16 14:53:11 +0000 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 --- sys/dev/pci/pci_host_generic_acpi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/pci/pci_host_generic_acpi.c b/sys/dev/pci/pci_host_generic_acpi.c index 3c32abc5007a..9628517813a9 100644 --- a/sys/dev/pci/pci_host_generic_acpi.c +++ b/sys/dev/pci/pci_host_generic_acpi.c @@ -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))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109161453.18GErQVq006803>