net: mvneta: implement .set_wol and .get_wol
authorJingju Hou <[email protected]>
Mon, 6 Feb 2017 06:58:13 +0000 (14:58 +0800)
committerDavid S. Miller <[email protected]>
Mon, 6 Feb 2017 15:54:02 +0000 (10:54 -0500)
commitb60a00f9c5f14695991cb77dce7e926623269d88
tree82abdeacb36a38b553f7fe2acf3ff7e4d8ae5ac8
parentbd092ad1463ca0990581fa992e12a9b0ed295d25
net: mvneta: implement .set_wol and .get_wol

The mvneta itself does not support WOL, but the PHY might.
So pass the calls to the PHY

Signed-off-by: Jingju Hou <[email protected]>
Signed-off-by: Jisheng Zhang <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/marvell/mvneta.c