[source] lantiq: board.d: use auto xfer_mode as default

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 7 01:50:33 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/c8904e9c04e9039f1414ef4de4809cab91ac1788

commit c8904e9c04e9039f1414ef4de4809cab91ac1788
Author: Martin Schiller <ms at dev.tdt.de>
AuthorDate: Thu Aug 3 08:37:53 2017 +0200

    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 at dev.tdt.de>
---
 target/linux/lantiq/base-files/etc/board.d/02_network | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 c245a8f..2feeb9c 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"



More information about the lede-commits mailing list