aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-4.4/0090-net-mediatek-v4.4-backports.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/patches-4.4/0090-net-mediatek-v4.4-backports.patch')
-rw-r--r--target/linux/mediatek/patches-4.4/0090-net-mediatek-v4.4-backports.patch15
1 files changed, 5 insertions, 10 deletions
diff --git a/target/linux/mediatek/patches-4.4/0090-net-mediatek-v4.4-backports.patch b/target/linux/mediatek/patches-4.4/0090-net-mediatek-v4.4-backports.patch
index f26eaeaccc..8dcba36677 100644
--- a/target/linux/mediatek/patches-4.4/0090-net-mediatek-v4.4-backports.patch
+++ b/target/linux/mediatek/patches-4.4/0090-net-mediatek-v4.4-backports.patch
@@ -7,11 +7,9 @@ Subject: [PATCH 90/91] net: mediatek: v4.4 backports
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
-diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-index bb62b91..5d33053 100644
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -207,7 +207,7 @@ static int mtk_phy_connect_node(struct mtk_eth *eth, struct mtk_mac *mac,
+@@ -207,7 +207,7 @@ static int mtk_phy_connect_node(struct m
dev_info(eth->dev,
"connected mac %d to PHY at %s [uid=%08x, driver=%s]\n",
@@ -20,7 +18,7 @@ index bb62b91..5d33053 100644
phydev->drv->name);
mac->phy_dev = phydev;
-@@ -1268,9 +1268,10 @@ static irqreturn_t mtk_handle_irq_rx(int irq, void *_eth)
+@@ -1268,9 +1268,10 @@ static irqreturn_t mtk_handle_irq_rx(int
return IRQ_NONE;
if (status & MTK_RX_DONE_INT) {
@@ -33,7 +31,7 @@ index bb62b91..5d33053 100644
}
mtk_w32(eth, status, MTK_QMTK_INT_STATUS);
-@@ -1289,9 +1290,10 @@ static irqreturn_t mtk_handle_irq_tx(int irq, void *_eth)
+@@ -1289,9 +1290,10 @@ static irqreturn_t mtk_handle_irq_tx(int
return IRQ_NONE;
if (status & MTK_TX_DONE_INT) {
@@ -46,7 +44,7 @@ index bb62b91..5d33053 100644
}
mtk_w32(eth, status, MTK_QMTK_INT_STATUS);
-@@ -1383,6 +1385,7 @@ static int mtk_stop(struct net_device *dev)
+@@ -1383,6 +1385,7 @@ static int mtk_stop(struct net_device *d
struct mtk_mac *mac = netdev_priv(dev);
struct mtk_eth *eth = mac->hw;
@@ -54,7 +52,7 @@ index bb62b91..5d33053 100644
netif_tx_disable(dev);
phy_stop(mac->phy_dev);
-@@ -1582,11 +1585,13 @@ static int mtk_set_settings(struct net_device *dev,
+@@ -1582,11 +1585,13 @@ static int mtk_set_settings(struct net_d
{
struct mtk_mac *mac = netdev_priv(dev);
@@ -72,6 +70,3 @@ index bb62b91..5d33053 100644
}
return phy_ethtool_sset(mac->phy_dev, cmd);
---
-1.7.10.4
-