From: Florian Fainelli Date: Mon, 21 Jul 2014 22:29:29 +0000 (-0700) Subject: net: bcmgenet: hook ethtool set/get_wol operations X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=06ba8375ec42daae19124eaa106295dbe159731f;p=openwrt%2Fstaging%2Fblogic.git net: bcmgenet: hook ethtool set/get_wol operations Now that Wake-on-LAN support mode is fully integrated into the driver, allow an user to query and configure Wake-on-LAN in the driver. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c index 62ef49c85980..0173a6d355aa 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c @@ -730,6 +730,8 @@ static struct ethtool_ops bcmgenet_ethtool_ops = { .get_link = ethtool_op_get_link, .get_msglevel = bcmgenet_get_msglevel, .set_msglevel = bcmgenet_set_msglevel, + .get_wol = bcmgenet_get_wol, + .set_wol = bcmgenet_set_wol, }; /* Power down the unimac, based on mode. */