summaryrefslogtreecommitdiff
path: root/target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-23 03:44:09 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-23 03:44:09 +0000
commit7022807357223f27577ad44df6800ef73b6ea22c (patch)
tree989467f52f94e6fbbd6eece3ac6b7db560fb757a /target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips
parentf6b470be4fdfaf8cdd5093d649e11e57d9af0fe3 (diff)
ifxmips: fix mdio register access bitmask
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19283 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips')
-rw-r--r--target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/ifxmips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/ifxmips.h b/target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/ifxmips.h
index c8cf0aef5c..1076dc4638 100644
--- a/target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/ifxmips.h
+++ b/target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/ifxmips.h
@@ -223,7 +223,7 @@
#define MDIO_ACC_READ 0x40000000
#define MDIO_ACC_ADDR_MASK 0x1f
#define MDIO_ACC_ADDR_OFFSET 0x15
-#define MDIO_ACC_REG_MASK 0xff
+#define MDIO_ACC_REG_MASK 0x1f
#define MDIO_ACC_REG_OFFSET 0x10
#define MDIO_ACC_VAL_MASK 0xffff