CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2016/05/08 04:09:25
Modified files: sys/dev/acpi : acpi.c amltypes.h Log message: 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@