aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2017-08-03 08:37:53 +0200
committerMathias Kresin <dev@kresin.me>2017-08-06 09:22:03 +0200
commitc8904e9c04e9039f1414ef4de4809cab91ac1788 (patch)
treed53b846849a18d6d7e38502e700d4ce848d67bf8
parent2da6c85c8005c9b1ce8a3e626f644ee468305800 (diff)
downloadupstream-c8904e9c04e9039f1414ef4de4809cab91ac1788.tar.gz
upstream-c8904e9c04e9039f1414ef4de4809cab91ac1788.tar.bz2
upstream-c8904e9c04e9039f1414ef4de4809cab91ac1788.zip
lantiq: board.d: use auto xfer_mode as default
If xfer_mode is set to auto the vdsl_cpe_control daemon assumes that ATM should be used for ADSL and PTM for VDSL. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/02_network4
1 files changed, 3 insertions, 1 deletions
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 c245a8fa75..2feeb9c208 100755
--- 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"
+tone="av"
+xfer_mode=""
encaps="llc"
payload="bridged"
lan_mac=""
@@ -198,7 +200,7 @@ ls /lib/modules/$(uname -r)/ltq_atm* 1> /dev/null 2>&1 && \
if lantiq_is_vdsl_system; then
interface_wan="ptm0"
- ucidef_add_vdsl_modem "$annex" "av" "ptm"
+ ucidef_add_vdsl_modem "$annex" "$tone" "$xfer_mode"
else
interface_wan="nas0"
ucidef_add_adsl_modem "$annex" "/lib/firmware/adsl.bin"