opnsense-src/sys/dev/twe
Warner Losh c6df6f5322 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
2021-12-09 17:04:45 -07:00
..
twe.c twe: clean up empty lines in .c and .h files 2020-09-01 21:31:50 +00:00
twe_compat.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
twe_freebsd.c Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
twe_tables.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
tweio.h twe: clean up empty lines in .c and .h files 2020-09-01 21:31:50 +00:00
twereg.h twe: clean up empty lines in .c and .h files 2020-09-01 21:31:50 +00:00
twevar.h twe: clean up empty lines in .c and .h files 2020-09-01 21:31:50 +00:00