]> 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)
commite7e52260858a517cc675ec10439f34abb36314c3
tree3b3fff1fcbbf9f39cb766ba004290976c99b0912
parent0a120087fea803080db671bb6fbde11d46c82b69
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