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
