commit | 7ff4f3f315db361e35c1d61a6fdbfddbe345b633 | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Tue May 26 17:01:48 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed May 27 14:54:31 2020 -0700 |
tree | ececb79102dfaf8b12b111ab45c921fa73d48dfb | |
parent | 626a83238e6a63d88a5b5291febe797b244b5f18 [diff] |
net: mscc: use the PHY MII ioctl interface when possible Allow ioctl to be implemented by the PHY, when a PHY is attached to the Ocelot switch. In case the ioctl is a request to set or get the hardware timestamp, use the Ocelot switch implementation for now. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>