lantiq: BT Home Hub 2B support - userspace
Basic userspace configuration for BT Home Hub 2B Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40371 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
8d8017f979
commit
792a98e9ed
|
@ -23,6 +23,13 @@ case "$board" in
|
|||
VG3503J)
|
||||
ucidef_set_led_netdev "vdsl" "vdsl" "bt:green:dsl" "ptm0"
|
||||
;;
|
||||
BTHOMEHUBV2B)
|
||||
ucidef_set_led_default "power" "power" "soc:blue:power" "1"
|
||||
# ucidef_set_led_wlan "wifi" "wifi" "soc:blue:wireless" "phy0radio"
|
||||
ucidef_set_led_wlan "wifi" "wifi" "soc:blue:wireless" "phy0tpt"
|
||||
ucidef_set_led_netdev "internet" "internet" "soc:blue:broadband" "nas0"
|
||||
ucidef_set_led_usbdev "usb" "usb" "soc:blue:phone" "1-1"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -135,6 +135,11 @@ ARV7519*)
|
|||
lan_mac=$(mtd_get_mac_binary boardconfig 22)
|
||||
wan_mac=$(macaddr_add "$lan_mac" 1)
|
||||
;;
|
||||
|
||||
BTHOMEHUBV2B)
|
||||
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
|
||||
wan_mac=$(macaddr_add "$lan_mac" 1)
|
||||
;;
|
||||
esac
|
||||
|
||||
[ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"
|
||||
|
|
Loading…
Reference in New Issue