Marvell phy: check link status in case of fiber link.
For concerned phy, the fiber link is checked before the copper link. According to datasheet, the link which is up is enabled. If both links are down, copper link would be used. To detect fiber link status, we used the real time status because of troubles with the copper method. Tested with Marvell 88E1512. Reviewed-by: NAndrew Lunn <andrew@lunn.ch> Signed-off-by: NCharles-Antoine Couret <charles-antoine.couret@nexvision.fr> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录