summaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/files/include
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-06-29 14:56:45 +0000
committerJohn Crispin <john@openwrt.org>2008-06-29 14:56:45 +0000
commit979fb5a23e515714462f880238af6c3c42b4eb05 (patch)
tree068a7ca1dd2b49318f19c34c393a16e09328b532 /target/linux/ifxmips/files/include
parent76215afdec87bd6316029a4b148c51287239d682 (diff)
downloadmaster-31e0f0ae-979fb5a23e515714462f880238af6c3c42b4eb05.tar.gz
master-31e0f0ae-979fb5a23e515714462f880238af6c3c42b4eb05.tar.bz2
master-31e0f0ae-979fb5a23e515714462f880238af6c3c42b4eb05.zip
fixes mdio, adds runtime board configuration for ifxmips
SVN-Revision: 11609
Diffstat (limited to 'target/linux/ifxmips/files/include')
-rw-r--r--target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
index 3a8c3f64fd..1c6c614329 100644
--- a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
+++ b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
@@ -182,7 +182,8 @@
#define REV_MII_MODE 2
/* mdio access */
-#define IFXMIPS_PPE32_MDIO_ACC ((u32*)(IFXMIPS_PPE32_MEM_MAP + 0x1804))
+#define IFXMIPS_PPE32_MDIO_CFG ((u32*)(IFXMIPS_PPE32_BASE_ADDR + 0x11800))
+#define IFXMIPS_PPE32_MDIO_ACC ((u32*)(IFXMIPS_PPE32_BASE_ADDR + 0x11804))
#define MDIO_ACC_REQUEST 0x80000000
#define MDIO_ACC_READ 0x40000000