iwlwifi: adjust driver description

Adjust the module driver descriptions for mvm and mld to make it clear
that this is not a driver for Linux but a Linux-based driver for FreeBSD.
Cleanup surroundings.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
Bjoern A. Zeeb
2026-03-05 19:40:15 +00:00
parent 551c4cb74a
commit 782fe2f8d9
2 changed files with 7 additions and 2 deletions
+6
View File
@@ -28,9 +28,15 @@
#include "iwl-nvm-parse.h"
#if defined(__linux__)
#define DRV_DESCRIPTION "Intel(R) MLD wireless driver for Linux"
#elif defined(__FreeBSD__)
#define DRV_DESCRIPTION "Intel(R) MLD wireless Linux-based driver for FreeBSD"
#endif
MODULE_DESCRIPTION(DRV_DESCRIPTION);
#if defined(__linux__)
MODULE_LICENSE("GPL");
#endif
MODULE_IMPORT_NS("IWLWIFI");
static const struct iwl_op_mode_ops iwl_mld_ops;
+1 -2
View File
@@ -39,9 +39,8 @@
MODULE_DESCRIPTION(DRV_DESCRIPTION);
MODULE_LICENSE("GPL");
#elif defined(__FreeBSD__)
#define DRV_DESCRIPTION "The new Intel(R) wireless AGN/AC/AX based driver for FreeBSD"
#define DRV_DESCRIPTION "The new Intel(R) wireless AGN/AC/AX Linux-based driver for FreeBSD"
MODULE_DESCRIPTION(DRV_DESCRIPTION);
MODULE_LICENSE("BSD");
#endif
MODULE_IMPORT_NS("IWLWIFI");