diff options
author | Martin Schiller <ms@dev.tdt.de> | 2017-10-09 08:26:01 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-10-15 11:11:29 +0200 |
commit | 2dc9c8206b7a452ab6977945206ce9384b2d5f3f (patch) | |
tree | 448dc67167a776a609f93b4b70c90c627ce2c11c /target/linux/lantiq/base-files/etc/board.d | |
parent | 08bbb804c88a74cd7a04cea548cebf85bcf09b8f (diff) | |
download | upstream-2dc9c8206b7a452ab6977945206ce9384b2d5f3f.tar.gz upstream-2dc9c8206b7a452ab6977945206ce9384b2d5f3f.tar.bz2 upstream-2dc9c8206b7a452ab6977945206ce9384b2d5f3f.zip |
lantiq: xrx200: rename nas0/ptm0 to dsl0
This change makes it possible to configure the wan/dsl ppp interface
settings independantly from the used TC-Layer (ATM/PTM).
Now you can move a device from an ADSL/ATM port to an VDSL/PTM port
without any configuration changes for example.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
[use the dsl0 interface name for the default netdev trigger in 01_led,
add ip dependency]
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/base-files/etc/board.d')
-rwxr-xr-x | target/linux/lantiq/base-files/etc/board.d/01_leds | 2 | ||||
-rwxr-xr-x | target/linux/lantiq/base-files/etc/board.d/02_network | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/01_leds b/target/linux/lantiq/base-files/etc/board.d/01_leds index 817e2e91c5..3584b0be60 100755 --- a/target/linux/lantiq/base-files/etc/board.d/01_leds +++ b/target/linux/lantiq/base-files/etc/board.d/01_leds @@ -21,7 +21,7 @@ led_usb2="$(lantiq_get_dt_led usb2)" led_dsl="$(lantiq_get_dt_led dsl)" [ -n "$led_dsl" ] && { interface="nas0" - lantiq_is_vdsl_system && interface="ptm0" + lantiq_is_vdsl_system && interface="dsl0" led_internet="$(lantiq_get_dt_led internet)" if [ -n "$led_internet" ]; then 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 2feeb9c208..bc5c410e65 100755 --- a/target/linux/lantiq/base-files/etc/board.d/02_network +++ b/target/linux/lantiq/base-files/etc/board.d/02_network @@ -199,7 +199,7 @@ 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 - interface_wan="ptm0" + interface_wan="dsl0" ucidef_add_vdsl_modem "$annex" "$tone" "$xfer_mode" else interface_wan="nas0" |