lkml.org 
[lkml]   [2016]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 net-next v2 00/12] net: dsa: mv88e6xxx: Global2 cleanup and STP
Date
The Marvell switches registers are organized in distinct internal SMI
devices, such as PHY, Port, Global 1 or Global 2 registers sets.

Since not all chips support every registers sets or have slightly
differences in them (such as old 88E6060 or new 88E6390 likely to be
supported soon), make the setup code clearer now by removing a few
family checks and adding flags to describe the Global 2 registers map.

This patchset enables basic STP support and bridging on most chips when
getting rid of a few inconsistencies in chip descriptions (patch 1) and
add bridge Ageing Time support to DSA and the mv88e6xxx driver.

Changes v1 -> v2:
- add a write helper for pointer-data Update registers
- add ageing time support

Vivien Didelot (12):
net: dsa: mv88e6xxx: remove basic function flags
net: dsa: mv88e6xxx: split setup of Global 1 and 2
net: dsa: mv88e6xxx: extract device mapping
net: dsa: mv88e6xxx: extract trunk mapping
net: dsa: mv88e6xxx: add cap for MGMT Enables bits
net: dsa: mv88e6xxx: rework Switch MAC setter
net: dsa: mv88e6xxx: add cap for PVT
net: dsa: mv88e6xxx: add cap for Priority Override
net: dsa: mv88e6xxx: add cap for IRL
net: dsa: support switchdev ageing time attr
net: dsa: mv88e6xxx: add G1 helper for ageing time
net: dsa: mv88e6xxx: add support for DSA ageing time

drivers/net/dsa/mv88e6xxx/chip.c | 521 ++++++++++++++++++++++------------
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 148 ++++++----
include/net/dsa.h | 1 +
net/dsa/slave.c | 22 ++
4 files changed, 457 insertions(+), 235 deletions(-)

--
2.9.0

\
 
 \ /
  Last update: 2016-07-18 21:21    [W:0.107 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site