opnsense-src/sys/dev/hyperv/pcib
Warner Losh df365278e0 Create wrapper for Giant taken for newbus
Create a wrapper for newbus to take giant and for busses to take it too.
bus_topo_lock() should be called before interacting with newbus routines
and unlocked with bus_topo_unlock(). If you need the topology lock for
some reason, bus_topo_mtx() will provide that.

Sponsored by:		Netflix
Reviewed by:		mav
Differential Revision:	https://reviews.freebsd.org/D31831

(cherry picked from commit c6df6f5322)
2022-12-13 10:56:28 +01:00
..
vmbus_pcib.c Create wrapper for Giant taken for newbus 2022-12-13 10:56:28 +01:00