]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Add hwtimestamp support for the 6165
authorAndrew Lunn <andrew@lunn.ch>
Wed, 18 Jul 2018 20:38:25 +0000 (22:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 22:05:38 +0000 (15:05 -0700)
commit4319228973a5c34d3c407a0cf4876a5b15bebf6f
treeed566e3d41e9ae6358e3087083d391394d7db607
parent51596f1ef8e3297f7c6424702f59e2fbace10679
net: dsa: mv88e6xxx: Add hwtimestamp support for the 6165

The 6165 family supports a more restricted version of hardware time
stamps. Only L2 PTP is supported. All ports have to use the same
EtherType, and transport spec configuration. PTP can only be
enabled/disabled globally, not per port.

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