HomeFreeBSD

usb: implement attach kernel driver feature

Description

usb: implement attach kernel driver feature

FreeBSD's USB framework supports detaching kernel drivers to allow
user space applications to exclusively claim USB interfaces. However,
it lacked support for reattaching the kernel driver afterward.

This commit adds the missing functionality, enabling user space
to return control of the device back to the kernel.

Reviewed by: lwhsu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52122

Details

Provenance
aokblastAuthored on Aug 22 2025, 2:24 PM
Reviewer
lwhsu
Differential Revision
D52122: usb: implement attach kernel driver
Parents
rGf056e84e5b46: virtio-scsi: handle device capacity change event
Branches
Unknown
Tags
Unknown