aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.14/727-MIPS-ath79-ar934x-wmac-revision.patch
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
commit3e833dcf9063ff99467854e43a81547e90199f3e (patch)
treeb0db1325cb240d8d18b149809e3bb6ee5dc6bbaf /target/linux/ar71xx/patches-3.14/727-MIPS-ath79-ar934x-wmac-revision.patch
parent84d81d5844abd49cbf8534bc0e5723f429e1caa6 (diff)
downloadupstream-3e833dcf9063ff99467854e43a81547e90199f3e.tar.gz
upstream-3e833dcf9063ff99467854e43a81547e90199f3e.tar.bz2
upstream-3e833dcf9063ff99467854e43a81547e90199f3e.zip
ar71xx: add wmac callback for reading soc revision on ar934x
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42685
Diffstat (limited to 'target/linux/ar71xx/patches-3.14/727-MIPS-ath79-ar934x-wmac-revision.patch')
-rw-r--r--target/linux/ar71xx/patches-3.14/727-MIPS-ath79-ar934x-wmac-revision.patch11
1 files changed, 11 insertions, 0 deletions
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)