lkml.org 
[lkml]   [2018]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/3] net: dsa: mv88e6xxx: cleanup Global Control 2 register
Date
The mv88e6xxx driver still writes arbitrary values in the Global 1
Control 2 register at setup, which layout differs a lot between chips.
This results in an inconsistent configuration, for example with the
Remote Management Unit (RMU).

The first patch adds an operation for the Cascade Port bits, the second
patch sets the device number in the device mapping function and the
third patch adds an operation to correctly disable the RMU.

Vivien Didelot (3):
net: dsa: mv88e6xxx: add a cascade port op
net: dsa: mv88e6xxx: set device number
net: dsa: mv88e6xxx: add RMU disable op

drivers/net/dsa/mv88e6xxx/chip.c | 45 ++++++++++++++++++++++-----
drivers/net/dsa/mv88e6xxx/chip.h | 9 ++++++
drivers/net/dsa/mv88e6xxx/global1.c | 48 +++++++++++++++++++++++++++++
drivers/net/dsa/mv88e6xxx/global1.h | 30 ++++++++++++++++--
4 files changed, 122 insertions(+), 10 deletions(-)

--
2.17.0

\
 
 \ /
  Last update: 2018-05-09 17:40    [W:0.038 / U:2.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site