summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-3.9/423-bcm63xx_enet_add_b53_support.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-06-30 13:09:50 +0000
committerJonas Gorski <jogo@openwrt.org>2013-06-30 13:09:50 +0000
commit66f8f30f473eebdf2c36b5b4841ab23fb53726c7 (patch)
treeb8f2a4d30a0d804f47566dd7db0bba1f3879ccc7 /target/linux/brcm63xx/patches-3.9/423-bcm63xx_enet_add_b53_support.patch
parent12c033dfd90659fe6c4b7dc44cc91824be07c877 (diff)
downloadmtk-20170518-66f8f30f473eebdf2c36b5b4841ab23fb53726c7.zip
mtk-20170518-66f8f30f473eebdf2c36b5b4841ab23fb53726c7.tar.gz
mtk-20170518-66f8f30f473eebdf2c36b5b4841ab23fb53726c7.tar.bz2
bcm63xx: update patches
Update patches with their upstream versions. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37098
Diffstat (limited to 'target/linux/brcm63xx/patches-3.9/423-bcm63xx_enet_add_b53_support.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.9/423-bcm63xx_enet_add_b53_support.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/brcm63xx/patches-3.9/423-bcm63xx_enet_add_b53_support.patch b/target/linux/brcm63xx/patches-3.9/423-bcm63xx_enet_add_b53_support.patch
index 3bac8c4..5f3eafd 100644
--- a/target/linux/brcm63xx/patches-3.9/423-bcm63xx_enet_add_b53_support.patch
+++ b/target/linux/brcm63xx/patches-3.9/423-bcm63xx_enet_add_b53_support.patch
@@ -20,7 +20,7 @@
#include <bcm63xx_dev_enet.h>
#include "bcm63xx_enet.h"
-@@ -1991,7 +1992,8 @@ static int bcm_enet_remove(struct platfo
+@@ -1983,7 +1984,8 @@ static int bcm_enet_remove(struct platfo
return 0;
}
@@ -30,7 +30,7 @@
.probe = bcm_enet_probe,
.remove = bcm_enet_remove,
.driver = {
-@@ -2000,6 +2002,42 @@ struct platform_driver bcm63xx_enet_driv
+@@ -1992,6 +1994,42 @@ struct platform_driver bcm63xx_enet_driv
},
};
@@ -73,7 +73,7 @@
/*
* switch mii access callbacks
*/
-@@ -2248,29 +2286,6 @@ static int bcm_enetsw_open(struct net_de
+@@ -2245,29 +2283,6 @@ static int bcm_enetsw_open(struct net_de
enetsw_writeb(priv, rgmii_ctrl, ENETSW_RGMII_CTRL_REG(i));
}
@@ -103,7 +103,7 @@
/* initialize flow control buffer allocation */
enet_dma_writel(priv, ENETDMA_BUFALLOC_FORCE_MASK | 0,
ENETDMA_BUFALLOC_REG(priv->rx_chan));
-@@ -2738,6 +2753,9 @@ static int bcm_enetsw_probe(struct platf
+@@ -2727,6 +2742,9 @@ static int bcm_enetsw_probe(struct platf
struct bcm63xx_enetsw_platform_data *pd;
struct resource *res_mem;
int ret, irq_rx, irq_tx;
@@ -112,8 +112,8 @@
+ u8 val;
/* stop if shared driver failed, assume driver->probe will be
- * called in the same order we register devices (correct ?) */
-@@ -2825,6 +2843,43 @@ static int bcm_enetsw_probe(struct platf
+ * called in the same order we register devices (correct ?)
+@@ -2816,6 +2834,43 @@ static int bcm_enetsw_probe(struct platf
priv->pdev = pdev;
priv->net_dev = dev;
@@ -157,7 +157,7 @@
return 0;
out_put_clk:
-@@ -2855,6 +2910,9 @@ static int bcm_enetsw_remove(struct plat
+@@ -2844,6 +2899,9 @@ static int bcm_enetsw_remove(struct plat
priv = netdev_priv(dev);
unregister_netdev(dev);