> From: sven falempin <[email protected]> > Date: Thu, 9 Aug 2018 10:10:14 -0400 > > In ACPI.c > > > if ((pm1 & ACPI_PM1_SCI_EN) == 0 && sc->sc_fadt->smi_cmd && > (!sc->sc_fadt->acpi_enable && !sc->sc_fadt->acpi_disable)) { > printf(", ACPI control unavailable\n"); > acpi_unmap_pmregs(sc); > return; > } > > > the condition test that the sc_fadt is NOT ENABLE AND NOT DISABLE > > wut ?
No. It tests whether the magic that's needed to enable and disable is provided. If both are absent it decides that the ACPI implementation is probably borked and bails out.
