opnsense-src/sys/powerpc
John Baldwin 1ab14e185a Check for errors when detaching children first, not last
These detach routines in these drivers all ended with 'return
(bus_generic_detach())' meaning that if any child device failed to
detach, the parent driver was left in a mostly destroyed state, but
still marked attached.  Instead, bus drivers should detach child
drivers first and return errors before destroying driver state in the
parent.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D47387

(cherry picked from commit d412c07617eb35435668b024bc2cecda05f57f1f)
2025-02-27 10:17:49 -05:00
..
aim powerpc pmap: initialize kernel pmap radix trie 2023-09-19 21:09:37 -05:00
amigaone sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
booke libkern: add ilog2 macro 2025-02-10 04:27:12 -06:00
conf sys: add conf/std.debug, generic debugging options 2024-10-09 10:44:35 +02:00
cpufreq sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fpu sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
include powerpc: Add RF_LITTLEENDIAN resource flag 2025-02-27 08:09:21 -05:00
mambo sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mikrotik sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mpc85xx Check for errors when detaching children first, not last 2025-02-27 10:17:49 -05:00
ofw powerpc: Bump maximum number of FDT reserved mem entries 2024-04-01 22:09:57 -04:00
powermac Check for errors when detaching children first, not last 2025-02-27 10:17:49 -05:00
powernv powerpc: better handling of shutdown flags 2023-12-08 18:02:44 -04:00
powerpc powerpc: Add RF_LITTLEENDIAN resource flag 2025-02-27 08:09:21 -05:00
ps3 powerpc ps3bus: Use bus_generic_rman_* 2025-02-27 08:09:20 -05:00
pseries powerpc: better handling of shutdown flags 2023-12-08 18:02:44 -04:00
psim powerpc psim: Fix infinite recursion in multiple bus methods 2025-02-27 08:09:22 -05:00