| ce1ba01c | 23-Aug-2018 |
Warner Losh <[email protected]> |
When trying to match the nomatch event passed to us, attempt to look up the device described by the nomatch event in the device tree. If we find it, then if the device is marked as have already attac
When trying to match the nomatch event passed to us, attempt to look up the device described by the nomatch event in the device tree. If we find it, then if the device is marked as have already attached to a device once, then ignore the device.
This keeps us from reloading the device driver when it has just been manually unloaded. All devies that have had a driver attach to them at least once no longer participate in pnp-based autoloading.
Differential Revision: https://reviews.freebsd.org/D16735
show more ...
|
| d36967bd | 23-Aug-2018 |
Warner Losh <[email protected]> |
Add a new device flag: DF_ATTACHED_ONCE
This flag is set once the device has been successfully attached. When set, it inhibits devmatch from trying to match the device. This in turn allows kldunload
Add a new device flag: DF_ATTACHED_ONCE
This flag is set once the device has been successfully attached. When set, it inhibits devmatch from trying to match the device. This in turn allows kldunload to work as expected. Prior to the change, the driver would immediately reload because devmatch had no notion that the driver had once been attached, and therefore shouldn't participate in further matching.
Differential Revision: https://reviews.freebsd.org/D16735
show more ...
|
| 3fa2c048 | 17-Feb-2018 |
Warner Losh <[email protected]> |
Implement --hints to read hints file directly
In testing, it's often useful to copy a few files into a directory and kldxref them to ensure that particular cases are handled correctly. Add --hints (
Implement --hints to read hints file directly
In testing, it's often useful to copy a few files into a directory and kldxref them to ensure that particular cases are handled correctly. Add --hints (-h) to facilitate this testing and enable future automated testing.
Sponsored by: Netflix
show more ...
|