mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
If the power management timer is unsupported the PmTimerLength value will
be zero.
This commit is contained in:
parent
b347bc3b7a
commit
ef74544931
1 changed files with 2 additions and 1 deletions
|
|
@ -128,7 +128,8 @@ acpi_timer_identify(driver_t *driver, device_t parent)
|
|||
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
|
||||
|
||||
if (acpi_disabled("timer") || (acpi_quirks & ACPI_Q_TIMER) ||
|
||||
acpi_timer_dev || acpi_timer_disabled)
|
||||
acpi_timer_dev || acpi_timer_disabled ||
|
||||
AcpiGbl_FADT.PmTimerLength == 0)
|
||||
return_VOID;
|
||||
|
||||
if ((dev = BUS_ADD_CHILD(parent, 2, "acpi_timer", 0)) == NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue