linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/16] unify usb mcu layer between mt76x2u and mt76x0u drivers
@ 2018-08-25 10:40 Lorenzo Bianconi
       [not found] ` <20180825104056.9130-1-lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Bianconi @ 2018-08-25 10:40 UTC (permalink / raw)
  To: nbd-Vt+b4OUoWG0
  Cc: sgruszka-H+wXaHxf7aLQT0dZR+AlfA,
	linux-wireless-u79uwXL29TY76Z2rM5mHXA,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Use shared mt76u mcu routines available in mt76-usb module and
unify usb mcu layer between mt76x2u and mt76x0u drivers.
Remove unused mt76x0 routines.
This patchset is based on top of Stanislaw's patchset (not applied yet):
https://marc.info/?l=linux-wireless&m=153510933510810&w=2

Lorenzo Bianconi (16):
  mt76: move mt76_reg_pair definition in mt76.h
  mt76: split __mt76u_mcu_send_msg and mt76u_mcu_send_msg routines
  mt76: move mt76x2u_mcu_deinit routine in mt76-usb module
  mt76: add multiple regs read support to usb_mcu layer
  mt76x0: use mt76u_init for bus initialization
  mt76x0: remove mt76x0_vendor_reset routine
  mt76x0: remove mt76x0_vendor_single_wr routine
  mt76x0: remove mt76x0_mcu_msg_alloc routine
  mt76x0: use shared mt76 usb mcu completion
  mt76x0: remove mt76x0_complete_urb routine
  mt76x0: remove mt76x0_vendor_request routine
  mt76x0: remove unused mt76x0_wait_asic_ready routine
  mt76x0: use mt76u_mcu_send_msg utility routine to send fw cmds
  mt76x0: remove unused mt76x0_mcu structure
  mt76x0: use mt76u_mcu_fw_send_data for fw uploading
  mt76x0: remove unused routines for usb_buff alloc/free

 drivers/net/wireless/mediatek/mt76/mt76.h     |  14 +
 .../wireless/mediatek/mt76/mt76x0/Makefile    |   2 +-
 .../net/wireless/mediatek/mt76/mt76x0/core.c  |  34 --
 .../net/wireless/mediatek/mt76/mt76x0/dma.c   |   6 +-
 .../net/wireless/mediatek/mt76/mt76x0/init.c  |   7 +-
 .../net/wireless/mediatek/mt76/mt76x0/mcu.c   | 343 +++---------------
 .../net/wireless/mediatek/mt76/mt76x0/mcu.h   |   1 -
 .../wireless/mediatek/mt76/mt76x0/mt76x0.h    |  21 --
 .../net/wireless/mediatek/mt76/mt76x0/usb.c   | 213 +----------
 .../net/wireless/mediatek/mt76/mt76x0/usb.h   |  15 -
 .../mediatek/mt76/mt76x2_init_common.c        |  11 +-
 drivers/net/wireless/mediatek/mt76/mt76x2u.h  |   1 -
 .../net/wireless/mediatek/mt76/mt76x2u_init.c |   2 +-
 .../net/wireless/mediatek/mt76/mt76x2u_mcu.c  |   8 -
 drivers/net/wireless/mediatek/mt76/usb_mcu.c  |  75 +++-
 15 files changed, 134 insertions(+), 619 deletions(-)
 delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x0/core.c

-- 
2.18.0

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

* Re: [PATCH 00/16] unify usb mcu layer between mt76x2u and mt76x0u drivers
       [not found] ` <20180825104056.9130-1-lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2018-08-31  9:12   ` Stanislaw Gruszka
  0 siblings, 0 replies; 2+ messages in thread
From: Stanislaw Gruszka @ 2018-08-31  9:12 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: nbd-Vt+b4OUoWG0, linux-wireless-u79uwXL29TY76Z2rM5mHXA,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Sat, Aug 25, 2018 at 12:40:40PM +0200, Lorenzo Bianconi wrote:
> Use shared mt76u mcu routines available in mt76-usb module and
> unify usb mcu layer between mt76x2u and mt76x0u drivers.
> Remove unused mt76x0 routines.
> This patchset is based on top of Stanislaw's patchset (not applied yet):
> https://marc.info/?l=linux-wireless&m=153510933510810&w=2
> 
> Lorenzo Bianconi (16):
>   mt76: move mt76_reg_pair definition in mt76.h
>   mt76: split __mt76u_mcu_send_msg and mt76u_mcu_send_msg routines
>   mt76: move mt76x2u_mcu_deinit routine in mt76-usb module
>   mt76: add multiple regs read support to usb_mcu layer
>   mt76x0: use mt76u_init for bus initialization
>   mt76x0: remove mt76x0_vendor_reset routine
>   mt76x0: remove mt76x0_vendor_single_wr routine
>   mt76x0: remove mt76x0_mcu_msg_alloc routine
>   mt76x0: use shared mt76 usb mcu completion
>   mt76x0: remove mt76x0_complete_urb routine
>   mt76x0: remove mt76x0_vendor_request routine
>   mt76x0: remove unused mt76x0_wait_asic_ready routine
>   mt76x0: use mt76u_mcu_send_msg utility routine to send fw cmds
>   mt76x0: remove unused mt76x0_mcu structure
>   mt76x0: use mt76u_mcu_fw_send_data for fw uploading
>   mt76x0: remove unused routines for usb_buff alloc/free

For the series:

Reviewed-by: Stanislaw Gruszka <sgruszka-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

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

end of thread, other threads:[~2018-08-31  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-25 10:40 [PATCH 00/16] unify usb mcu layer between mt76x2u and mt76x0u drivers Lorenzo Bianconi
     [not found] ` <20180825104056.9130-1-lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-08-31  9:12   ` Stanislaw Gruszka

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).