HomeFreeBSD

Implement 'devctl clear driver' to undo a previous 'devctl set driver'.

Description

Implement 'devctl clear driver' to undo a previous 'devctl 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.

MFC after: 1 month
Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on
Parents
rS305033: Minor Makefile simplifications for lib/atf/...
Branches
Unknown
Tags
Unknown