[PATCH v3 net-next] net: mvneta: implement .set_wol and .get_wol

2017-01-22 Thread Jingju Hou
The mvneta itself does not support WOL, but the PHY might. So pass the calls to the PHY Signed-off-by: Jingju Hou --- Since v2: - it should be phydev member not phy_dev drivers/net/ethernet/marvell/mvneta.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/net

[PATCH v2 net-next] net: phy: marvell: Add Wake from LAN support for 88E1510 PHY

2017-01-22 Thread Jingju Hou
This is test on BG4CT platform with 88E1518 marvell PHY. Signed-off-by: Jingju Hou --- Since v1: - add some commit messages drivers/net/phy/marvell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 0b78210..ed0d235 100644 --- a

[PATCHv2 net-next] net: mvneta: implement .set_wol and .get_wol

2017-01-22 Thread Jingju Hou
The mvneta itself does not support WOL, but the PHY might. So pass the calls to the PHY Signed-off-by: Jingju Hou --- Since v1: - using phy_dev member in struct net_device drivers/net/ethernet/marvell/mvneta.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers

[PATCH] net: mvneta: implement .set_wol and .get_wol

2017-01-22 Thread Jingju Hou
The mvneta itself does not support WOL, but the PHY might. So pass the calls to the PHY Signed-off-by: Jingju Hou --- Since v1: - using phy_dev member in struct net_device drivers/net/ethernet/marvell/mvneta.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers

[PATCH] net: phy: marvell: Add Wake from LAN support for 88E1510 PHY

2017-01-22 Thread Jingju Hou
Signed-off-by: Jingju Hou --- drivers/net/phy/marvell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 0b78210..ed0d235 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c @@ -1679,6 +1679,8 @@ static int

[PATCH] net: mvneta: implement .set_wol and .get_wol

2017-01-22 Thread Jingju Hou
Signed-off-by: Jingju Hou --- drivers/net/ethernet/marvell/mvneta.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index e05e227..b684f43 100644 --- a/drivers/net/ethernet/marvell