stmmac: fix advertising 1000Base capabilties for non GMII iface
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Wed, 16 Nov 2011 21:57:59 +0000 (21:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2011 08:13:41 +0000 (03:13 -0500)
commitc5b9b4e4b9076089fe7f9d4f5d1f2bba776646d2
treee0b972734c5814842e1f4a5898a66ceb67f8dd74
parentbbc1754639f771cd2b515fed39b977549b373034
stmmac: fix advertising 1000Base capabilties for non GMII iface

This patch fixes the way to stop the 1000Base advertising
capabilties for non GMII interfaces.

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