net: phy: aquantia: Set only autoneg on in register 4.c441
authorValentin-catalin Neacsu <valentin-catalin.neacsu@nxp.com>
Wed, 13 Feb 2019 09:14:53 +0000 (09:14 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 8 May 2019 22:27:00 +0000 (17:27 -0500)
commitc940646ed11ed6580a2b7749d05c873e39ad7f42
treeb8cdd32368d624400f222102cab4f0e29790fd66
parent05eb6a698acbd6465c032d39ea77b79f831f05af
net: phy: aquantia: Set only autoneg on in register 4.c441

For AQR405 in register 4.c441 bit 15 was override with 0. This caused the
phy to not negotiate at 2.5GB rate with mac. To avoid
this override it needed first to know the previous value of reg 4.c441
and set only bit 3.

Signed-off-by: Valentin Catalin Neacsu <valentin-catalin.neacsu@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/aquantia.c