git: 47131a3278f3 - main - cxgbe: fix module loading
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Feb 2023 18:31:00 UTC
The branch main has been updated by jkim: URL: https://cgit.FreeBSD.org/src/commit/?id=47131a3278f328f437bcd45ac4db926118cdd03f commit 47131a3278f328f437bcd45ac4db926118cdd03f Author: Jung-uk Kim <jkim@FreeBSD.org> AuthorDate: 2023-02-10 18:27:20 +0000 Commit: Jung-uk Kim <jkim@FreeBSD.org> CommitDate: 2023-02-10 18:27:20 +0000 cxgbe: fix module loading After c03414326909, if_cxgbe.ko fails to load if crypto is not compiled in kernel, e.g., MINIMAL. link_elf_obj: symbol hmac_init_ipad undefined linker_load_file: /boot/kernel/if_cxgbe.ko - unsupported file type kldload: an error occurred while loading module if_cxgbe. Please check dmesg(8) for more details. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D38482 --- sys/dev/cxgbe/t4_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c index b854da46b146..33d372f575d0 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -13240,6 +13240,7 @@ MODULE_DEPEND(t5nex, netmap, 1, 1, 1); DRIVER_MODULE(t6nex, pci, t6_driver, mod_event, 0); MODULE_VERSION(t6nex, 1); +MODULE_DEPEND(t6nex, crypto, 1, 1, 1); MODULE_DEPEND(t6nex, firmware, 1, 1, 1); #ifdef DEV_NETMAP MODULE_DEPEND(t6nex, netmap, 1, 1, 1);