[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180509153851.10207-1-vivien.didelot@savoirfairelinux.com>
Date: Wed, 9 May 2018 11:38:48 -0400
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
To: netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, kernel@...oirfairelinux.com,
Vivien Didelot <vivien.didelot@...oirfairelinux.com>,
davem@...emloft.net, andrew@...n.ch, f.fainelli@...il.com
Subject: [PATCH net-next 0/3] net: dsa: mv88e6xxx: cleanup Global Control 2 register
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
Powered by blists - more mailing lists