projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: xrx200: rename nas0/ptm0 to dsl0
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/lantiq/base-files/etc/board.d/02_network
b/target/linux/lantiq/base-files/etc/board.d/02_network
index 55498b9f596963e0ea23d8a023676ea33b0bde8d..bc5c410e65fb108569be811612be187fd303d731 100755
(executable)
--- a/
target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/
target/linux/lantiq/base-files/etc/board.d/02_network
@@
-12,6
+12,8
@@
board_config_update
vpi=1
vci=32
annex="a"
vpi=1
vci=32
annex="a"
+tone="av"
+xfer_mode=""
encaps="llc"
payload="bridged"
lan_mac=""
encaps="llc"
payload="bridged"
lan_mac=""
@@
-100,6
+102,12
@@
DGN3500*)
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0"
;;
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0"
;;
+DM200)
+ lan_mac=$(mtd_get_mac_binary ART 0)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ucidef_set_interface_lan 'eth0'
+ ;;
+
EASY80920NAND|EASY80920NOR)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1)
EASY80920NAND|EASY80920NOR)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1)
@@
-191,8
+199,8
@@
ls /lib/modules/$(uname -r)/ltq_atm* 1> /dev/null 2>&1 && \
ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload"
if lantiq_is_vdsl_system; then
ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload"
if lantiq_is_vdsl_system; then
- interface_wan="
ptm
0"
- ucidef_add_vdsl_modem "$annex" "
av" "ptm
"
+ interface_wan="
dsl
0"
+ ucidef_add_vdsl_modem "$annex" "
$tone" "$xfer_mode
"
else
interface_wan="nas0"
ucidef_add_adsl_modem "$annex" "/lib/firmware/adsl.bin"
else
interface_wan="nas0"
ucidef_add_adsl_modem "$annex" "/lib/firmware/adsl.bin"