]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: allow mmc usage only if feature actually available (V4)
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Tue, 18 Oct 2011 00:01:23 +0000 (00:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 23:24:17 +0000 (19:24 -0400)
commit940f66ad2f355dfe65ad6070c85083a394775a29
tree3b3fff1fcbbf9f39cb766ba004290976c99b0912
parent85050a1c457a99e1497a131b65854619369cb82d
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