]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mt76: usb: move mt76x02 mcu code in mt76x02-usb module
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Sun, 9 Sep 2018 20:32:41 +0000 (22:32 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Sep 2018 10:31:23 +0000 (12:31 +0200)
commit905db7470199a39d7a48643df0559ffee26b989e
tree5359baa66cf1452d7f3e2f9f61620a8f6031487d
parent1750715726c6663a0ee202adbe1badef741d8004
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>
drivers/net/wireless/mediatek/mt76/Kconfig
drivers/net/wireless/mediatek/mt76/Makefile
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/mt76x0/mcu.c
drivers/net/wireless/mediatek/mt76/mt76x0/usb.c
drivers/net/wireless/mediatek/mt76/mt76x02_usb.h [new file with mode: 0644]
drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c [new file with mode: 0644]
drivers/net/wireless/mediatek/mt76/mt76x2_usb.c
drivers/net/wireless/mediatek/mt76/mt76x2u_mcu.c
drivers/net/wireless/mediatek/mt76/usb.c
drivers/net/wireless/mediatek/mt76/usb_mcu.c