]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
newbus: add bus_topo_assert
authorWarner Losh <imp@FreeBSD.org>
Thu, 9 Dec 2021 23:52:44 +0000 (16:52 -0700)
committerWarner Losh <imp@FreeBSD.org>
Fri, 10 Dec 2021 00:04:57 +0000 (17:04 -0700)
commitd14bc7230ba5c26de7d793ae3947e7571dc8fb7c
treea7c3c8fff392e6d2e98f1565c74239a98b9e1515
parent815a0973b23cf97e3e6c2d8bd34d98d54e318873
newbus: add bus_topo_assert

Add bus_topo_assert() and implmement it as GIANT_REQUIRED for the
moment. This will allow us to change more easily to a newbus-specific
lock int he future.

Sponsored by: Netflix
Reviewed by: wulf, mav, jhb
Differential Revision: https://reviews.freebsd.org/D31833
sys/dev/acpica/acpi.c
sys/dev/bhnd/bhnd.c
sys/dev/bhnd/bhnd_subr.c
sys/dev/hid/hidbus.c
sys/dev/hid/hmt.c
sys/dev/mii/mii.c
sys/kern/subr_bus.c
sys/sys/bus.h