mbox series

[v2,0/2] move dma shared code in mt76 module

Message ID cover.1550162430.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series move dma shared code in mt76 module | expand

Message

Lorenzo Bianconi Feb. 14, 2019, 4:50 p.m. UTC
From: Lorenzo Bianconi <lorenzo@kernel.org>

Move mt76x02/mt7603 dma shared code in mmio.c/dma.c in order to be
reused adding support for mt7603 driver

Changes since v1:
- remove mt76_irq_enable/mt76_irq_disable
- move dma queue initialization in mt76_dma_alloc_queue
- move mt76_irq_enable call into the driver specific
  inline functions

Lorenzo Bianconi (2):
  mt76: mmio: move mt76x02_set_irq_mask in mt76 module
  mt76: dma: move mt76x02_init_{tx,rx}_queue in mt76 module

 drivers/net/wireless/mediatek/mt76/dma.c      |  9 +++-
 drivers/net/wireless/mediatek/mt76/mmio.c     | 13 +++++
 drivers/net/wireless/mediatek/mt76/mt76.h     |  6 ++-
 drivers/net/wireless/mediatek/mt76/mt76x02.h  | 37 ++++++++++++--
 .../net/wireless/mediatek/mt76/mt76x02_mmio.c | 50 -------------------
 5 files changed, 60 insertions(+), 55 deletions(-)