opnsense-src/sys/contrib
Bjoern A. Zeeb 87e140a5c6 iwlwifi: avoid (hard) hang on loading module
For certain users or chipsets (reports were for CNVi devices but
we are not sure if this is limited or specific to them) loading
if_iwlwifi hangs.

The reason for this is that a SYSINIT (module_load_order()) has not
yet run in this case and the Linux driver tries to load the
chipsets-specific module.  On FreeBSD all supported sub-modules are
part of if_iwlwifi so we do not have to load them separately but
calling into kern_kldload via LinuxKPI request_module while loading
the module gives us a hard hang.

iwlwifi calls request_module_nowait() so we can simply skip over this
and continue and the SYSINIT will do the job later if no other
dependencies fail.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
PR:		282789
Tested by:	Ruslan Makhmatkhanov, Pete Wright
Differential Revision: https://reviews.freebsd.org/D47994
2024-12-09 14:45:24 +00:00
..
alpine-hal
ck sys/contrib: Mop up $FreeBSD$ tags 2024-05-31 13:45:26 -06:00
dev iwlwifi: avoid (hard) hang on loading module 2024-12-09 14:45:24 +00:00
device-tree Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
dpdk_rte_lpm spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
edk2 sys/contrib: Mop up $FreeBSD$ tags 2024-05-31 13:45:26 -06:00
ena-com ena: Upgrade ena-com to freebsd v2.8.0 2024-10-15 17:02:26 +00:00
libb2
libfdt
libnv libnv: correct the calculation of the structure's size 2024-09-11 16:43:43 +02:00
libsodium Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
ncsw powerpc: Use valid prototypes for function declarations with no arguments. 2023-04-24 08:53:50 -07:00
openzfs zfs: merge openzfs/zfs@e0039c705 2024-12-07 14:55:14 +01:00
pcg-c/include
rdma/krping krping: Stop checking for failures from malloc(M_WAITOK) 2024-09-03 18:25:21 +08:00
v4l
vchiq/interface Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
x86emu x86emu: remove localy added __FBSDID 2023-11-27 16:47:41 +00:00
xen xen: fetch dom0 video console information from Xen 2023-03-09 17:13:17 +01:00
xz-embedded MFV: xz-embedded 3f438e15109229bb14ab45f285f4bff5412a9542 2022-11-17 22:04:57 -08:00
zlib Revert "nvme: Separate total failures from I/O failures" 2024-08-15 21:29:53 -06:00
zstd sys/contrib: Mop up $FreeBSD$ tags 2024-05-31 13:45:26 -06:00