opnsense-src/sys/dev/rtsx
John Baldwin ee08e84551 mmc: Use bus_topo_lock and taskqueue_bus while adding/removing child devices
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 c0bed9bd0bda2ca9239f5913cd2d5c1bd5d29bfa)
2025-04-29 10:40:47 -04:00
..
rtsx.c mmc: Use bus_topo_lock and taskqueue_bus while adding/removing child devices 2025-04-29 10:40:47 -04:00
rtsxreg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00