stmmac: never check EEE in case of a switch is attached
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Thu, 28 Aug 2014 06:11:43 +0000 (08:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Sep 2014 05:01:06 +0000 (22:01 -0700)
commit56b88c25c543f1d4b1fff7f1c0267f59f53c261f
tree51cd22e050905dbd151f79eb79e44de26eeca2ce
parent438a62b16e0aeff5c4a5ab457343cebe4d7278da
stmmac: never check EEE in case of a switch is attached

This patch is to skip the EEE initialisation when the stmmac
is using a switch (with a fixed phy support).

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