net: phy: marvell10g: Don't explicitly set Pause and Asym_Pause
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Fri, 15 Feb 2019 08:33:47 +0000 (09:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Feb 2019 23:33:53 +0000 (15:33 -0800)
commit56425638839cfb038adeba3fb5ff6a4466ec37f9
tree2a7e071db10c3b1a72901098ef80b9e7fe63e026
parenta0bc653b1d48671caa9d22a44ff98050f8efd3ea
net: phy: marvell10g: Don't explicitly set Pause and Asym_Pause

The PHY core expects PHY drivers not to set Pause and Asym_Pause bits,
unless the driver only wants to specify one of them due to HW
limitation. In the case of the Marvell10g driver, we don't need to set
them.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c