mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Some drivers held regular mutexes across some new-bus calls; instead
depend on bus_topo_lock to protect the relevant softc members. This
also fixes the bus_topo_lock to be explicit in these drivers rather
than relying on the implicit Giant from taskqueue_swi_giant. It
avoids calling sleepable routines like device_probe_and_attach from an
swi context.
Differential Revision: https://reviews.freebsd.org/D49270
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| rtsx.c | ||
| rtsxreg.h | ||