|
|
@@ -14,7 +14,7 @@ Signed-off-by: René van Dorst <[email protected]>
|
|
|
|
|
|
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
|
|
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
|
|
-@@ -2779,6 +2779,7 @@ static const struct net_device_ops mtk_n
|
|
|
+@@ -2784,6 +2784,7 @@ static const struct net_device_ops mtk_n
|
|
|
|
|
|
static int mtk_add_mac(struct mtk_eth *eth, struct device_node *np)
|
|
|
{
|
|
|
@@ -22,7 +22,7 @@ Signed-off-by: René van Dorst <[email protected]>
|
|
|
const __be32 *_id = of_get_property(np, "reg", NULL);
|
|
|
struct phylink *phylink;
|
|
|
int phy_mode, id, err;
|
|
|
-@@ -2869,6 +2870,9 @@ static int mtk_add_mac(struct mtk_eth *e
|
|
|
+@@ -2874,6 +2875,9 @@ static int mtk_add_mac(struct mtk_eth *e
|
|
|
eth->netdev[id]->irq = eth->irq[0];
|
|
|
eth->netdev[id]->dev.of_node = np;
|
|
|
|