ar71xx: add user-space support for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38956
This commit is contained in:
parent
bc2d7b8193
commit
7db7757bf2
@ -141,6 +141,7 @@ get_status_led() {
|
|||||||
tl-wdr3500 | \
|
tl-wdr3500 | \
|
||||||
tl-wr1041n-v2 | \
|
tl-wr1041n-v2 | \
|
||||||
tl-wr1043nd | \
|
tl-wr1043nd | \
|
||||||
|
tl-wr1043nd-v2 | \
|
||||||
tl-wr741nd | \
|
tl-wr741nd | \
|
||||||
tl-wr741nd-v4 | \
|
tl-wr741nd-v4 | \
|
||||||
tl-wr841n-v1 | \
|
tl-wr841n-v1 | \
|
||||||
|
@ -253,7 +253,8 @@ tl-wr1041n-v2)
|
|||||||
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
|
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
tl-wr1043nd)
|
tl-wr1043nd | \
|
||||||
|
tl-wr1043nd-v2)
|
||||||
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
|
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
|
||||||
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
|
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
|
||||||
;;
|
;;
|
||||||
|
@ -38,7 +38,8 @@ ap136-010)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
ap136-020 |\
|
ap136-020 |\
|
||||||
ap135-020)
|
ap135-020 |\
|
||||||
|
tl-wr1043nd-v2)
|
||||||
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
||||||
ucidef_add_switch "switch0" "1" "1"
|
ucidef_add_switch "switch0" "1" "1"
|
||||||
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
|
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
|
||||||
|
@ -423,6 +423,9 @@ ar71xx_board_detect() {
|
|||||||
*TL-WR1043ND)
|
*TL-WR1043ND)
|
||||||
name="tl-wr1043nd"
|
name="tl-wr1043nd"
|
||||||
;;
|
;;
|
||||||
|
*"TL-WR1043ND v2")
|
||||||
|
name="tl-wr1043nd-v2"
|
||||||
|
;;
|
||||||
*TL-WR2543N*)
|
*TL-WR2543N*)
|
||||||
name="tl-wr2543n"
|
name="tl-wr2543n"
|
||||||
;;
|
;;
|
||||||
|
@ -208,6 +208,7 @@ platform_check_image() {
|
|||||||
tl-wr941nd | \
|
tl-wr941nd | \
|
||||||
tl-wr1041n-v2 | \
|
tl-wr1041n-v2 | \
|
||||||
tl-wr1043nd | \
|
tl-wr1043nd | \
|
||||||
|
tl-wr1043nd-v2 | \
|
||||||
tl-wr2543n)
|
tl-wr2543n)
|
||||||
[ "$magic" != "0100" ] && {
|
[ "$magic" != "0100" ] && {
|
||||||
echo "Invalid image type."
|
echo "Invalid image type."
|
||||||
|
Loading…
Reference in New Issue
Block a user