diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-03-12 23:28:41 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-03-12 23:28:41 +0000 |
commit | 00dc53dd2e16be37df7acece5da6e42a8cce4ac9 (patch) | |
tree | 1433cbac1e9d17e9e64f42658a42913ba1e4bbea /target/linux/brcm47xx/patches-3.14/139-MIPS-BCM47XX-detect-more-linksys-devices.patch | |
parent | 128bb9f1a3279e36aaeaedc75c26a0199d17303f (diff) | |
download | upstream-00dc53dd2e16be37df7acece5da6e42a8cce4ac9.tar.gz upstream-00dc53dd2e16be37df7acece5da6e42a8cce4ac9.tar.bz2 upstream-00dc53dd2e16be37df7acece5da6e42a8cce4ac9.zip |
brcm47xx: add initial support for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 39905
Diffstat (limited to 'target/linux/brcm47xx/patches-3.14/139-MIPS-BCM47XX-detect-more-linksys-devices.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.14/139-MIPS-BCM47XX-detect-more-linksys-devices.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.14/139-MIPS-BCM47XX-detect-more-linksys-devices.patch b/target/linux/brcm47xx/patches-3.14/139-MIPS-BCM47XX-detect-more-linksys-devices.patch new file mode 100644 index 0000000000..ecb6316b76 --- /dev/null +++ b/target/linux/brcm47xx/patches-3.14/139-MIPS-BCM47XX-detect-more-linksys-devices.patch @@ -0,0 +1,39 @@ +From b09189336f6d974c554aed03b4651e9f68ce0abd Mon Sep 17 00:00:00 2001 +From: Hauke Mehrtens <hauke@hauke-m.de> +Date: Sun, 23 Feb 2014 16:38:29 +0100 +Subject: [PATCH 3/6] MIPS: BCM47XX: detect some more Linksys devices + +The Linksys WRT54G/GS/GL family uses the same boardtype numbers, and +the same gpio configuration. The boardtype numbers are changing with +the hardware versions, but these hardware numbers are different or each +model. +Detect them all as one device, this also worked in OpenWrt. +--- + arch/mips/bcm47xx/board.c | 4 +++- + arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h | 2 +- + 2 files changed, 4 insertions(+), 2 deletions(-) + +--- a/arch/mips/bcm47xx/board.c ++++ b/arch/mips/bcm47xx/board.c +@@ -175,7 +175,9 @@ struct bcm47xx_board_type_list3 bcm47xx_ + {{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"}, ++ {{BCM47XX_BOARD_LINKSYS_WRT54G, "Linksys WRT54G/GS/GL"}, "0x0101", "42", "0x10"}, ++ {{BCM47XX_BOARD_LINKSYS_WRT54G, "Linksys WRT54G/GS/GL"}, "0x0467", "42", "0x10"}, ++ {{BCM47XX_BOARD_LINKSYS_WRT54G, "Linksys WRT54G/GS/GL"}, "0x0708", "42", "0x10"}, + { {0}, NULL}, + }; + +--- a/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h ++++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx_board.h +@@ -66,7 +66,7 @@ enum bcm47xx_board { + BCM47XX_BOARD_LINKSYS_WRT310NV1, + BCM47XX_BOARD_LINKSYS_WRT310NV2, + BCM47XX_BOARD_LINKSYS_WRT54G3GV2, +- BCM47XX_BOARD_LINKSYS_WRT54GSV1, ++ BCM47XX_BOARD_LINKSYS_WRT54G, + BCM47XX_BOARD_LINKSYS_WRT610NV1, + BCM47XX_BOARD_LINKSYS_WRT610NV2, + BCM47XX_BOARD_LINKSYS_WRTSL54GS, |