aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-09-27 20:52:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-09-27 20:52:05 +0000
commit58d1cc210e6870241d4b73024a87bb7d1df6b22d (patch)
treee8be1413c8a14d5812a665c48c863f1f0ca96b95 /target/linux
parent6887a5ee27cd04f961ab24932d2cf2cf07d28490 (diff)
downloadmaster-187ad058-58d1cc210e6870241d4b73024a87bb7d1df6b22d.tar.gz
master-187ad058-58d1cc210e6870241d4b73024a87bb7d1df6b22d.tar.bz2
master-187ad058-58d1cc210e6870241d4b73024a87bb7d1df6b22d.zip
ar71xx: add wmac callback for reading soc revision on ar934x
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42685 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/patches-3.10/727-MIPS-ath79-ar934x-wmac-revision.patch11
-rw-r--r--target/linux/ar71xx/patches-3.14/727-MIPS-ath79-ar934x-wmac-revision.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.10/727-MIPS-ath79-ar934x-wmac-revision.patch b/target/linux/ar71xx/patches-3.10/727-MIPS-ath79-ar934x-wmac-revision.patch
new file mode 100644
index 0000000000..b1b4946e03
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.10/727-MIPS-ath79-ar934x-wmac-revision.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/ath79/dev-wmac.c
++++ b/arch/mips/ath79/dev-wmac.c
+@@ -147,6 +147,8 @@ static void ar934x_wmac_setup(void)
+ ath79_wmac_data.is_clk_25mhz = false;
+ else
+ ath79_wmac_data.is_clk_25mhz = true;
++
++ ath79_wmac_data.get_mac_revision = ar93xx_get_soc_revision;
+ }
+
+ static void qca953x_wmac_setup(void)
diff --git a/target/linux/ar71xx/patches-3.14/727-MIPS-ath79-ar934x-wmac-revision.patch b/target/linux/ar71xx/patches-3.14/727-MIPS-ath79-ar934x-wmac-revision.patch
new file mode 100644
index 0000000000..b1b4946e03
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.14/727-MIPS-ath79-ar934x-wmac-revision.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/ath79/dev-wmac.c
++++ b/arch/mips/ath79/dev-wmac.c
+@@ -147,6 +147,8 @@ static void ar934x_wmac_setup(void)
+ ath79_wmac_data.is_clk_25mhz = false;
+ else
+ ath79_wmac_data.is_clk_25mhz = true;
++
++ ath79_wmac_data.get_mac_revision = ar93xx_get_soc_revision;
+ }
+
+ static void qca953x_wmac_setup(void)