mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Set the debug.acpi.acpi_ca_version sysctl even if ACPI support is not
available.
This commit is contained in:
parent
8fe615ba76
commit
4b1ff978df
1 changed files with 2 additions and 2 deletions
|
|
@ -331,14 +331,14 @@ acpi_identify(driver_t *driver, device_t parent)
|
|||
if (device_find_child(parent, "acpi", 0) != NULL)
|
||||
return_VOID;
|
||||
|
||||
snprintf(acpi_ca_version, sizeof(acpi_ca_version), "%x", ACPI_CA_VERSION);
|
||||
|
||||
/* Initialize root tables. */
|
||||
if (ACPI_FAILURE(acpi_Startup())) {
|
||||
printf("ACPI: Try disabling either ACPI or apic support.\n");
|
||||
return_VOID;
|
||||
}
|
||||
|
||||
snprintf(acpi_ca_version, sizeof(acpi_ca_version), "%x", ACPI_CA_VERSION);
|
||||
|
||||
/* Attach the actual ACPI device. */
|
||||
if ((child = BUS_ADD_CHILD(parent, 10, "acpi", 0)) == NULL) {
|
||||
device_printf(parent, "device_identify failed\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue