summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-23 03:44:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-23 03:44:09 +0000
commit03d44e8fe23011d17417a324d868306a669f1af8 (patch)
tree153232918a6fa0cee17db266c15bc5a219b3f52e /target/linux
parent42e4f83096b9670f5fcc19919f12dd564a94247b (diff)
downloadmtk-20170518-03d44e8fe23011d17417a324d868306a669f1af8.zip
mtk-20170518-03d44e8fe23011d17417a324d868306a669f1af8.tar.gz
mtk-20170518-03d44e8fe23011d17417a324d868306a669f1af8.tar.bz2
ifxmips: fix mdio register access bitmask
SVN-Revision: 19283
Diffstat (limited to 'target/linux')
-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 c8cf0ae..1076dc4 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