CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2016/01/13 16:11:22

Modified files:
        sys/dev/acpi   : dsdt.c dsdt.h 

Log message:
Change aml_find_node() such that it only walks down the tree and doesn't
traverse sideways.  This seems to be what all callersexpect it to do, and
fixes a bug in dwiic(4) where it would try to access i2c devices on busses
they're not attached to.

If there is any fallout from this change, the right thing to do is probably
to make sure callers pass the right node.

While there, change the return type to void, as the return value was useless
and none of the callers looked at it.

ok mlarkin@

Reply via email to