RE: [PATCH RFC 1/6] net: dsa: microchip: Prepare PHY for proper advertisement

2018-12-06 Thread Tristram.Ha
> > +static void ksz9477_phy_setup(struct ksz_device *dev, int port, > > + struct phy_device *phy) > > +{ > > + if (port < dev->phy_port_cnt) { > > + /* SUPPORTED_Asym_Pause and SUPPORTED_Pause can be > removed to > > +* disable flow control when rate

Re: [PATCH RFC 1/6] net: dsa: microchip: Prepare PHY for proper advertisement

2018-12-05 Thread Andrew Lunn
On Mon, Dec 03, 2018 at 03:34:52PM -0800, tristram...@microchip.com wrote: > From: Tristram Ha > > Prepare PHY for proper advertisement and get link status for the port. > > Signed-off-by: Tristram Ha > Reviewed-by: Woojung Huh > --- > drivers/net/dsa/microchip/ksz9477.c| 12

[PATCH RFC 1/6] net: dsa: microchip: Prepare PHY for proper advertisement

2018-12-03 Thread Tristram.Ha
From: Tristram Ha Prepare PHY for proper advertisement and get link status for the port. Signed-off-by: Tristram Ha Reviewed-by: Woojung Huh --- drivers/net/dsa/microchip/ksz9477.c| 12 drivers/net/dsa/microchip/ksz_common.c | 17 + drivers/net/dsa/microchip/k