aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-09-16 19:53:09 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-09-16 19:53:09 +0000
commitc24af5a0a4f6afb8054b33e8a73c527b16652865 (patch)
tree25e81ee5856866bd3bdda6cc660b2e196befc5ab /target/linux/brcm47xx
parentff60f978206874183e7cc6b5f3a959f64ed38815 (diff)
downloadmaster-187ad058-c24af5a0a4f6afb8054b33e8a73c527b16652865.tar.gz
master-187ad058-c24af5a0a4f6afb8054b33e8a73c527b16652865.tar.bz2
master-187ad058-c24af5a0a4f6afb8054b33e8a73c527b16652865.zip
brcm47xx: add detection for Phicomm M1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38009 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx')
-rw-r--r--target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch7
1 files changed, 5 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 c136fedccf..e51e344726 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,287 @@
+@@ -0,0 +1,288 @@
+#include <linux/export.h>
+#include <linux/string.h>
+#include <bcm47xx_board.h>
@@ -166,6 +166,7 @@
+static const struct bcm47xx_board_type_list3 bcm47xx_board_list_board[] = {
+ {{BCM47XX_BOARD_ZTE_H218N, "ZTE H218N"}, "0x053d", "1234", "0x1305"},
+ {{BCM47XX_BOARD_HUAWEI_E970, "Huawei E970"}, "0x048e", "0x5347", "0x11"},
++ {{BCM47XX_BOARD_PHICOMM_M1, "Phicomm M1"}, "0x0590", "80", "0x1104"},
+ { {0}, 0},
+};
+
@@ -298,7 +299,7 @@
+EXPORT_SYMBOL(bcm47xx_board_get_name);
--- /dev/null
+++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h
-@@ -0,0 +1,105 @@
+@@ -0,0 +1,107 @@
+#ifndef __BCM47XX_BOARD_H
+#define __BCM47XX_BOARD_H
+
@@ -391,6 +392,8 @@
+ BCM47XX_BOARD_NETGEAR_WNR3500V2VC,
+ BCM47XX_BOARD_NETGEAR_WNR834BV2,
+
++ BCM47XX_BOARD_PHICOMM_M1,
++
+ /* TODO */
+ BCM47XX_BOARD_SIMPLETECH_SIMPLESHARE,
+