OSDN Git Service

Merge branch 'dsa-mv88e6xxx-cleanup-Global-Control-2-register'
authorDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 20:12:53 +0000 (16:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 20:12:53 +0000 (16:12 -0400)
commitbfe1e616b3cdf1176a8f18ca26606ff00785a8de
tree198c38f5cd1096e5639d6259777ce6a551267c95
parent79a6fd232748c5ece3c20c04855d181d81bec348
parent9e5baf9b363673a8f78508c99a9d815da6ea7133
Merge branch 'dsa-mv88e6xxx-cleanup-Global-Control-2-register'

Vivien Didelot says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>