mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-12 14:30:15 +02:00
ifxmips: fix mdio register access bitmask
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19283 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f6b470be4f
commit
7022807357
@ -223,7 +223,7 @@
|
|||||||
#define MDIO_ACC_READ 0x40000000
|
#define MDIO_ACC_READ 0x40000000
|
||||||
#define MDIO_ACC_ADDR_MASK 0x1f
|
#define MDIO_ACC_ADDR_MASK 0x1f
|
||||||
#define MDIO_ACC_ADDR_OFFSET 0x15
|
#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_REG_OFFSET 0x10
|
||||||
#define MDIO_ACC_VAL_MASK 0xffff
|
#define MDIO_ACC_VAL_MASK 0xffff
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user