mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
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
|
||
|---|---|---|
| .. | ||
| mlx.c | ||
| mlx_disk.c | ||
| mlx_pci.c | ||
| mlxio.h | ||
| mlxreg.h | ||
| mlxvar.h | ||