]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When trying to match the nomatch event passed to us, attempt to look
authorimp <imp@FreeBSD.org>
Thu, 23 Aug 2018 05:06:22 +0000 (05:06 +0000)
committerimp <imp@FreeBSD.org>
Thu, 23 Aug 2018 05:06:22 +0000 (05:06 +0000)
commita1522e2178b98014ff7efc86ccea4e5283fcda6b
tree63b7f60130b307e1af45363138a920a031a9d2b4
parent2608f6dbcf6944b298703dae13685461d4f56832
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
sbin/devmatch/devmatch.c