[PATCH] net: phy: Support setting polarity in marvell phy driver

2015-07-09 Thread David Thomson
Support manually setting the polarity to mdi or mdix Signed-off-by: David Thomson --- drivers/net/phy/marvell.c | 42 -- drivers/net/phy/phy.c | 1 + 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/marvell.c b/drivers

[PATCH] net: phy: Pass mdix ethtool setting through to phy driver

2015-07-09 Thread David Thomson
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 --- drivers/net/phy/phy.c | 2 ++ include/linux/phy.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/phy/phy.c