HomeFreeBSD

Check for errors from bus_generic_detach in various drivers

Description

Check for errors from bus_generic_detach in various drivers

In some cases, move the call to bus_generic_detach earlier so that any
detach failures from child devices do not leave the parent device
partially detached.

Differential Revision: https://reviews.freebsd.org/D47966

Details

Provenance
jhbAuthored on Thu, Jan 2, 6:23 PM
Differential Revision
D47966: Check for errors from bus_generic_detach in various drivers
Parents
rG6da28bb2a34a: csa/emu10kx: Simplify deleting child devices
Branches
Unknown
Tags
Unknown