linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] move dma shared code in mt76 module
@ 2019-02-28 16:54 Lorenzo Bianconi
  2019-02-28 16:54 ` [PATCH v3 1/2] mt76: mmio: move mt76x02_set_irq_mask " Lorenzo Bianconi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lorenzo Bianconi @ 2019-02-28 16:54 UTC (permalink / raw)
  To: nbd; +Cc: linux-wireless, sgruszka, lorenzo.bianconi

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

Changes since v2:
- squash mt7603 changes

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 ++-
 .../net/wireless/mediatek/mt76/mt7603/core.c  | 11 ------
 .../net/wireless/mediatek/mt76/mt7603/dma.c   | 26 +++++--------
 .../wireless/mediatek/mt76/mt7603/mt7603.h    |  6 +--
 drivers/net/wireless/mediatek/mt76/mt76x02.h  |  5 +--
 .../net/wireless/mediatek/mt76/mt76x02_mmio.c | 38 +++++--------------
 8 files changed, 50 insertions(+), 64 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-01 11:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-28 16:54 [PATCH v3 0/2] move dma shared code in mt76 module Lorenzo Bianconi
2019-02-28 16:54 ` [PATCH v3 1/2] mt76: mmio: move mt76x02_set_irq_mask " Lorenzo Bianconi
2019-02-28 16:54 ` [PATCH v3 2/2] mt76: dma: move mt76x02_init_{tx,rx}_queue " Lorenzo Bianconi
2019-03-01 11:59 ` [PATCH v3 0/2] move dma shared code " Felix Fietkau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).