]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell10g: limit soft reset to 88x3310
authorBaruch Siach <baruch@tkos.co.il>
Tue, 21 Apr 2020 09:04:46 +0000 (12:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Apr 2020 19:31:41 +0000 (12:31 -0700)
commitd893e6e375129152dd9a5981108b2dca54830ddf
tree592076f138c52294d7cb589dd2cff152dad1fe9a
parent3d29937e16f51b669c97256ddbe1ed33202cfb2a
net: phy: marvell10g: limit soft reset to 88x3310

The MV_V2_PORT_CTRL_SWRST bit in MV_V2_PORT_CTRL is reserved on 88E2110.
Setting SWRST on 88E2110 breaks packets transfer after interface down/up
cycle.

Fixes: 10acd371ff21 ("net: marvell10g: soft-reset the PHY when coming out of low power")
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c