opnsense-src/sys/dev/mmc
John Baldwin c0bed9bd0b 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
2025-03-10 13:32:53 -04:00
..
host mmc: Use bus_topo_lock and taskqueue_bus while adding/removing child devices 2025-03-10 13:32:53 -04:00
bridge.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mmc.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
mmc_fdt_helpers.c mmc: Use bus_topo_lock and taskqueue_bus while adding/removing child devices 2025-03-10 13:32:53 -04:00
mmc_fdt_helpers.h regulator: Move regulator code in dev/regulator 2024-01-10 19:20:32 +01:00
mmc_helpers.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mmc_helpers.h regulator: Move regulator code in dev/regulator 2024-01-10 19:20:32 +01:00
mmc_ioctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mmc_private.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mmc_pwrseq.c clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
mmc_pwrseq_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
mmc_subr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mmc_subr.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mmcbr_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
mmcbrvar.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mmcbus_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
mmcreg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mmcsd.c geom_flashmap: Rename the kernel module 2024-10-29 15:11:12 +00:00
mmcvar.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00