1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-06 04:42:28 +02:00
openwrt-xburst/target/linux/ar71xx/patches-3.3/611-MIPS-ath79-TL-MR3040-support.patch
juhosg a7bf55a712 ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-24 18:45:56 +00:00

22 lines
769 B
Diff

--- 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 */