aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorRaju Lakkaraju <Raju.Lakkaraju@microsemi.com>2016-11-29 15:16:46 +0530
committerDavid S. Miller <davem@davemloft.net>2016-12-01 11:26:47 -0500
commitf4ed2fe34fb793755ef8cfc3509e783c4709ffc1 (patch)
treefd809933a28e8a56f355fe2115287921a369c234 /include/linux/phy.h
parentdriver: ipvlan: Remove useless member mtu_adj of struct ipvl_dev (diff)
downloadlinux-dev-f4ed2fe34fb793755ef8cfc3509e783c4709ffc1.tar.xz
linux-dev-f4ed2fe34fb793755ef8cfc3509e783c4709ffc1.zip
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: Raju Lakkaraju <Raju.Lakkaraju@microsemi.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r--include/linux/phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h
index b53177fd38af..feb8a98e8dd3 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -450,6 +450,7 @@ struct phy_device {
struct net_device *attached_dev;
u8 mdix;
+ u8 mdix_ctrl;
void (*adjust_link)(struct net_device *dev);
};