Skip to content
Commit b291c418 authored by Stefan Hauser's avatar Stefan Hauser Committed by David S. Miller
Browse files

net: phy: dp83867: Fix initialization of PHYCR register



When initializing the PHY control register, the FIFO depth bits are
written without reading the previous register value, i.e. all other
bits are overwritten with zero. This disables automatic MDI-X
configuration, which is enabled by default. Fix initialization by doing
a read/modify/write operation.

Signed-off-by: default avatarStefan Hauser <stefan@shauser.net>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 373819ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment