net: dsa: mv88e6xxx: Set PTP Ethertype
authorAndrew Lunn <andrew@lunn.ch>
Wed, 18 Jul 2018 20:38:26 +0000 (22:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 22:05:38 +0000 (15:05 -0700)
commit2dbed245b408f3e458345b974c862447a73c73c0
tree2211b9f3fb5ccb67d243b52b20d6be11812a915a
parente2294a8bf52b8bf1bab52b4165ffdceec4a143e0
net: dsa: mv88e6xxx: Set PTP Ethertype

For the 6352 and newer switches, the PTP Ethertype defaults to
ETH_P_1588. Hence it was not explicitly set. The 6165 however defaults
to 0. So explicitly set the EtherType.

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