From 6cec31da3c56685995e307354390a1fdb8fef36c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 18 Jan 2016 15:35:17 +0000 Subject: [PATCH] lantiq: fix VDSL device detection with Linux 4.4 Signed-off-by: Felix Fietkau SVN-Revision: 48319 --- target/linux/lantiq/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 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 15b1f8c10f..89faeaaa34 100755 --- a/target/linux/lantiq/base-files/etc/board.d/02_network +++ b/target/linux/lantiq/base-files/etc/board.d/02_network @@ -135,7 +135,7 @@ if [ -n "$(ls /lib/modules/`uname -r`/ltq_atm*)" ]; then ucidef_add_atm_bridge "$vpi" "$vci" "$encaps" "$payload" fi -if [ -n "$(grep "system type.*: VR9" /proc/cpuinfo)" ]; then +if grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo; then interface_wan="ptm0" ucidef_add_vdsl_modem "$annex" "/lib/firmware/vdsl.bin" "av" "ptm" else -- 2.25.1