net: stmmac: dwmac4: Re-enable MAC Rx before powering down
authorEd Blake <ed.blake@sondrel.com>
Tue, 26 Sep 2017 10:44:53 +0000 (11:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 17:19:02 +0000 (10:19 -0700)
commit1579f678fb4397f9e439d2e373d4ade036c673b4
treede58ed5329900dae5c1c437edf167533a1da750c
parent06d7a1b932c26afe2c0a1f4520ddd417d8eeda79
net: stmmac: dwmac4: Re-enable MAC Rx before powering down

Re-enable the MAC receiver by setting CONFIG_RE before powering down,
as instructed in section 6.3.5.1 of [1].  Without this the MAC fails
to receive WoL packets and never wakes up.

[1] DWC Ethernet QoS Databook 4.10a October 2014

Signed-off-by: Ed Blake <ed.blake@sondrel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c