Re: [PATCH net-next 1/2] net: mscc: use the PHY MII ioctl interface when possible

2020-05-27 Thread Andrew Lunn
On Tue, May 26, 2020 at 05:01:48PM +0200, Antoine Tenart wrote: > 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

[PATCH net-next 1/2] net: mscc: use the PHY MII ioctl interface when possible

2020-05-26 Thread Antoine Tenart
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 --- drivers/net/ethernet/mscc/ocelot.c | 20 +---