summaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac
diff options
context:
space:
mode:
authorCarmelo AMOROSO <carmelo.amoroso@st.com>2010-03-31 23:44:03 +0200
committerDavid S. Miller <davem@davemloft.net>2010-04-02 02:25:59 +0200
commit7ba8a9b4f92e9559933af305c9b11e9beb97f9ea (patch)
treee8c7591f178e67fd9919362e1d3e384a591263e3 /drivers/net/stmmac
parentbe2net: fix bug in vlan rx path for big endian architecture (diff)
downloadlinux-7ba8a9b4f92e9559933af305c9b11e9beb97f9ea.tar.xz
linux-7ba8a9b4f92e9559933af305c9b11e9beb97f9ea.zip
stmmac: fix kconfig for crc32 build error
stmmac uses crc32 functions so it needs to select CRC32. Fixes build error: drivers/built-in.o: In function `dwmac1000_set_filter': dwmac1000_core.c:(.text+0x3c380): undefined reference to `crc32_le' dwmac1000_core.c:(.text+0x3c384): undefined reference to `bitrev32' Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac')
-rw-r--r--drivers/net/stmmac/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/stmmac/Kconfig b/drivers/net/stmmac/Kconfig
index fb287649a305..eb63d44748a7 100644
--- a/drivers/net/stmmac/Kconfig
+++ b/drivers/net/stmmac/Kconfig
@@ -2,6 +2,7 @@ config STMMAC_ETH
tristate "STMicroelectronics 10/100/1000 Ethernet driver"
select MII
select PHYLIB
+ select CRC32
depends on NETDEVICES && CPU_SUBTYPE_ST40
help
This is the driver for the Ethernet IPs are built around a