]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: fix PWRDWN into the PMT register for global unicast.
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Fri, 16 Sep 2016 08:50:13 +0000 (10:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Sep 2016 02:21:06 +0000 (22:21 -0400)
commit9099385c4d0556d81db43fce674a80f1c864e56c
tree9aa6fc4633e4c58bb7c351628b2b4336df78045e
parent7522cb4502e7903e2e5f885e59dd0575befeaf15
stmmac: fix PWRDWN into the PMT register for global unicast.

MAC devices use the RWKPKTEN and MGKPKTEN bits of the PMT Control/Status
register to generate power management events.
So this patch is to properly set the RWKPKTEN [BIT(2)] inside the
PMT register (needed in case of global unicast).

Reported-by: Aditi SHARMA <aditi-hed.sharma@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c