]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa57fa15ded938050f29ac4e19e510ab2b74981f
tree67672e2079dabcb7470b3ca71bf9d04cdc81eb62
parent7f809e46840e018f2021025e0ac82783aa78d7fa
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