ath_hal: Stop printing messages during boot

ath_hal is compiled into the kernel by default and so always prints a
message to dmesg even when the system has no ath hardware.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2021-03-08 12:39:06 -05:00
parent 7995dae9d3
commit 0e72eb4602

View File

@ -434,11 +434,13 @@ ath_hal_modevent(module_t mod __unused, int type, void *data __unused)
switch (type) {
case MOD_LOAD:
printf("[ath_hal] loaded\n");
if (bootverbose)
printf("[ath_hal] loaded\n");
break;
case MOD_UNLOAD:
printf("[ath_hal] unloaded\n");
if (bootverbose)
printf("[ath_hal] unloaded\n");
break;
case MOD_SHUTDOWN: