diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-02-06 15:59:23 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-02-28 12:04:10 +0100 |
commit | 380376520f726ee7544c2fcd3c114187f01a6f27 (patch) | |
tree | fd2a7d7ad46a3c33bf8a082740012187526c4382 /lib/linux_string.c | |
parent | 4c2c28a46571498c55b38d988ace3d176368ed6b (diff) |
net: phy: dp83867: Clean force link good bit
On Xilinx ZynqMP revA board initial value of PHYCR register is 0x5448 which
means FORCE_LINK_GOOD is already setup. Origin code was doing write but the
new code is doing read/modify/write and keep this bit untouched. That's why
ethernet stop to work.
The patch is cleaning this bit when PHYCR value is composed.
Tested on Xilinx zcu102-revA and zcu104-rev1.0 boards.
Fixes: 37d6265f2bfa ("net: phy: dp83867: refactor rgmii configuration")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions