net: bcmgenet: handle GENET_POWER_WOL_MAGIC
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 21 Jul 2014 22:29:25 +0000 (15:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 23:04:31 +0000 (16:04 -0700)
commitc3ae64ae0c08b3ff7fe0dea4d43c586f02a3adb5
tree3d8b57b3300b92f85f58c0886ac44f5b8f90ee94
parentc51de7f3976b649d72d3ff006954640aec2fe58c
net: bcmgenet: handle GENET_POWER_WOL_MAGIC

Update bcmgenet_power_{up,down} to handle the case where the adapter has
been suspend respectively resumed from Wake-on-LAN using MagicPackets.

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