lantiq: fix VDSL device detection with Linux 4.4
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Jan 2016 15:35:17 +0000 (15:35 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Jan 2016 15:35:17 +0000 (15:35 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48319 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/lantiq/base-files/etc/board.d/02_network

index 15b1f8c..89faeaa 100755 (executable)
@@ -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