Author: nbd
Date: 2016-01-18 16:35:17 +0100 (Mon, 18 Jan 2016)
New Revision: 48319

Modified:
   trunk/target/linux/lantiq/base-files/etc/board.d/02_network
Log:
lantiq: fix VDSL device detection with Linux 4.4

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/target/linux/lantiq/base-files/etc/board.d/02_network
===================================================================
--- trunk/target/linux/lantiq/base-files/etc/board.d/02_network 2016-01-18 
13:40:15 UTC (rev 48318)
+++ trunk/target/linux/lantiq/base-files/etc/board.d/02_network 2016-01-18 
15:35:17 UTC (rev 48319)
@@ -135,7 +135,7 @@
        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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to