stmmac: allow mmc usage only if feature actually available (V4)
commit38fe7a93fc734357c4811f1c710b1906a87d315c
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Tue, 18 Oct 2011 00:01:23 +0000 (18 00:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 23:24:17 +0000 (19 19:24 -0400)
tree3b3fff1fcbbf9f39cb766ba004290976c99b0912
parent1db123fbe974f9b5eeb6a7083d7430e99fbd9ac1
stmmac: allow mmc usage only if feature actually available (V4)

Enable the MMC support if it is actually available from the
HW capability register.

Signed-off-by: Rayagond Kokatanur <rayagond@vayavyalabs.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_ethtool.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c