net: phy: add mdix_ctrl to hold the user configuration.
authorRaju Lakkaraju <Raju.Lakkaraju@microsemi.com>
Tue, 29 Nov 2016 09:46:46 +0000 (15:16 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2016 16:26:47 +0000 (11:26 -0500)
commitf4ed2fe34fb793755ef8cfc3509e783c4709ffc1
treefd809933a28e8a56f355fe2115287921a369c234
parent8f679ed88f8860206edddff725e2749b4cdbb0e8
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>
include/linux/phy.h