]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: dsa: mv88e6xxx: Abstract PTP operations
authorAndrew Lunn <andrew@lunn.ch>
Wed, 18 Jul 2018 20:38:20 +0000 (22:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 22:05:38 +0000 (15:05 -0700)
commit6d2ac8ee67d335983f1c9106fc8deebb89290505
tree99d7c7f21f61f32a7f0dab5748dd1813b0513a56
parent0725345e5f05688ae56ca706fcc7aaff9a77313e
net: dsa: mv88e6xxx: Abstract PTP operations

The mv88e6165 family supports PTP, but its registers use a different
layout to the currently supported devices. Abstract accessing the PTP
registers into a set of ops, so making space for a second
implementation.

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/chip.h
drivers/net/dsa/mv88e6xxx/ptp.c
drivers/net/dsa/mv88e6xxx/ptp.h