"342000"*)
model="TP-Link TL-MR3420"
;;
+ "360000"*)
+ model="TP-Link TL-WDR3600"
+ ;;
"430000"*)
model="TP-Link TL-WDR4300"
;;
*"TL-WA901ND v2")
name="tl-wa901nd-v2"
;;
- *TL-WDR4300)
+ *"TL-WDR3600/4300/4310")
name="tl-wdr4300"
;;
*TL-WR741ND)
ath79_register_usb();
}
-MIPS_MACHINE(ATH79_MACH_TL_WDR4300, "TL-WDR4300", "TP-LINK TL-WDR4300",
+MIPS_MACHINE(ATH79_MACH_TL_WDR4300, "TL-WDR4300",
+ "TP-LINK TL-WDR3600/4300/4310",
wdr4300_setup);
define Profile/TLWDR4300
- NAME:=TP-LINK TL-WDR4300/ TL-WDR4310
+ NAME:=TP-LINK TL-WDR3600/4300/4310
PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
endef
define Profile/TLWDR4300/Description
- Package set optimized for the TP-LINK TL-WDR4300.
+ Package set optimized for the TP-LINK TL-WDR3600/4300/4310.
endef
$(eval $(call Profile,TLWDR4300))
tlwdr4300_cmdline=board=TL-WDR4300 console=ttyS0,115200
define Image/Build/Profile/TLWDR4300
+ $(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK-LZMA,tl-wdr3600-v1,$(tlwdr4300_cmdline),0x36000001,1,8Mlzma)
$(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK-LZMA,tl-wdr4300-v1,$(tlwdr4300_cmdline),0x43000001,1,8Mlzma)
$(call Image/Build/Template/$(fs_64kraw)/$(1),TPLINK-LZMA,tl-wdr4310-v1,$(tlwdr4300_cmdline),0x43100001,1,8Mlzma)
endef
+ select ATH79_DEV_WMAC
+
+config ATH79_MACH_TL_WDR4300
-+ bool "TP-LINK TL-WDR4300 board support"
++ bool "TP-LINK TL-WDR3600/4300/4310 board support"
+ select SOC_AR934X
+ select ATH79_DEV_AP9X_PCI if PCI
+ select ATH79_DEV_ETH