]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a8aeba7b85a779e2964d1cbd3548da7f7934c81
tree77787306c4bc5b6d4937dd5e705b42a96fee5ac4
parent5fb65b0c6c8811fb55e7cea4688b065f76bc1206
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