On Sat, 15 Nov 2025, Dag-Erling Smørgrav wrote:

"Bjoern A. Zeeb" <[email protected]> writes:
Dag-Erling Smørgrav <[email protected]> writes:
+dev/iwx/if_iwx.c               optional iwx \
+       compile-with "${NORMAL_C} -DIWX_DEBUG=1"
+dev/iwx/if_iwx_debug.c         optional iwx \
+       compile-with "${NORMAL_C} -DIWX_DEBUG=1"
Why would we add the debug flag in a default kernel compile?

Because the driver doesn't build without it.  Feel free to fix that, but
don't forget to turn debugging off in the module build as well.

Took me 3 minutes to make it build without IWX_DEBUG:
https://reviews.freebsd.org/D53776

No I did not add the kernel option yet... whoever needs it can but could
likely equally just add a #define IWX_DEBUG to the source file.

/bz

--
Bjoern A. Zeeb                                                     r15:7

Reply via email to