acpi - Use KOBJ_GPRI_ACPI driver priorities for ig4 and gpio_intel.
commitdf21e16d16b51cf8e1828be094b4866e5d0a1bc8
authorImre Vadász <imre@vdsz.com>
Sun, 28 Jan 2018 21:04:55 +0000 (28 22:04 +0100)
committerImre Vadász <imre@vdsz.com>
Tue, 30 Jan 2018 22:01:55 +0000 (30 23:01 +0100)
treeb491cc0e98c8989e3040614743706da769058da8
parentb8a824ad91fd5cabcfb138b33c4b9c67c256bf6e
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.
sys/bus/gpio/gpio_intel/gpio_intel.c
sys/bus/smbus/ichiic/ig4_acpi.c
sys/dev/acpica/acpi.c
sys/dev/acpica/acpi_cpu.c
sys/dev/acpica/acpi_cpu_cstate.c
sys/dev/acpica/acpi_cpu_pstate.c
sys/dev/acpica/acpi_hpet.c
sys/dev/acpica/acpi_isab.c
sys/dev/acpica/acpi_resource.c
sys/dev/acpica/acpi_timer.c
sys/dev/disk/sdhci/sdhci_acpi.c