]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a7819c4aa2f454e22cd9b8d208701b1fdc63ae9
treee890d5d3d4fd5f38d2aca90d94374c1caeeac98d
parente5409dc1464aecc80bc83ec107ed5507f76511f7
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: 37e8703609e3 ("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