net: phy: marvell10g: enable WoL for 88X3310 and 88E2110
authorVoon Weifeng <weifeng.voon@intel.com>
Fri, 16 Jul 2021 13:46:45 +0000 (21:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jul 2021 20:22:12 +0000 (13:22 -0700)
commit08041a9af98cf10a1e466206dfe8229b20afd575
tree9f08d7ede44029d0a6d29c27609547b2eb872ab1
parent86a176f485b535d05f211dbf86df22dcc2eba6ee
net: phy: marvell10g: enable WoL for 88X3310 and 88E2110

Implement Wake-on-LAN feature for 88X3310 and 88E2110.

This is done by enabling WoL interrupt and WoL detection and
configuring MAC address into WoL magic packet registers

Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
Signed-off-by: Ling Pei Lee <pei.lee.ling@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c