Re: git: a615ded5bf2d - main - sys/conf/files: Add iwx driver

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sat, 15 Nov 2025 21:33:16 UTC
On Sat, 15 Nov 2025, Dag-Erling Smørgrav wrote:

> "Bjoern A. Zeeb" <bz@FreeBSD.org> writes:
>> Dag-Erling Smørgrav <des@FreeBSD.org> 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