HomeFreeBSD

MFC 305034: Implement 'devctl clear driver' to undo a previous 'set driver'.

Description

MFC 305034: Implement 'devctl clear driver' to undo a previous 'set driver'.

Add a new 'clear driver' command for devctl along with the accompanying
ioctl and devctl_clear_driver() library routine to reset a device to
use a wildcard devclass instead of a fixed devclass. This can be used
to undo a previous 'set driver' command. After the device's name has
been reset to permit wildcard names, it is reprobed so that it can
attach to newly-available (to it) device drivers.

Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on
Parents
rS306532: Add dependency to evdev module
Branches
Unknown
Tags
Unknown