lantiq: board.d: use auto xfer_mode as default
authorMartin Schiller <ms@dev.tdt.de>
Thu, 3 Aug 2017 06:37:53 +0000 (08:37 +0200)
committerMathias Kresin <dev@kresin.me>
Sun, 6 Aug 2017 07:22:03 +0000 (09:22 +0200)
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>
target/linux/lantiq/base-files/etc/board.d/02_network

index c245a8fa75c12e36a20c307577f8a503fdad42ce..2feeb9c208b3ee86ba4a6fc674035a8f68a07d96 100755 (executable)
@@ -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"