diff options
author | John Baldwin <jhb@FreeBSD.org> | 2016-08-29 22:48:36 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-08-29 22:48:36 +0000 |
commit | e05ec081fe81beb79567b82723bd045aa50f19c0 (patch) | |
tree | 49d4724d89f0eae45adf3d20810b4392775e83b1 /sys/sys/refcount.h | |
parent | a3d5eb2481e8d136300b107d93c282e63bf36969 (diff) | |
download | src-e05ec081fe81beb79567b82723bd045aa50f19c0.tar.gz src-e05ec081fe81beb79567b82723bd045aa50f19c0.zip |
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
Notes
Notes:
svn path=/head/; revision=305034
Diffstat (limited to 'sys/sys/refcount.h')
0 files changed, 0 insertions, 0 deletions