ar71xx: add user space support for dir-825-c1
[juhosg: fix whitespaces in some scripts] Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35402
This commit is contained in:
parent
800da21cb1
commit
2a5193308f
@ -77,6 +77,9 @@ get_status_led() {
|
|||||||
dir-825-b1)
|
dir-825-b1)
|
||||||
status_led="d-link:orange:power"
|
status_led="d-link:orange:power"
|
||||||
;;
|
;;
|
||||||
|
dir-825-c1)
|
||||||
|
status_led="d-link:orange:power"
|
||||||
|
;;
|
||||||
eap7660d)
|
eap7660d)
|
||||||
status_led="eap7660d:green:ds4"
|
status_led="eap7660d:green:ds4"
|
||||||
;;
|
;;
|
||||||
|
@ -64,6 +64,10 @@ dir-825-b1)
|
|||||||
ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
|
ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
dir-825-c1)
|
||||||
|
ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
|
||||||
|
;;
|
||||||
|
|
||||||
hornet-ub)
|
hornet-ub)
|
||||||
ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
|
ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
|
||||||
ucidef_set_led_netdev "wan" "WAN" "alfa:blue:wan" "eth1"
|
ucidef_set_led_netdev "wan" "WAN" "alfa:blue:wan" "eth1"
|
||||||
|
@ -62,6 +62,13 @@ tew-673gru)
|
|||||||
ucidef_add_switch_vlan "rtl8366s" "1" "0 1 2 3 5t"
|
ucidef_add_switch_vlan "rtl8366s" "1" "0 1 2 3 5t"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
dir-825-c1)
|
||||||
|
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
|
||||||
|
ucidef_add_switch "eth0" "1" "1"
|
||||||
|
ucidef_add_switch_vlan "eth0" "1" "0t 2 3 4 5"
|
||||||
|
ucidef_add_switch_vlan "eth0" "2" "0t 1"
|
||||||
|
;;
|
||||||
|
|
||||||
nbg460n_550n_550nh)
|
nbg460n_550n_550nh)
|
||||||
ucidef_set_interfaces_lan_wan "eth0" "eth1"
|
ucidef_set_interfaces_lan_wan "eth0" "eth1"
|
||||||
ucidef_add_switch "rtl8366s" "1" "1"
|
ucidef_add_switch "rtl8366s" "1" "1"
|
||||||
|
@ -216,6 +216,9 @@ ar71xx_board_detect() {
|
|||||||
*"DIR-825 rev. B1")
|
*"DIR-825 rev. B1")
|
||||||
name="dir-825-b1"
|
name="dir-825-b1"
|
||||||
;;
|
;;
|
||||||
|
*"DIR-825 rev. C1")
|
||||||
|
name="dir-825-c1"
|
||||||
|
;;
|
||||||
*EAP7660D)
|
*EAP7660D)
|
||||||
name="eap7660d"
|
name="eap7660d"
|
||||||
;;
|
;;
|
||||||
|
@ -108,6 +108,7 @@ platform_check_image() {
|
|||||||
dir-600-a1 | \
|
dir-600-a1 | \
|
||||||
dir-615-c1 | \
|
dir-615-c1 | \
|
||||||
dir-615-e4 | \
|
dir-615-e4 | \
|
||||||
|
dir-825-c1 | \
|
||||||
ew-dorin | \
|
ew-dorin | \
|
||||||
ew-dorin-router | \
|
ew-dorin-router | \
|
||||||
mzk-w04nu | \
|
mzk-w04nu | \
|
||||||
|
Loading…
Reference in New Issue
Block a user