git: f68e3ea831b7 - main - devmatch: defer until after kld

Warner Losh imp at FreeBSD.org
Wed Jul 7 20:49:00 UTC 2021


The branch main has been updated by imp:

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

commit f68e3ea831b76a8927eed7f7abfea55ee5a193c4
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-07 20:48:40 +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
---
 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-main mailing list