net: dsa: mv88e6xxx: Add MV88E6165 AVB register access
authorAndrew Lunn <andrew@lunn.ch>
Wed, 18 Jul 2018 20:38:21 +0000 (22:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 22:05:38 +0000 (15:05 -0700)
commita469a61231e5f67de4289f2a7889f0665528b13b
treed9917e33a82fccccc96e63c26a50ac49747a1938
parent6d2ac8ee67d335983f1c9106fc8deebb89290505
net: dsa: mv88e6xxx: Add MV88E6165 AVB register access

The MV88E6165 PTP registers are all in AVB bank F, unlike newer
generations which spread them over AVB bank E and F. Implement AVB ops
for the MV88E6165 which hides this difference.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/global2.h
drivers/net/dsa/mv88e6xxx/global2_avb.c