Message ID | 1270107844-23457-1-git-send-email-peppe.cavallaro@st.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Giuseppe CAVALLARO <peppe.cavallaro@st.com> Date: Thu, 1 Apr 2010 09:44:03 +0200 > From: Carmelo AMOROSO <carmelo.amoroso@st.com> > > 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> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/stmmac/Kconfig b/drivers/net/stmmac/Kconfig index fb28764..eb63d44 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