git: acpi - Use KOBJ_GPRI_ACPI driver priorities for ig4 and gpio_intel.

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


commit df21e16d16b51cf8e1828be094b4866e5d0a1bc8
Author: Imre Vadász <imre at vdsz.com>
Date:   Sun Jan 28 22:04:55 2018 +0100

    acpi - Use KOBJ_GPRI_ACPI driver priorities for ig4 and gpio_intel.
    
    * Since we currently don't handle the ACPI _DEP methods appropriately,
      use the "global priority hack" from
      5025fc65cd2448de8a5b7295c9936b473a7b0194 to enforce that ig4 and
      gpio_intel attach before various ACPI namespace devices.
    
    * This uses the KOBJ_GPRI_ACPI+1 and KOBJ_GPRI_ACPI+2 driver global priority
      levels for important ACPI drivers, which may have to attach before other
      ACPI devices can be used.
    
    * This also adds the KOBJ_GPRI_ACPI global priority level to the sdhci_acpi
      driver declaration.

Summary of changes:
 sys/bus/gpio/gpio_intel/gpio_intel.c |  3 ++-
 sys/bus/smbus/ichiic/ig4_acpi.c      |  3 ++-
 sys/dev/acpica/acpi.c                | 12 ++++++++----
 sys/dev/acpica/acpi_cpu.c            |  2 +-
 sys/dev/acpica/acpi_cpu_cstate.c     |  2 +-
 sys/dev/acpica/acpi_cpu_pstate.c     |  2 +-
 sys/dev/acpica/acpi_hpet.c           |  2 +-
 sys/dev/acpica/acpi_isab.c           |  2 +-
 sys/dev/acpica/acpi_resource.c       |  2 +-
 sys/dev/acpica/acpi_timer.c          |  2 +-
 sys/dev/disk/sdhci/sdhci_acpi.c      |  1 +
 11 files changed, 20 insertions(+), 13 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list