mirror of https://github.com/hak5/openwrt.git
41 lines
1.8 KiB
Diff
41 lines
1.8 KiB
Diff
From 2beb91164802b1cbfda369564d3371b3ff649eec Mon Sep 17 00:00:00 2001
|
|
From: Hauke Mehrtens <hauke@hauke-m.de>
|
|
Date: Sun, 13 Oct 2013 16:05:49 +0200
|
|
Subject: [PATCH 6/6] MIPS: BCM47XX: fix detection of some boards
|
|
|
|
This adds some more boards
|
|
|
|
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
--- a/arch/mips/bcm47xx/board.c
|
|
+++ b/arch/mips/bcm47xx/board.c
|
|
@@ -56,6 +56,10 @@ struct bcm47xx_board_type_list1 bcm47xx_
|
|
/* hardware_version */
|
|
static const
|
|
struct bcm47xx_board_type_list1 bcm47xx_board_list_hardware_version[] __initconst = {
|
|
+ {{BCM47XX_BOARD_ASUS_RTN10U, "Asus RT-N10U"}, "RTN10U"},
|
|
+ {{BCM47XX_BOARD_ASUS_RTN12, "Asus RT-N12"}, "RT-N12"},
|
|
+ {{BCM47XX_BOARD_ASUS_RTN12D1, "Asus RT-N12D1"}, "RTN12D1"},
|
|
+ {{BCM47XX_BOARD_ASUS_RTN12B1, "Asus RT-N12B1"}, "RTN12B1"},
|
|
{{BCM47XX_BOARD_ASUS_RTN16, "Asus RT-N16"}, "RT-N16-"},
|
|
{{BCM47XX_BOARD_ASUS_WL320GE, "Asus WL320GE"}, "WL320G-"},
|
|
{{BCM47XX_BOARD_ASUS_WL330GE, "Asus WL330GE"}, "WL330GE-"},
|
|
@@ -174,6 +178,8 @@ struct bcm47xx_board_type_list3 bcm47xx_
|
|
{{BCM47XX_BOARD_HUAWEI_E970, "Huawei E970"}, "0x048e", "0x5347", "0x11"},
|
|
{{BCM47XX_BOARD_PHICOMM_M1, "Phicomm M1"}, "0x0590", "80", "0x1104"},
|
|
{{BCM47XX_BOARD_ZTE_H218N, "ZTE H218N"}, "0x053d", "1234", "0x1305"},
|
|
+ {{BCM47XX_BOARD_NETGEAR_WNR3500L, "Netgear WNR3500L"}, "0x04CF", "3500", "02"},
|
|
+ {{BCM47XX_BOARD_LINKSYS_WRT54GSV1, "Linksys WRT54GS V1"}, "0x0101", "42", "0x10"},
|
|
{ {0}, 0},
|
|
};
|
|
|
|
--- a/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h
|
|
+++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h
|
|
@@ -66,6 +66,7 @@ enum bcm47xx_board {
|
|
BCM47XX_BOARD_LINKSYS_WRT310NV1,
|
|
BCM47XX_BOARD_LINKSYS_WRT310NV2,
|
|
BCM47XX_BOARD_LINKSYS_WRT54G3GV2,
|
|
+ BCM47XX_BOARD_LINKSYS_WRT54GSV1,
|
|
BCM47XX_BOARD_LINKSYS_WRT610NV1,
|
|
BCM47XX_BOARD_LINKSYS_WRT610NV2,
|
|
BCM47XX_BOARD_LINKSYS_WRTSL54GS,
|