aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorIvan Mikhaylov <ivan@de.ibm.com>2018-01-24 15:53:25 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-24 18:10:57 -0500
commit624ca9c33c8a853a4a589836e310d776620f4ab9 (patch)
treee5e708d84c307db6797cce2b8ca864e0c265088f /net
parentnet/ibm/emac: add 8192 rx/tx fifo size (diff)
downloadlinux-dev-624ca9c33c8a853a4a589836e310d776620f4ab9.tar.xz
linux-dev-624ca9c33c8a853a4a589836e310d776620f4ab9.zip
net/ibm/emac: wrong bit is used for STA control register write
STA control register has areas of mode and opcodes for opeations. 18 bit is using for mode selection, where 0 is old MIO/MDIO access method and 1 is indirect access mode. 19-20 bits are using for setting up read/write operation(STA opcodes). In current state 'read' is set into old MIO/MDIO mode with 19 bit and write operation is set into 18 bit which is mode selection, not a write operation. To correlate write with read we set it into 20 bit. All those bit operations are MSB 0 based. Signed-off-by: Ivan Mikhaylov <ivan@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions