summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c/ihidev.c
diff options
context:
space:
mode:
authorjcs <jcs@openbsd.org>2019-07-31 15:58:00 +0000
committerjcs <jcs@openbsd.org>2019-07-31 15:58:00 +0000
commit72b62a385ef06e5e564effbed778867805aff390 (patch)
tree00d1f03157fcb82df9581198665a2a11c3eaac37 /sys/dev/i2c/ihidev.c
parentThe ACPI 3 spec says the ToHexString and ToDec(imal)String (diff)
downloadwireguard-openbsd-72b62a385ef06e5e564effbed778867805aff390.tar.xz
wireguard-openbsd-72b62a385ef06e5e564effbed778867805aff390.zip
aml_find_node: perform callback on matched direct-child nodes before
recursing into child devices looking for matches. This ensures that when walking nodes with acpi_inidev, a method like \_SB_.PCI0._INI will be executed before \_SB_.PCI0.I2C1.TPL1._INI. This matches how ACPICA walks nodes and a commonly-used DSDT template assumes that \OSYS has been initialized in \_SB_.PCI0._INI before being used by other device _INI methods. This should also help to execute \_INI and \_SB_._INI first, if present, which ACPICA does explicitly. Tested in snaps, ok deraadt
Diffstat (limited to 'sys/dev/i2c/ihidev.c')
0 files changed, 0 insertions, 0 deletions