Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4849/
[juhosg:
- use the Archer C7 specific LED setup instead of adding
identical code]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39636
status_led="tp-link:green:system"
;;
archer-c7 | \
+ tl-wdr4900-v2 | \
tl-mr10u | \
tl-mr13u | \
tl-wdr4300 | \
ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
;;
-archer-c7)
+archer-c7|\
+tl-wdr4900-v2)
ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1"
ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
ucidef_add_switch_vlan "switch0" "2" "5 6"
;;
-archer-c7)
+archer-c7 |\
+tl-wdr4900-v2)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 2 3 4 5"
"431000"*)
model="TP-Link TL-WDR4310"
;;
+ "49000002")
+ model="TP-Link TL-WDR4900"
+ ;;
"453000"*)
model="MERCURY MW4530R"
;;
*"TL-WDR3600/4300/4310")
name="tl-wdr4300"
;;
+ *"TL-WDR4900 v2")
+ name="tl-wdr4900-v2"
+ ;;
*TL-WR741ND)
name="tl-wr741nd"
;;
tl-wa901nd-v3 | \
tl-wdr3500 | \
tl-wdr4300 | \
+ tl-wdr4900-v2 | \
tl-wr703n | \
tl-wr710n | \
tl-wr720n-v3 | \