aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-18 15:35:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-18 15:35:17 +0000
commit6cec31da3c56685995e307354390a1fdb8fef36c (patch)
tree40bffad172b7c4562b3d8f5477aa74c9f66b1b12
parent3c3fb1dfc0bdd2edb2cd49054c49af79487b79ce (diff)
downloadupstream-6cec31da3c56685995e307354390a1fdb8fef36c.tar.gz
upstream-6cec31da3c56685995e307354390a1fdb8fef36c.tar.bz2
upstream-6cec31da3c56685995e307354390a1fdb8fef36c.zip
lantiq: fix VDSL device detection with Linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48319
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/02_network2
1 files changed, 1 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 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