OSDN Git Service

net: dsa: mv88e6xxx: add RMU disable op
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 9 May 2018 15:38:51 +0000 (11:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 20:12:47 +0000 (16:12 -0400)
commit9e5baf9b363673a8f78508c99a9d815da6ea7133
tree198c38f5cd1096e5639d6259777ce6a551267c95
parent23c9891996959dbde59333b8ed997d66b44fb3ff
net: dsa: mv88e6xxx: add RMU disable op

The RMU mode bits moved a lot within the Global Control 2 register of
the Marvell switch families. Add an .rmu_disable op to support at least
3 known alternatives.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/global1.c
drivers/net/dsa/mv88e6xxx/global1.h