target/linux/*: kmod-fs-ext{2,3} RIP
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-3.10 / 139-MIPS-BCM47XX-detect-more-linksys-devices.patch
1 From b09189336f6d974c554aed03b4651e9f68ce0abd Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sun, 23 Feb 2014 16:38:29 +0100
4 Subject: [PATCH 3/6] MIPS: BCM47XX: detect some more Linksys devices
5
6 The Linksys WRT54G/GS/GL family uses the same boardtype numbers, and
7 the same gpio configuration. The boardtype numbers are changing with
8 the hardware versions, but these hardware numbers are different or each
9 model.
10 Detect them all as one device, this also worked in OpenWrt.
11 ---
12 arch/mips/bcm47xx/board.c | 4 +++-
13 arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h | 2 +-
14 2 files changed, 4 insertions(+), 2 deletions(-)
15
16 --- a/arch/mips/bcm47xx/board.c
17 +++ b/arch/mips/bcm47xx/board.c
18 @@ -175,7 +175,9 @@ struct bcm47xx_board_type_list3 bcm47xx_
19 {{BCM47XX_BOARD_PHICOMM_M1, "Phicomm M1"}, "0x0590", "80", "0x1104"},
20 {{BCM47XX_BOARD_ZTE_H218N, "ZTE H218N"}, "0x053d", "1234", "0x1305"},
21 {{BCM47XX_BOARD_NETGEAR_WNR3500L, "Netgear WNR3500L"}, "0x04CF", "3500", "02"},
22 - {{BCM47XX_BOARD_LINKSYS_WRT54GSV1, "Linksys WRT54GS V1"}, "0x0101", "42", "0x10"},
23 + {{BCM47XX_BOARD_LINKSYS_WRT54G, "Linksys WRT54G/GS/GL"}, "0x0101", "42", "0x10"},
24 + {{BCM47XX_BOARD_LINKSYS_WRT54G, "Linksys WRT54G/GS/GL"}, "0x0467", "42", "0x10"},
25 + {{BCM47XX_BOARD_LINKSYS_WRT54G, "Linksys WRT54G/GS/GL"}, "0x0708", "42", "0x10"},
26 { {0}, NULL},
27 };
28
29 --- a/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h
30 +++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h
31 @@ -66,7 +66,7 @@ enum bcm47xx_board {
32 BCM47XX_BOARD_LINKSYS_WRT310NV1,
33 BCM47XX_BOARD_LINKSYS_WRT310NV2,
34 BCM47XX_BOARD_LINKSYS_WRT54G3GV2,
35 - BCM47XX_BOARD_LINKSYS_WRT54GSV1,
36 + BCM47XX_BOARD_LINKSYS_WRT54G,
37 BCM47XX_BOARD_LINKSYS_WRT610NV1,
38 BCM47XX_BOARD_LINKSYS_WRT610NV2,
39 BCM47XX_BOARD_LINKSYS_WRTSL54GS,