summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/bytgpio.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-05-08 10:09:26 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-05-08 10:09:26 +0000
commit466b594238d8c02209610e93543379e8e52f6e2a (patch)
tree374be7af5af2b88c13b3dce00b54a3a08bad98dc /sys/dev/acpi/bytgpio.c
parentacd3d1aec379a4d88910956c2783aede779bd3a6 (diff)
Make sure devices listed by a device's _DEP method are attached before
we attach the device itself. The _DEP methode, introduced in ACPI 5.0, is a hint that the device in question depends on OpRegion support from the devices listed by _DEP, so we have to order them the proper way. To prevent us from attaching those devices again when we encounter them later walking down the device tree, keep track of our attempts to attach a device driver to them using aflag in the aml_node structure. ok guenther@
Diffstat (limited to 'sys/dev/acpi/bytgpio.c')
0 files changed, 0 insertions, 0 deletions