While here, update bus_generic_detach to delete devices as in the
kernel.
Details
Details
- Reviewers
imp markj emaste manu - Commits
- rG8e4535ee5870: stand/kshim: Implement bus_detach_children
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
stand/kshim/bsd_kernel.c | ||
---|---|---|
689 | device_delete_children() will call device_detach() on each child again, but I think that's harmless. |
stand/kshim/bsd_kernel.c | ||
---|---|---|
689 | Yes, and this is also true in the kernel implementation. The difference is that here we don't delete any devices if a child device vetos the detach operation. |