|
|
|
@ -18,7 +18,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> |
|
|
|
|
|
|
|
|
|
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
|
|
|
|
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
|
|
|
|
@@ -1976,14 +1976,16 @@ static int mtk_hw_init(struct mtk_eth *e
|
|
|
|
|
@@ -1977,14 +1977,16 @@ static int mtk_hw_init(struct mtk_eth *e
|
|
|
|
|
}
|
|
|
|
|
regmap_write(eth->ethsys, ETHSYS_SYSCFG0, val);
|
|
|
|
|
|
|
|
|
@ -41,7 +41,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> |
|
|
|
|
|
|
|
|
|
/* Set linkdown as the default for each GMAC. Its own MCR would be set
|
|
|
|
|
* up with the more appropriate value when mtk_phy_link_adjust call is
|
|
|
|
|
@@ -2568,11 +2570,13 @@ static int mtk_probe(struct platform_dev
|
|
|
|
|
@@ -2569,11 +2571,13 @@ static int mtk_probe(struct platform_dev
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -60,7 +60,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> |
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (i = 0; i < 3; i++) {
|
|
|
|
|
@@ -2698,17 +2702,20 @@ static int mtk_remove(struct platform_de
|
|
|
|
|
@@ -2699,17 +2703,20 @@ static int mtk_remove(struct platform_de
|
|
|
|
|
|
|
|
|
|
static const struct mtk_soc_data mt2701_data = {
|
|
|
|
|
.caps = MTK_GMAC1_TRGMII,
|
|
|
|
|