diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-12-03 04:35:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-03 23:15:00 -0500 |
commit | 33641994a676f43f59d5fe02916c3965983522c2 (patch) | |
tree | e01b3722a1365c33db444f8e3a91e87238e8fa5f | |
parent | ef0a731882a2bf120511072a08d973f65d00d979 (diff) |
net: dsa: mv88e6xxx: Monitor and Management tables
The mv88e6390 changes the monitor control register into the Monitor
and Management control, which is an indirection register to various
registers.
Add ops to set the CPU port and the ingress/egress port for both
register layouts, to global1
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/chip.c | 68 | ||||
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/global1.c | 69 | ||||
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/global1.h | 4 | ||||
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 13 |
4 files changed, 145 insertions, 9 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c |