net: phy: Pass mdix ethtool setting through to phy driver
authorDavid Thomson <david.thomson@alliedtelesis.co.nz>
Fri, 10 Jul 2015 01:56:54 +0000 (13:56 +1200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jul 2015 06:17:32 +0000 (23:17 -0700)
commit634ec36cc0ab9d8dda0f2c101fa28d2e2a61b9eb
tree77787306c4bc5b6d4937dd5e705b42a96fee5ac4
parenta4e2405cc5d20ed6d58c4874325856e80e76a7f8
net: phy: Pass mdix ethtool setting through to phy driver

Pass the mdix setting from ethtool down to the phy driver, to allow
driver specific implementations of manually setting the polarity.

Signed-off-by: David Thomson <david.thomson@alliedtelesis.co.nz>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
include/linux/phy.h