]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: disable at run-time the EEE if not supported
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 10 Mar 2014 12:40:31 +0000 (13:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Mar 2014 20:14:31 +0000 (16:14 -0400)
commitae4fcf8c4b54d4d23266fac85952cf289b89a8df
treeb0b016b628b294a4d42d145dd144dd4191b2d89d
parent9d18cb45790c4b0b25dda190dbe510b98940a18c
stmmac: disable at run-time the EEE if not supported

This patch is to disable the EEE (so HW and timers)
for example when the phy communicates that the EEE
can be supported anymore.

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