Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2021
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.56 KB | None | 0 0
  1. diff --git a/drivers/net/dsa/lantiq_gswip.c b/drivers/net/dsa/lantiq_gswip.c
  2. index 4b36d89bec06..1bda0cc20520 100644
  3. --- a/drivers/net/dsa/lantiq_gswip.c
  4. +++ b/drivers/net/dsa/lantiq_gswip.c
  5. @@ -1530,7 +1530,8 @@ static void gswip_phylink_mac_link_up(struct dsa_switch *ds, int port,
  6.  {
  7.     struct gswip_priv *priv = ds->priv;
  8.  
  9. -   gswip_mii_mask_cfg(priv, 0, GSWIP_MII_CFG_EN, port);
  10. +   gswip_mii_mask_cfg(priv, 0, GSWIP_MII_CFG_EN | GSWIP_MII_CFG_RATE_AUTO,
  11. +              port);
  12.  }
  13.  
  14.  static void gswip_get_strings(struct dsa_switch *ds, int port, u32 stringset,
  15.  
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement