git: 1466c6253e55 - stable/13 - devmatch: defer until after kld

Warner Losh imp at FreeBSD.org
Fri Jul 16 18:30:40 UTC 2021


The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=1466c6253e559ae615446c3f0b27ef9d0ada4209

commit 1466c6253e559ae615446c3f0b27ef9d0ada4209
Author:     Helge Oldach <freebsd at oldach.net>
AuthorDate: 2021-07-07 20:43:35 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-07-16 18:28:43 +0000

    devmatch: defer until after kld
    
    devmatch loads a number of things automatically. Allow the list of
    things to load to happen first in case those drivers affect what would
    be loaded. Normally, this will produce the same results, but there's
    some special cases that may not when drivers are loaded that report
    other drivers missing, like virtio_pci.
    
    PR:             253287
    Reviewed by:    imp
    MFC After:      2 weeks
    
    (cherry picked from commit f68e3ea831b76a8927eed7f7abfea55ee5a193c4)
---
 libexec/rc/rc.d/devmatch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/devmatch b/libexec/rc/rc.d/devmatch
index 0b2e3719dabb..dd61307a4e0a 100755
--- a/libexec/rc/rc.d/devmatch
+++ b/libexec/rc/rc.d/devmatch
@@ -26,7 +26,7 @@
 # $FreeBSD$
 #
 # PROVIDE: devmatch
-# REQUIRE: kldxref
+# REQUIRE: kld
 # BEFORE: netif
 # KEYWORD: nojail
 


More information about the dev-commits-src-all mailing list