]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit202e8de6b69c5d4561c8cb549e70296f70559ce4
treed9917e33a82fccccc96e63c26a50ac49747a1938
parent40365dcaafd8aaea4c4c3fe3ba2b2336f2dc92d2
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