brcm47xx: add detection for Phicomm M1
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 16 Sep 2013 19:53:09 +0000 (19:53 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 16 Sep 2013 19:53:09 +0000 (19:53 +0000)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38009

target/linux/brcm47xx/patches-3.10/260-MIPS-BCM47XX-add-board-detection.patch

index c136fedccfc41cc7e7c383678ea04b2a0aa6c069..e51e34472624c381a30e980e9ae107704e98ef13 100644 (file)
@@ -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>
 +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},
 +};
 +
 +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
 +
 +      BCM47XX_BOARD_NETGEAR_WNR3500V2VC,
 +      BCM47XX_BOARD_NETGEAR_WNR834BV2,
 +
++      BCM47XX_BOARD_PHICOMM_M1,
++
 +      /* TODO */
 +      BCM47XX_BOARD_SIMPLETECH_SIMPLESHARE,
 +