feb4cb910c
[ Upstream commit b73b2069528f90ec49d5fa1010a759baa2c2be05 ] When tracing is disabled, there is no point in asking the user about enabling Broadcom wireless device tracing. Fixes: f5c4f10852d42012 ("brcm80211: Allow trace support to be enabled separately from debug") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://patch.msgid.link/81a29b15eaacc1ac1fb421bdace9ac0c3385f40f.1727179742.git.geert@linux-m68k.org Signed-off-by: Sasha Levin <sashal@kernel.org>
40 lines
1.3 KiB
Text
Executable file
40 lines
1.3 KiB
Text
Executable file
# SPDX-License-Identifier: GPL-2.0-only
|
|
config BRCMUTIL
|
|
tristate
|
|
|
|
config BRCMSMAC
|
|
tristate "Broadcom IEEE802.11n PCIe SoftMAC WLAN driver"
|
|
depends on MAC80211
|
|
depends on BCMA_POSSIBLE
|
|
select BCMA
|
|
select NEW_LEDS if BCMA_DRIVER_GPIO
|
|
select LEDS_CLASS if BCMA_DRIVER_GPIO
|
|
select BRCMUTIL
|
|
select FW_LOADER
|
|
select CORDIC
|
|
help
|
|
This module adds support for PCIe wireless adapters based on Broadcom
|
|
IEEE802.11n SoftMAC chipsets. It also has WLAN led support, which will
|
|
be available if you select BCMA_DRIVER_GPIO. If you choose to build a
|
|
module, the driver will be called brcmsmac.ko.
|
|
|
|
source "drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig"
|
|
|
|
config BRCM_TRACING
|
|
bool "Broadcom device tracing"
|
|
depends on BRCMSMAC || BRCMFMAC
|
|
depends on TRACING
|
|
help
|
|
If you say Y here, the Broadcom wireless drivers will register
|
|
with ftrace to dump event information into the trace ringbuffer.
|
|
Tracing can be enabled at runtime to aid in debugging wireless
|
|
issues. This option adds a small amount of overhead when tracing
|
|
is disabled. If unsure, say Y to allow developers to better help
|
|
you when wireless problems occur.
|
|
|
|
config BRCMDBG
|
|
bool "Broadcom driver debug functions"
|
|
depends on BRCMSMAC || BRCMFMAC
|
|
select WANT_DEV_COREDUMP if BRCMFMAC
|
|
help
|
|
Selecting this enables additional code for debug purposes.
|