aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.18/110-ar2313_ethernet.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-13 03:02:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-13 03:02:00 +0000
commitdae90fc1300781065357538943552884d682c1ae (patch)
treeebcd5c29900fd0ccef87f68b265460e2f8ffea0a /target/linux/atheros/patches-3.18/110-ar2313_ethernet.patch
parent7a46e008fbcfe5f993fcedb9a0a6b3f0eab8e68a (diff)
downloadupstream-dae90fc1300781065357538943552884d682c1ae.tar.gz
upstream-dae90fc1300781065357538943552884d682c1ae.tar.bz2
upstream-dae90fc1300781065357538943552884d682c1ae.zip
atheros: v3.18: non-functional cleanup
To finally sync code with upsream cleanup registers headers, and update several comments and kernel config symbols descriptions. No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44731
Diffstat (limited to 'target/linux/atheros/patches-3.18/110-ar2313_ethernet.patch')
-rw-r--r--target/linux/atheros/patches-3.18/110-ar2313_ethernet.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/atheros/patches-3.18/110-ar2313_ethernet.patch b/target/linux/atheros/patches-3.18/110-ar2313_ethernet.patch
index 7ac7b58912..bef70dd7c5 100644
--- a/target/linux/atheros/patches-3.18/110-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-3.18/110-ar2313_ethernet.patch
@@ -1541,13 +1541,13 @@
+#define AR2315_ENET0_MII_BASE (AR2315_ENET0_BASE + 0x14)
+
/*
- * Cold reset register
+ * Configuration registers
*/
--- a/arch/mips/ath25/ar5312_regs.h
+++ b/arch/mips/ath25/ar5312_regs.h
@@ -64,6 +64,10 @@
- #define AR5312_AR5312_REV7 0x0057 /* AR5312 WMAC (AP30-040) */
- #define AR5312_AR2313_REV8 0x0058 /* AR2313 WMAC (AP43-030) */
+ #define AR5312_AR5312_REV7 0x0057 /* AR5312 WMAC (AP30-040) */
+ #define AR5312_AR2313_REV8 0x0058 /* AR2313 WMAC (AP43-030) */
+/* MII registers offset inside Ethernet MMR region */
+#define AR5312_ENET0_MII_BASE (AR5312_ENET0_BASE + 0x14)