summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-12-26 23:27:52 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-12-26 23:27:52 +0000
commit961d5b4453e785abd2b053977af54681d64b0b09 (patch)
treee4e7e6b80657664175b1492d2ff2123ee2be6788 /target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch
parentbc3d934148144bd0bb67e5a8c569bc707e57bf9e (diff)
downloadmtk-20170518-961d5b4453e785abd2b053977af54681d64b0b09.zip
mtk-20170518-961d5b4453e785abd2b053977af54681d64b0b09.tar.gz
mtk-20170518-961d5b4453e785abd2b053977af54681d64b0b09.tar.bz2
brcm47xx: b44: This updates the phylib patches to the version send upstream
This uses a fixed phy instead of a dummy one. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39166
Diffstat (limited to 'target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch b/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch
index ec38189..c61254d 100644
--- a/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch
+++ b/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
-@@ -31,6 +31,7 @@
+@@ -34,6 +34,7 @@
#include <linux/ssb/ssb.h>
#include <linux/ssb/ssb_embedded.h>
#include <linux/bcma/bcma_soc.h>
@@ -8,9 +8,9 @@
#include <asm/bootinfo.h>
#include <asm/prom.h>
#include <asm/reboot.h>
-@@ -239,6 +240,33 @@ void __init plat_mem_setup(void)
- mips_set_machine_name(bcm47xx_board_get_name());
- }
+@@ -248,6 +249,33 @@ static struct fixed_phy_status bcm47xx_f
+ .duplex = DUPLEX_FULL,
+ };
+static struct gpio_wdt_platform_data gpio_wdt_data;
+
@@ -42,10 +42,10 @@
static int __init bcm47xx_register_bus_complete(void)
{
switch (bcm47xx_bus_type) {
-@@ -253,6 +281,8 @@ static int __init bcm47xx_register_bus_c
- break;
+@@ -263,6 +291,8 @@ static int __init bcm47xx_register_bus_c
#endif
}
+ fixed_phy_add(PHY_POLL, 0, &bcm47xx_fixed_phy_status);
+ bcm47xx_register_gpio_watchdog();
+
return 0;