Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2021 18:03:08 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4a26380ba6dc - main - LinuxKPI: add module dependency on firmware(9)
Message-ID:  <202101301803.10UI3831057520@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

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

commit 4a26380ba6dc487a7525d909ee29fbc710b558d1
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2021-01-30 17:50:26 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2021-01-30 17:50:26 +0000

    LinuxKPI: add module dependency on firmware(9)
    
    In a6c2507d1baedb183268e31bc6b6f659a9529904 support for LinuxKPI
    firmware loading was added.  Record the dependency on firmware(9)
    as otherwise (if built as module) linuxkpi will no longer load.
    
    Reported-by:    tijl
    MFC after:      1 day
    X-MFC-with:     a6c2507d1baedb183268e31bc6b6f659a9529904
    Sponsored-by:   The FreeBSD Foundation
---
 sys/compat/linuxkpi/common/src/linux_kmod.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/src/linux_kmod.c b/sys/compat/linuxkpi/common/src/linux_kmod.c
index b9a916da650f..7fd73f0a7f45 100644
--- a/sys/compat/linuxkpi/common/src/linux_kmod.c
+++ b/sys/compat/linuxkpi/common/src/linux_kmod.c
@@ -31,5 +31,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/module.h>
 
 MODULE_VERSION(linuxkpi, 1);
+MODULE_DEPEND(linuxkpi, firmware, 1, 1, 1);
 MODULE_DEPEND(linuxkpi, backlight, 1, 1, 1);
 MODULE_DEPEND(linuxkpi, pci, 1, 1, 1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101301803.10UI3831057520>