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.
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
If mips32 + SMP ends up not being a thing anymore due to the recent 64-bit atomic debate, this function can just be removed.
Otherwise, is there a good way for me to exercise that config? I'm open to buying real HW...