diff options
author | John Crispin <john@openwrt.org> | 2008-06-29 14:56:45 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2008-06-29 14:56:45 +0000 |
commit | 979fb5a23e515714462f880238af6c3c42b4eb05 (patch) | |
tree | 068a7ca1dd2b49318f19c34c393a16e09328b532 /target/linux/ifxmips/files/include | |
parent | 76215afdec87bd6316029a4b148c51287239d682 (diff) | |
download | mtk-20170518-979fb5a23e515714462f880238af6c3c42b4eb05.zip mtk-20170518-979fb5a23e515714462f880238af6c3c42b4eb05.tar.gz mtk-20170518-979fb5a23e515714462f880238af6c3c42b4eb05.tar.bz2 |
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.h | 3 |
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 3a8c3f6..1c6c614 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 |