summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.3/611-MIPS-ath79-TL-MR3040-support.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-09-24 18:45:56 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-09-24 18:45:56 +0000
commite70ad61e4451ec23e843ba00365ac7e928392adf (patch)
tree44b74b048516d2df72246d669dc259f2b5bf044b /target/linux/ar71xx/patches-3.3/611-MIPS-ath79-TL-MR3040-support.patch
parent1cd6237979dafaa5d1e7ec9502dc022015bbc795 (diff)
downloadmtk-20170518-e70ad61e4451ec23e843ba00365ac7e928392adf.zip
mtk-20170518-e70ad61e4451ec23e843ba00365ac7e928392adf.tar.gz
mtk-20170518-e70ad61e4451ec23e843ba00365ac7e928392adf.tar.bz2
ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only. SVN-Revision: 33535
Diffstat (limited to 'target/linux/ar71xx/patches-3.3/611-MIPS-ath79-TL-MR3040-support.patch')
-rw-r--r--target/linux/ar71xx/patches-3.3/611-MIPS-ath79-TL-MR3040-support.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.3/611-MIPS-ath79-TL-MR3040-support.patch b/target/linux/ar71xx/patches-3.3/611-MIPS-ath79-TL-MR3040-support.patch
new file mode 100644
index 0000000..4e6d491
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.3/611-MIPS-ath79-TL-MR3040-support.patch
@@ -0,0 +1,21 @@
+--- a/arch/mips/ath79/Kconfig
++++ b/arch/mips/ath79/Kconfig
+@@ -412,7 +412,7 @@ config ATH79_MACH_EAP7660D
+ select ATH79_DEV_M25P80
+
+ config ATH79_MACH_TL_MR11U
+- bool "TP-LINK TL-MR11U support"
++ bool "TP-LINK TL-MR11U/TL-MR3040 support"
+ select SOC_AR933X
+ select ATH79_DEV_ETH
+ select ATH79_DEV_GPIO_BUTTONS
+--- a/arch/mips/ath79/machtypes.h
++++ b/arch/mips/ath79/machtypes.h
+@@ -69,6 +69,7 @@ enum ath79_mach_type {
+ ATH79_MACH_TEW_712BR, /* TRENDnet TEW-712BR */
+ ATH79_MACH_TL_MR11U, /* TP-LINK TL-MR11U */
+ ATH79_MACH_TL_MR3020, /* TP-LINK TL-MR3020 */
++ ATH79_MACH_TL_MR3040, /* TP-LINK TL-MR3040 */
+ ATH79_MACH_TL_MR3220, /* TP-LINK TL-MR3220 */
+ ATH79_MACH_TL_MR3420, /* TP-LINK TL-MR3420 */
+ ATH79_MACH_TL_WA901ND, /* TP-LINK TL-WA901ND */