HomeFreeBSD

etherswitch: Cleanup detach and delete of child devices during detach

Description

etherswitch: Cleanup detach and delete of child devices during detach

Call bus_generic_detach first and return any error. Remove no longer
needed individual device_delete_child calls.

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

Details