aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-3.10/205-bgmac-add-srab-switch.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-10-02 22:24:01 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-10-02 22:24:01 +0000
commit66144f5c63315ee1008e752de76b842f0743cb31 (patch)
treec2937dedf1cac0a33baaddf9b2720a7afe2abef7 /target/linux/bcm53xx/patches-3.10/205-bgmac-add-srab-switch.patch
parent0415b1d80f7397aa4b6ecf3e3aa61ac6755b88e5 (diff)
downloadmaster-187ad058-66144f5c63315ee1008e752de76b842f0743cb31.tar.gz
master-187ad058-66144f5c63315ee1008e752de76b842f0743cb31.tar.bz2
master-187ad058-66144f5c63315ee1008e752de76b842f0743cb31.zip
kernel: bgmac: move bgmac patches already applied in mainline kernel to generic
The bgmac driver will be used on the brcm47xx and the bcm53xx target. These are only the patches already applied in current net-next/master branch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38288 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/bcm53xx/patches-3.10/205-bgmac-add-srab-switch.patch')
-rw-r--r--target/linux/bcm53xx/patches-3.10/205-bgmac-add-srab-switch.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/bcm53xx/patches-3.10/205-bgmac-add-srab-switch.patch b/target/linux/bcm53xx/patches-3.10/205-bgmac-add-srab-switch.patch
index 195336b716..cb498154a4 100644
--- a/target/linux/bcm53xx/patches-3.10/205-bgmac-add-srab-switch.patch
+++ b/target/linux/bcm53xx/patches-3.10/205-bgmac-add-srab-switch.patch
@@ -8,7 +8,7 @@
#ifdef CONFIG_BCM47XX
#include <bcm47xx_nvram.h>
#else
-@@ -1396,6 +1397,17 @@ static void bgmac_mii_unregister(struct
+@@ -1424,6 +1425,17 @@ static void bgmac_mii_unregister(struct
mdiobus_free(mii_bus);
}
@@ -26,7 +26,7 @@
/**************************************************
* BCMA bus ops
**************************************************/
-@@ -1495,6 +1507,16 @@ static int bgmac_probe(struct bcma_devic
+@@ -1523,6 +1535,16 @@ static int bgmac_probe(struct bcma_devic
goto err_dma_free;
}
@@ -43,7 +43,7 @@
err = register_netdev(bgmac->net_dev);
if (err) {
bgmac_err(bgmac, "Cannot register net device\n");
-@@ -1524,6 +1546,10 @@ static void bgmac_remove(struct bcma_dev
+@@ -1552,6 +1574,10 @@ static void bgmac_remove(struct bcma_dev
{
struct bgmac *bgmac = bcma_get_drvdata(core);
@@ -56,7 +56,7 @@
bgmac_mii_unregister(bgmac);
--- a/drivers/net/ethernet/broadcom/bgmac.h
+++ b/drivers/net/ethernet/broadcom/bgmac.h
-@@ -428,6 +428,9 @@ struct bgmac {
+@@ -430,6 +430,9 @@ struct bgmac {
bool has_robosw;
bool loopback;