net: bcmgenet: hook ethtool set/get_wol operations
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 21 Jul 2014 22:29:29 +0000 (15:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 23:04:31 +0000 (16:04 -0700)
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 <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c

index 62ef49c8598067241cdc51cdfcb544494c0bbfd6..0173a6d355aa801a99d825cdc11e71efaf4b618c 100644 (file)
@@ -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. */