netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 00/12] net: dsa: b53/bcm_sf2 cleanups
@ 2017-09-19 17:46 Florian Fainelli
  2017-09-19 17:46 ` [PATCH net-next v3 01/12] net: dsa: b53: Remove is_cpu_port() Florian Fainelli
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Florian Fainelli @ 2017-09-19 17:46 UTC (permalink / raw)
  To: netdev; +Cc: davem, andrew, vivien.didelot, Florian Fainelli

Hi all,

This patch series is a first pass set of clean-ups to reduce the number of LOCs
between b53 and bcm_sf2 and sharing as many functions as possible.

There is a number of additional cleanups queued up locally that require more
thorough testing.

Thanks!

Changes in v3:

- remove one extra argument for the b53_build_io_op macro (David Laight)
- added additional Reviewed-by tags from Vivien

Changes in v2:

- added Reviewed-by tags from Vivien
- added a missing EXPORT_SYMBOL() in patch 8
- fixed a typo in patch 5

Florian Fainelli (12):
  net: dsa: b53: Remove is_cpu_port()
  net: dsa: b53: Make b53_enable_cpu_port() take a port argument
  net: dsa: b53: Defer port enabling to calling port_enable
  net: dsa: bcm_sf2: Defer port enabling to calling port_enable
  net: dsa: b53: Use a macro to define I/O operations
  net: dsa: b53: Move Broadcom header setup to b53
  net: dsa: b53: Define EEE register page
  net: dsa: b53: Move EEE functions to b53
  net: dsa: b53: Wire-up EEE
  net: dsa: b53: Export b53_imp_vlan_setup()
  net: dsa: bcm_sf2: Use SF2_NUM_EGRESS_QUEUES for CFP
  net: dsa: bcm_sf2: Utilize b53_{enable,disable}_port

 drivers/net/dsa/b53/b53_common.c | 151 ++++++++++++++++++++++++++++++++----
 drivers/net/dsa/b53/b53_priv.h   | 145 ++++++++---------------------------
 drivers/net/dsa/b53/b53_regs.h   |  48 ++++++++++++
 drivers/net/dsa/bcm_sf2.c        | 161 +++------------------------------------
 drivers/net/dsa/bcm_sf2.h        |   2 -
 drivers/net/dsa/bcm_sf2_cfp.c    |   6 +-
 drivers/net/dsa/bcm_sf2_regs.h   |  11 ---
 7 files changed, 228 insertions(+), 296 deletions(-)

-- 
2.9.3

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

end of thread, other threads:[~2017-09-19 23:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-19 17:46 [PATCH net-next v3 00/12] net: dsa: b53/bcm_sf2 cleanups Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 01/12] net: dsa: b53: Remove is_cpu_port() Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 02/12] net: dsa: b53: Make b53_enable_cpu_port() take a port argument Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 03/12] net: dsa: b53: Defer port enabling to calling port_enable Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 04/12] net: dsa: bcm_sf2: " Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 05/12] net: dsa: b53: Use a macro to define I/O operations Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 06/12] net: dsa: b53: Move Broadcom header setup to b53 Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 07/12] net: dsa: b53: Define EEE register page Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 08/12] net: dsa: b53: Move EEE functions to b53 Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 09/12] net: dsa: b53: Wire-up EEE Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 10/12] net: dsa: b53: Export b53_imp_vlan_setup() Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 11/12] net: dsa: bcm_sf2: Use SF2_NUM_EGRESS_QUEUES for CFP Florian Fainelli
2017-09-19 17:46 ` [PATCH net-next v3 12/12] net: dsa: bcm_sf2: Utilize b53_{enable,disable}_port Florian Fainelli
2017-09-19 23:09 ` [PATCH net-next v3 00/12] net: dsa: b53/bcm_sf2 cleanups David Miller

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