freebsd-dev/sys/contrib
Bjoern A. Zeeb f808c43ad9 iwlwifi: enforce FreeBSD specific (expected) behaviour
iwlwifi can return early from probe (in FreeBSD attach) while a separate
thread is still grinding loading the firmware and setting things up.
For us this means that kldload succeeded but we may not have a physical
wireless interface (com) yet but the rc framework might already try to
configure a vap on one.

Wait until we get a firmware completion event from the other thread
(on success or error) and block returning.  That way we can ensure that
the "hw" (or com in net80211 terms) is there when we return from attach
matching the expected FreeBSD driver behaviour.

Reported by:	J.R. Oldroyd (jr opal.com)
Reported by:	probably inderectly showing as other problem
Tested by:	J.R. Oldroyd (jr opal.com)
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
2022-09-25 21:41:06 +00:00
..
alpine-hal
ck Merge commit 'ce929fe84f9c453263af379f3b255ff8eca01d48' 2021-10-29 19:18:03 +02:00
dev iwlwifi: enforce FreeBSD specific (expected) behaviour 2022-09-25 21:41:06 +00:00
device-tree Import device-tree files from Linux 5.18 2022-08-10 14:32:46 +02:00
dpdk_rte_lpm routing: Fix crashes with dpdk_lpm[46] algo. 2021-08-17 20:46:22 +00:00
edk2
ena-com ena: merge ena-com v2.5.0 upgrade 2022-01-23 20:27:13 +01:00
libb2
libfdt
libnv libnv: Mark a variable only used in a custom assertion as unused. 2022-04-13 16:08:19 -07:00
libsodium
ncsw dpaa: Remove unused variables. 2022-04-13 16:08:23 -07:00
ngatm ngatm: Expand #if 0 to cover all lines involving mlen. 2022-04-07 17:01:26 -07:00
openzfs zfs: fix powerpc build broken in c7046f76c2 2022-09-22 12:04:28 +02:00
pcg-c/include
rdma/krping krping: Remove unused variable. 2022-04-07 17:01:28 -07:00
v4l
vchiq/interface vchiq: Remove unused devclass argument to DRIVER_MODULE. 2022-05-10 10:21:39 -07:00
x86emu Remove prototype of x86emu_init_default. 2022-02-27 15:11:17 -08:00
xen xen/acpi: upload Cx and Px data to Xen 2022-04-12 10:03:26 +02:00
xz-embedded
zlib zlib: Fix extra field processing bug that dereferences NULL state->head. 2022-08-08 14:19:27 -04:00
zstd sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00