net: phy: mscc: coma mode disabled for VSC8514
authorBjarni Jonasson <bjarni.jonasson@microchip.com>
Tue, 16 Feb 2021 15:29:44 +0000 (16:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2021 22:06:19 +0000 (14:06 -0800)
commitca0d7fd0a58dfc9503775dae7daee341c115e0c7
treee890d5d3d4fd5f38d2aca90d94374c1caeeac98d
parent85e97f0b984eb36cba0ecaf87c66a9f7445d73dc
net: phy: mscc: coma mode disabled for VSC8514

The 'coma mode' (configurable through sw or hw) provides an
optional feature that may be used to control when the PHYs become active.
The typical usage is to synchronize the link-up time across
all PHY instances. This patch releases coma mode if not done by hardware,
otherwise the phys will not link-up.

Fixes: e4f9ba642f0b ("net: phy: mscc: add support for VSC8514 PHY.")
Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: Bjarni Jonasson <bjarni.jonasson@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc/mscc.h
drivers/net/phy/mscc/mscc_main.c