From 89eedb629e91d88829551c6c57cc4a997bd653fe Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 23 Jan 2010 03:44:09 +0000 Subject: ifxmips: fix mdio register access bitmask git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19283 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/ifxmips.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3