brcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL router
This adds userspace support for Sagemcom F@st 2704 router. Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4215/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39672 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
2d30c51507
commit
a37a113b81
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2013 OpenWrt.org
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
. /lib/functions/uci-defaults.sh
|
||||||
|
. /lib/brcm63xx.sh
|
||||||
|
|
||||||
|
|
||||||
|
case "$board_name" in
|
||||||
|
'F@ST2704V2')
|
||||||
|
ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
ucidef_commit_leds
|
||||||
|
|
||||||
|
exit 0
|
|
@ -80,7 +80,8 @@ DVG3810BN)
|
||||||
96328A-1441N1 |\
|
96328A-1441N1 |\
|
||||||
963281TAN |\
|
963281TAN |\
|
||||||
963281T_TEF |\
|
963281T_TEF |\
|
||||||
96368MVNgr)
|
96368MVNgr |\
|
||||||
|
"F@ST2704V2")
|
||||||
ucidef_set_interface_lan "eth0.1"
|
ucidef_set_interface_lan "eth0.1"
|
||||||
ucidef_add_switch "eth0" "1" "1"
|
ucidef_add_switch "eth0" "1" "1"
|
||||||
ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 8t"
|
ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 8t"
|
||||||
|
|
|
@ -121,6 +121,11 @@ brcm63xx_detect() {
|
||||||
brcm63xx_has_reset_button="true"
|
brcm63xx_has_reset_button="true"
|
||||||
ifname=eth0
|
ifname=eth0
|
||||||
;;
|
;;
|
||||||
|
'F@ST2704V2')
|
||||||
|
status_led="F@ST2704V2:green:power"
|
||||||
|
brcm63xx_has_reset_button="true"
|
||||||
|
ifname=eth0
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue