On 12/06/2017 01:55 PM, tristram...@microchip.com wrote:
>>> +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
>>
> > +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
Hi Tristram
> +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 wh
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| 13 +
drivers/net/dsa/microchip/ksz_common.c | 20
drivers/net/dsa/microch