summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/Kconfig
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-09-09 22:32:41 +0200
committerFelix Fietkau <nbd@nbd.name>2018-09-19 12:31:23 +0200
commit905db7470199a39d7a48643df0559ffee26b989e (patch)
tree5359baa66cf1452d7f3e2f9f61620a8f6031487d /drivers/net/wireless/mediatek/mt76/Kconfig
parent1750715726c6663a0ee202adbe1badef741d8004 (diff)
downloadlinux-905db7470199a39d7a48643df0559ffee26b989e.tar.bz2
mt76: usb: move mt76x02 mcu code in mt76x02-usb module
Introduce mt76x02_usb_mcu.c in order to contain mt76x02u mcu related code. Add mt76x02-usb module as a container for mt76x02 usb code. This is a preliminary patch to move MT_TXD_INFO, MT_MCU_MSG and MT_RX_FCE_INFO defs in mt76x02-lib module since other chipsets (e.g. mt7603) use different dma definitions Acked-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/Kconfig')
-rw-r--r--drivers/net/wireless/mediatek/mt76/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/Kconfig b/drivers/net/wireless/mediatek/mt76/Kconfig
index e460a3a5e763..7f24aad94efd 100644
--- a/drivers/net/wireless/mediatek/mt76/Kconfig
+++ b/drivers/net/wireless/mediatek/mt76/Kconfig
@@ -9,6 +9,10 @@ config MT76x02_LIB
tristate
select MT76_CORE
+config MT76x02_USB
+ tristate
+ select MT76_USB
+
config MT76x0_COMMON
tristate
select MT76x02_LIB
@@ -20,7 +24,7 @@ config MT76x2_COMMON
config MT76x0U
tristate "MediaTek MT76x0U (USB) support"
select MT76x0_COMMON
- select MT76_USB
+ select MT76x02_USB
depends on MAC80211
depends on USB
help
@@ -45,7 +49,7 @@ config MT76x2E
config MT76x2U
tristate "MediaTek MT76x2U (USB) support"
select MT76x2_COMMON
- select MT76_USB
+ select MT76x02_USB
depends on MAC80211
depends on USB
help