netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/13] net: dsa: mv88e6xxx: port macros cosmetics
@ 2017-06-12 16:37 Vivien Didelot
  2017-06-12 16:37 ` [PATCH net-next 01/13] net: dsa: mv88e6xxx: prefix Port Status macros Vivien Didelot
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Vivien Didelot @ 2017-06-12 16:37 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, kernel, David S. Miller, Florian Fainelli,
	Andrew Lunn, Vivien Didelot

This patch series brings no functional changes.

It prefixes all common port registers macros with MV88E6XXX_PORT.
If registers or some bits differs between switch models, a reference
model is chosen (e.g. MV88E6390_PORT_MAC_CTL_SPEED_10000.)

The register names are documented as found in the datasheets.

Avoid BIT() and shifts defines and prefer a better representation of the
Marvell switch registers with ordered, hexadecimal, 16-bit values.

Vivien Didelot (13):
  net: dsa: mv88e6xxx: prefix Port Status macros
  net: dsa: mv88e6xxx: prefix Port MAC Control macros
  net: dsa: mv88e6xxx: prefix Port Jamming macros
  net: dsa: mv88e6xxx: prefix Port Switch ID macros
  net: dsa: mv88e6xxx: prefix Port Control macros
  net: dsa: mv88e6xxx: prefix Port Control 1 macros
  net: dsa: mv88e6xxx: prefix Port Based VLAN macros
  net: dsa: mv88e6xxx: prefix Port Default VLAN macros
  net: dsa: mv88e6xxx: prefix Port Control 2 macros
  net: dsa: mv88e6xxx: prefix Port Egress Rate Control macros
  net: dsa: mv88e6xxx: prefix Port Association Vector macros
  net: dsa: mv88e6xxx: prefix Port IEEE Priority mapping macros
  net: dsa: mv88e6xxx: prefix remaining port macros

 drivers/net/dsa/mv88e6xxx/chip.c   |  90 ++++-----
 drivers/net/dsa/mv88e6xxx/port.c   | 336 ++++++++++++++++----------------
 drivers/net/dsa/mv88e6xxx/port.h   | 379 +++++++++++++++++++++----------------
 drivers/net/dsa/mv88e6xxx/serdes.c |  38 ++--
 4 files changed, 462 insertions(+), 381 deletions(-)

-- 
2.13.1

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

end of thread, other threads:[~2017-06-13 15:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-12 16:37 [PATCH net-next 00/13] net: dsa: mv88e6xxx: port macros cosmetics Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 01/13] net: dsa: mv88e6xxx: prefix Port Status macros Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 02/13] net: dsa: mv88e6xxx: prefix Port MAC Control macros Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 03/13] net: dsa: mv88e6xxx: prefix Port Jamming macros Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 04/13] net: dsa: mv88e6xxx: prefix Port Switch ID macros Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 05/13] net: dsa: mv88e6xxx: prefix Port Control macros Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 06/13] net: dsa: mv88e6xxx: prefix Port Control 1 macros Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 07/13] net: dsa: mv88e6xxx: prefix Port Based VLAN macros Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 08/13] net: dsa: mv88e6xxx: prefix Port Default " Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 09/13] net: dsa: mv88e6xxx: prefix Port Control 2 macros Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 10/13] net: dsa: mv88e6xxx: prefix Port Egress Rate Control macros Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 11/13] net: dsa: mv88e6xxx: prefix Port Association Vector macros Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 12/13] net: dsa: mv88e6xxx: prefix Port IEEE Priority mapping macros Vivien Didelot
2017-06-12 16:37 ` [PATCH net-next 13/13] net: dsa: mv88e6xxx: prefix remaining port macros Vivien Didelot
2017-06-13 15:23 ` [PATCH net-next 00/13] net: dsa: mv88e6xxx: port macros cosmetics 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).