X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fpatches-3.18%2F735-MIPS-ath79-add-support-for-QCA956x-SoC.patch;fp=target%2Flinux%2Far71xx%2Fpatches-3.18%2F735-MIPS-ath79-add-support-for-QCA956x-SoC.patch;h=ab2bc38d4ddedf54ee9789400296ed3478026ef7;hb=a51fcab27fba78deaf61d1be854dba38f62ace43;hp=491a7aa4f41baa39d6a030576fa7c41ac19aed95;hpb=c7feed7fe96fdc247fcb8426e28ec52518b17525;p=15.05%2Fopenwrt.git diff --git a/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch b/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch index 491a7aa4f4..ab2bc38d4d 100644 --- a/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch +++ b/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch @@ -519,7 +519,7 @@ return -ENODEV; --- a/arch/mips/ath79/setup.c +++ b/arch/mips/ath79/setup.c -@@ -175,15 +175,30 @@ static void __init ath79_detect_sys_type +@@ -176,6 +176,18 @@ static void __init ath79_detect_sys_type rev = id & QCA955X_REV_ID_REVISION_MASK; break; @@ -538,8 +538,9 @@ default: panic("ath79: unknown SoC, id:0x%08x", id); } - - ath79_soc_rev = rev; +@@ -183,9 +195,12 @@ static void __init ath79_detect_sys_type + if (ver == 1) + ath79_soc_rev = rev; - if (soc_is_qca953x() || soc_is_qca955x()) + if (soc_is_qca953x() || soc_is_qca955x() || soc_is_qca9561())