git: acpi - Implement a hack to recheck whether devices are present a few times.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Tue Jan 30 15:07:57 PST 2018


commit ebb7869e549bcacf2537fb61e21749e3f4588a45
Author: Imre Vadász <imre at vdsz.com>
Date:   Sun Jan 28 22:06:29 2018 +0100

    acpi - Implement a hack to recheck whether devices are present a few times.
    
    * This allows various ACPI devices to attach, which depend on another
      device. Often the _STA method declares them absent when the initial ACPI
      namespace walk is done, so we re-check the presence of those devices
      after each global priority round, when probe-/attach-ing children.

Summary of changes:
 sys/dev/acpica/acpi.c    | 61 +++++++++++++++++++++++++++++++++++++++++++++++-
 sys/dev/acpica/acpivar.h |  3 +++
 2 files changed, 63 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ebb7869e549bcacf2537fb61e21749e3f4588a45


-- 
DragonFly BSD source repository



More information about the Commits mailing list