mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
acpica: do not print warning for missing _ADR
Started seeing the following after updating to VMware ESXi 8.0: pcib2: <ACPI Host-PCI bridge> on acpi0 pcib2: could not evaluate _ADR - AE_NOT_FOUND pci2: <ACPI PCI bus> on pcib2 vmx0: <VMware VMXNET3 Ethernet Adapter> ... The virtual NIC works fine, and the code comment suggests that missing _ADR is not something fatal, skip printing the message if status is AE_NOT_FOUND. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/682
This commit is contained in:
parent
52f9710412
commit
109abf744b
1 changed files with 3 additions and 2 deletions
|
|
@ -410,8 +410,9 @@ acpi_pcib_acpi_attach(device_t dev)
|
|||
*/
|
||||
status = acpi_GetInteger(sc->ap_handle, "_ADR", &sc->ap_addr);
|
||||
if (ACPI_FAILURE(status)) {
|
||||
device_printf(dev, "could not evaluate _ADR - %s\n",
|
||||
AcpiFormatException(status));
|
||||
if (status != AE_NOT_FOUND)
|
||||
device_printf(dev, "could not evaluate _ADR - %s\n",
|
||||
AcpiFormatException(status));
|
||||
sc->ap_addr = -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue