HardenedBSD/sys/powerpc/mpc85xx
John Baldwin d412c07617 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
2024-11-04 20:30:33 -05:00
..
atpic.c
ds1553_bus_fdt.c
ds1553_core.c
ds1553_reg.h
fsl_diu.c
fsl_espi.c
fsl_sata.c
fsl_sata.h
i2c.c
isa.c
lbc.c
lbc.h
mpc85xx_cache.c
mpc85xx_gpio.c
mpc85xx.c
mpc85xx.h
pci_mpc85xx_pcib.c
pci_mpc85xx.c
platform_mpc85xx.c