2
0
forked from Ivasoft/openwrt

lantiq: make leds and network work on VG3503J

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36445
This commit is contained in:
John Crispin
2013-04-25 19:03:41 +00:00
parent 520bf46375
commit b42a173664
3 changed files with 31 additions and 12 deletions

View File

@@ -19,6 +19,13 @@ done
board=$(lantiq_board_id)
case "$board" in
VG3503J)
ucidef_set_led_netdev "lan1" "lan1" "bt:green:lan1" "eth0"
ucidef_set_led_netdev "lan2" "lan2" "bt:green:lan2" "eth1"
ucidef_set_led_netdev "port1" "port1" "bt:green:port1" "eth0"
ucidef_set_led_netdev "port2" "port2" "bt:green:port2" "eth1"
ucidef_set_led_netdev "vdsl" "vdsl" "bt:green:dsl" "ptm0"
;;
*)
;;
esac

View File

@@ -69,6 +69,9 @@ WBMR)
ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 4 5"
;;
VG3503J)
ucidef_set_interface_lan 'eth0 eth1'
;;
esac
[ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"