Re: [PATCH v3 net-next 3/4] net: dsa: microchip: get port link status

2019-02-21 Thread Florian Fainelli
On 2/21/19 2:03 PM, tristram...@microchip.com wrote: > From: Tristram Ha > > Get port link status to know whether to read MIB counters when the link > is going down. Add port_cleanup function to read MIB counters the last > time as when the port is disabled the PHY is also powered down. > > Sig

Re: [PATCH v3 net-next 3/4] net: dsa: microchip: get port link status

2019-02-21 Thread Andrew Lunn
On Thu, Feb 21, 2019 at 02:03:16PM -0800, tristram...@microchip.com wrote: > From: Tristram Ha > > Get port link status to know whether to read MIB counters when the link > is going down. Add port_cleanup function to read MIB counters the last > time as when the port is disabled the PHY is also

[PATCH v3 net-next 3/4] net: dsa: microchip: get port link status

2019-02-21 Thread Tristram.Ha
From: Tristram Ha Get port link status to know whether to read MIB counters when the link is going down. Add port_cleanup function to read MIB counters the last time as when the port is disabled the PHY is also powered down. Signed-off-by: Tristram Ha --- drivers/net/dsa/microchip/ksz9477.c