stmmac: fix PLS bit setting when EEE is active
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Thu, 28 Aug 2014 06:11:44 +0000 (08:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Sep 2014 05:01:06 +0000 (22:01 -0700)
commit71965352eedd0cc524de36accc6da7d5166a2c62
tree67672e2079dabcb7470b3ca71bf9d04cdc81eb62
parent56b88c25c543f1d4b1fff7f1c0267f59f53c261f
stmmac: fix PLS bit setting when EEE is active

In case of PLS is active the PLS (PHY Link Status) bit in
the Reg12 has to be set to allow the MAC to asserts the LPI
pattern when the link is ok.

Signed-off-by: nandini sharma <nandini.sharma@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c