[PATCH net-next v2 00/10] net: dsa: Global 2 cosmetics

From: Vivien Didelot
Date: Mon Jun 19 2017 - 11:02:23 EST


Similarly to what has been done for the Port and Global 1 registers,
this patch series prefixes and documents the macros of Global 2.

It brings no functional changes except for 1/10 which fixes the IRL init
for 88E6390 family.

Changes in v2: make *_g2_irl_init_all static inline without
NET_DSA_MV88E6XXX_GLOBAL2 and compile test with and without the symbol.

Vivien Didelot (10):
net: dsa: mv88e6xxx: add irl_init_all op
net: dsa: mv88e6xxx: clarify SMI PHY functions
net: dsa: mv88e6xxx: prefix Global 2 Trunk macros
net: dsa: mv88e6xxx: prefix Global 2 Device Mapping macros
net: dsa: mv88e6xxx: prefix Global 2 MGMT macros
net: dsa: mv88e6xxx: prefix Global 2 PVT macros
net: dsa: mv88e6xxx: prefix Global 2 EEPROM macros
net: dsa: mv88e6xxx: prefix Global 2 Switch MAC macros
net: dsa: mv88e6xxx: prefix Global 2 Watchdog macros
net: dsa: mv88e6xxx: prefix Global 2 remaining macros

drivers/net/dsa/mv88e6xxx/chip.c | 47 ++++
drivers/net/dsa/mv88e6xxx/chip.h | 19 +-
drivers/net/dsa/mv88e6xxx/global2.c | 449 ++++++++++++++++++++----------------
drivers/net/dsa/mv88e6xxx/global2.h | 311 ++++++++++++++++---------
4 files changed, 503 insertions(+), 323 deletions(-)

--
2.13.1