coreboot/src/drivers/wifi/generic
Furquan Shaikh 43cc3c0273 drivers/wifi: Check device is of type PCI before checking vendor ID
CB:46865 ("mb, soc/intel: Reorganize CNVi device entries in
devicetree") reorganized the devicetree entries to make the
representation of CNVi device consistent with other internal PCI
devices. Since a dummy generic device is added for the CNVi device,
`emit_sar_acpi_structures()` needs to first check if the device is PCI
before checking the vendor ID. This ensures that SAR table generation
is skipped only for PCIe devices with non-Intel vendor IDs and not for
the dummy generic device.

BUG=b:165105210

Change-Id: I3c8d18538b94ed1072cfcc108552f3a1ac320395
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47364
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
2020-11-10 05:17:16 +00:00
..
acpi.c drivers/wifi: Check device is of type PCI before checking vendor ID 2020-11-10 05:17:16 +00:00
chip.h drivers/wifi/generic: Limit scope of ACPI-related functions to generic.c 2020-10-13 18:44:46 +00:00
generic.c wifi: Drop PCI IDs for JfP and HrP 2020-11-02 06:15:27 +00:00
Kconfig drivers/{intel/wifi,wifi/generic}: Drop separate Intel WiFi driver 2020-10-13 18:44:31 +00:00
Makefile.inc drivers/wifi/generic: Move ACPI functions to a separate file 2020-11-02 06:13:10 +00:00
smbios.c drivers/wifi/generic: Add support for CNVi dummy device ops 2020-11-02 06:14:12 +00:00
wifi_private.h drivers/wifi/generic: Add support for CNVi dummy device ops 2020-11-02 06:14:12 +00:00