aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-09-16 19:49:02 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-09-16 19:49:02 +0000
commitbc5b56f42b7185e1dc41aab77b2c1f98410918bf (patch)
treeaa35a604f7e8580bffcaa6bb146ef79540e3fcfc /target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch
parent23c34e820cf7db031848a261b06590819d588d2c (diff)
downloadupstream-bc5b56f42b7185e1dc41aab77b2c1f98410918bf.tar.gz
upstream-bc5b56f42b7185e1dc41aab77b2c1f98410918bf.tar.bz2
upstream-bc5b56f42b7185e1dc41aab77b2c1f98410918bf.zip
brcm47xx: detect Linksys E1200 V2
This adds detection for Linksys E1200 V2 Thank you Lightsword and RafaƂ. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38006
Diffstat (limited to 'target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch b/target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch
index b172797bfc..c136fedccf 100644
--- a/target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch
+++ b/target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch
@@ -8,7 +8,7 @@
obj-$(CONFIG_BCM47XX_SSB) += wgt634u.o
--- /dev/null
+++ b/arch/mips/bcm47xx/board.c
-@@ -0,0 +1,286 @@
+@@ -0,0 +1,287 @@
+#include <linux/export.h>
+#include <linux/string.h>
+#include <bcm47xx_board.h>
@@ -123,6 +123,7 @@
+ {{BCM47XX_BOARD_LINKSYS_E1000V1, "Linksys E1000 V1"}, "E100", "1.0"}, /* like WRT160N v3.0 */
+ {{BCM47XX_BOARD_LINKSYS_E1000V2, "Linksys E1000 V2"}, "E1000", "2.0"},
+ {{BCM47XX_BOARD_LINKSYS_E1000V21, "Linksys E1000 V2.1"}, "E1000", "2.1"},
++ {{BCM47XX_BOARD_LINKSYS_E1200V2, "Linksys E1200 V2"}, "E1200", "2.0"},
+ {{BCM47XX_BOARD_LINKSYS_E2000V1, "Linksys E2000 V1"}, "Linksys E2000", "1.0"},
+ {{BCM47XX_BOARD_LINKSYS_E3000V1, "Linksys E3000 V1"}, "E300", "1.0"}, /* like WRT610N v2.0 */
+ {{BCM47XX_BOARD_LINKSYS_E3200V1, "Linksys E3200 V1"}, "E3200", "1.0"},
@@ -297,7 +298,7 @@
+EXPORT_SYMBOL(bcm47xx_board_get_name);
--- /dev/null
+++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h
-@@ -0,0 +1,104 @@
+@@ -0,0 +1,105 @@
+#ifndef __BCM47XX_BOARD_H
+#define __BCM47XX_BOARD_H
+
@@ -352,6 +353,7 @@
+ BCM47XX_BOARD_LINKSYS_E1000V1,
+ BCM47XX_BOARD_LINKSYS_E1000V2,
+ BCM47XX_BOARD_LINKSYS_E1000V21,
++ BCM47XX_BOARD_LINKSYS_E1200V2,
+ BCM47XX_BOARD_LINKSYS_E2000V1,
+ BCM47XX_BOARD_LINKSYS_E3000V1,
+ BCM47XX_BOARD_LINKSYS_E3200V1,