net: phy: Fix the mdix_ctrl changes
authorRaju Lakkaraju <Raju.Lakkaraju@microsemi.com>
Tue, 29 Nov 2016 09:46:49 +0000 (15:16 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2016 16:26:48 +0000 (11:26 -0500)
commit4e26c5c31570b2b4d8dd45b73e0c4e358f1eb2b4
tree31de195b54a9557e8c673487ad1d086d9799ac9f
parent233275ecf3c1047f69e5def0303a4e615c526568
net: phy: Fix the mdix_ctrl changes

PHY drivers to have an eth_tp_mdix_ctrl to indicate what is the configured
MDI setting, and read eth_tp_mdi to indicate what is the current status,

Add new parameter mdix_ctrl in phy_device structure and fix driver.

Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microsemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c
drivers/net/phy/microchip.c