ifxmips: fix mdio register access bitmask
authorFelix Fietkau <nbd@openwrt.org>
Sat, 23 Jan 2010 03:44:09 +0000 (03:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 23 Jan 2010 03:44:09 +0000 (03:44 +0000)
SVN-Revision: 19283

target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/ifxmips.h

index c8cf0aef5c6226b33478f69f9069ebf0875131ec..1076dc4638be45bf2b255779c5c389c40a483229 100644 (file)
 #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