提交 f4ed2fe3 编写于 作者: R Raju Lakkaraju 提交者: David S. Miller

net: phy: add mdix_ctrl to hold the user configuration.

Add new parameter mdix_ctrl to hold the user configuration.
Existing mdix maintain the current status of MDI(X) crossover performed or
not.
mdix_ctrl can configure either ETH_TP_MDI or ETH_TP_MDI_X orETH_TP_MDI_AUTO.
Signed-off-by: NRaju Lakkaraju <Raju.Lakkaraju@microsemi.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8f679ed8
......@@ -450,6 +450,7 @@ struct phy_device {
struct net_device *attached_dev;
u8 mdix;
u8 mdix_ctrl;
void (*adjust_link)(struct net_device *dev);
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册