ar71xx: add user space support for dir-835-a1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Patchwork: http://patchwork.openwrt.org/patch/3425/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35958
This commit is contained in:
parent
a7525f5f5d
commit
3fa3cbae7c
5 changed files with 9 additions and 6 deletions
|
@ -50,7 +50,8 @@ get_status_led() {
|
||||||
dir-615-c1)
|
dir-615-c1)
|
||||||
status_led="d-link:green:status"
|
status_led="d-link:green:status"
|
||||||
;;
|
;;
|
||||||
dir-825-b1)
|
dir-825-b1 |\
|
||||||
|
dir-835-a1)
|
||||||
status_led="d-link:orange:power"
|
status_led="d-link:orange:power"
|
||||||
;;
|
;;
|
||||||
dir-825-c1)
|
dir-825-c1)
|
||||||
|
|
|
@ -60,10 +60,7 @@ dir-615-e4)
|
||||||
ucidef_set_led_switch "lan4" "LAN4" "d-link:green:lan4" "switch0" "0x10"
|
ucidef_set_led_switch "lan4" "LAN4" "d-link:green:lan4" "switch0" "0x10"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
dir-825-b1)
|
dir-825-b1 | \
|
||||||
ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
|
|
||||||
;;
|
|
||||||
|
|
||||||
dir-825-c1)
|
dir-825-c1)
|
||||||
ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
|
ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -176,6 +176,7 @@ wzr-hp-g300nh)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
dir-825-c1 |\
|
dir-825-c1 |\
|
||||||
|
dir-835-a1 |\
|
||||||
wndr4300)
|
wndr4300)
|
||||||
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
|
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
|
||||||
ucidef_add_switch "switch0" "1" "1"
|
ucidef_add_switch "switch0" "1" "1"
|
||||||
|
|
|
@ -225,6 +225,9 @@ ar71xx_board_detect() {
|
||||||
*"DIR-825 rev. C1")
|
*"DIR-825 rev. C1")
|
||||||
name="dir-825-c1"
|
name="dir-825-c1"
|
||||||
;;
|
;;
|
||||||
|
*"DIR-835 rev. A1")
|
||||||
|
name="dir-835-a1"
|
||||||
|
;;
|
||||||
*EAP7660D)
|
*EAP7660D)
|
||||||
name="eap7660d"
|
name="eap7660d"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -109,6 +109,7 @@ platform_check_image() {
|
||||||
dir-615-c1 | \
|
dir-615-c1 | \
|
||||||
dir-615-e4 | \
|
dir-615-e4 | \
|
||||||
dir-825-c1 | \
|
dir-825-c1 | \
|
||||||
|
dir-835-a1 | \
|
||||||
ew-dorin | \
|
ew-dorin | \
|
||||||
ew-dorin-router | \
|
ew-dorin-router | \
|
||||||
mzk-w04nu | \
|
mzk-w04nu | \
|
||||||
|
|
Loading…
Reference in a new issue