device_get_property: add a HANDLE case
authorBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 29 Sep 2022 12:41:58 +0000 (12:41 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Sun, 9 Oct 2022 21:51:25 +0000 (21:51 +0000)
commit99e6980fcf5e12654c3e89b97b774de807d740a4
treead640e2db76c0f4a302a624f1976c755d3cab1e2
parent1fcc50004cebbe3a578f6761936e5d8cd8ee24cd
device_get_property: add a HANDLE case

This will resolve a reference and return the appropriate handle, a node
on the simplebus or an ACPI_HANDLE for ACPI.  For now we do not try to
further abstract the return type.

MFC after: 2 weeks
Reviewed by: mw
Differential Revision: https://reviews.freebsd.org/D36793
share/man/man9/device_get_property.9
sys/dev/acpica/acpi.c
sys/dev/fdt/simplebus.c
sys/kern/subr_bus.c
sys/sys/bus.h