From c504c5e118fbdc245359dc4cc26629f5ce791f36 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 16 Aug 2014 17:59:32 +0200 Subject: [PATCH] ar71xx: correctly detect hardware revision on TP-Link Archer C5 and C7 --- ...revision-on-TP-Link-Archer-C5-and-C7.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 patches/openwrt/0004-ar71xx-correctly-detect-hardware-revision-on-TP-Link-Archer-C5-and-C7.patch diff --git a/patches/openwrt/0004-ar71xx-correctly-detect-hardware-revision-on-TP-Link-Archer-C5-and-C7.patch b/patches/openwrt/0004-ar71xx-correctly-detect-hardware-revision-on-TP-Link-Archer-C5-and-C7.patch new file mode 100644 index 00000000..84b2b69e --- /dev/null +++ b/patches/openwrt/0004-ar71xx-correctly-detect-hardware-revision-on-TP-Link-Archer-C5-and-C7.patch @@ -0,0 +1,31 @@ +From: Matthias Schiffer +Date: Sat, 16 Aug 2014 17:52:34 +0200 +Subject: ar71xx: correctly detect hardware revision on TP-Link Archer C5 and C7 + +diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh +index a067604..8654d6a 100755 +--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh ++++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +@@ -211,6 +211,13 @@ tplink_board_detect() { + "453000"*) + model="MERCURY MW4530R" + ;; ++ "c50000"*) ++ model="TP-Link Archer C5" ++ ;; ++ "750000"*|\ ++ "c70000"*) ++ model="TP-Link Archer C7" ++ ;; + *) + hwver="" + ;; +@@ -736,7 +743,7 @@ ar71xx_board_detect() { + esac + + case "$machine" in +- *TL-WR* | *TL-WA* | *TL-MR* | *TL-WD*) ++ *TL-WR* | *TL-WA* | *TL-MR* | *TL-WD* | *Archer*) + tplink_board_detect "$machine" + ;; + esac