|
@@ -17,7 +17,7 @@ Signed-off-by: David S. Miller <[email protected]>
|
|
|
|
|
|
|
|
--- a/drivers/net/dsa/mt7530.c
|
|
--- a/drivers/net/dsa/mt7530.c
|
|
|
+++ b/drivers/net/dsa/mt7530.c
|
|
+++ b/drivers/net/dsa/mt7530.c
|
|
|
-@@ -2269,6 +2269,17 @@ static void mt753x_phylink_mac_link_up(s
|
|
|
|
|
|
|
+@@ -2270,6 +2270,17 @@ static void mt753x_phylink_mac_link_up(s
|
|
|
mcr |= PMCR_RX_FC_EN;
|
|
mcr |= PMCR_RX_FC_EN;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -35,7 +35,7 @@ Signed-off-by: David S. Miller <[email protected]>
|
|
|
mt7530_set(priv, MT7530_PMCR_P(port), mcr);
|
|
mt7530_set(priv, MT7530_PMCR_P(port), mcr);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-@@ -2499,6 +2510,36 @@ mt753x_phy_write(struct dsa_switch *ds,
|
|
|
|
|
|
|
+@@ -2500,6 +2511,36 @@ mt753x_phy_write(struct dsa_switch *ds,
|
|
|
return priv->info->phy_write(ds, port, regnum, val);
|
|
return priv->info->phy_write(ds, port, regnum, val);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -72,7 +72,7 @@ Signed-off-by: David S. Miller <[email protected]>
|
|
|
static const struct dsa_switch_ops mt7530_switch_ops = {
|
|
static const struct dsa_switch_ops mt7530_switch_ops = {
|
|
|
.get_tag_protocol = mtk_get_tag_protocol,
|
|
.get_tag_protocol = mtk_get_tag_protocol,
|
|
|
.setup = mt753x_setup,
|
|
.setup = mt753x_setup,
|
|
|
-@@ -2527,6 +2568,8 @@ static const struct dsa_switch_ops mt753
|
|
|
|
|
|
|
+@@ -2528,6 +2569,8 @@ static const struct dsa_switch_ops mt753
|
|
|
.phylink_mac_an_restart = mt753x_phylink_mac_an_restart,
|
|
.phylink_mac_an_restart = mt753x_phylink_mac_an_restart,
|
|
|
.phylink_mac_link_down = mt753x_phylink_mac_link_down,
|
|
.phylink_mac_link_down = mt753x_phylink_mac_link_down,
|
|
|
.phylink_mac_link_up = mt753x_phylink_mac_link_up,
|
|
.phylink_mac_link_up = mt753x_phylink_mac_link_up,
|