Commit 7ba8a9b4 authored by Carmelo AMOROSO's avatar Carmelo AMOROSO Committed by David S. Miller

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: default avatarCarmelo Amoroso <carmelo.amoroso@st.com>
Signed-off-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9cae9e4f
...@@ -2,6 +2,7 @@ config STMMAC_ETH ...@@ -2,6 +2,7 @@ config STMMAC_ETH
tristate "STMicroelectronics 10/100/1000 Ethernet driver" tristate "STMicroelectronics 10/100/1000 Ethernet driver"
select MII select MII
select PHYLIB select PHYLIB
select CRC32
depends on NETDEVICES && CPU_SUBTYPE_ST40 depends on NETDEVICES && CPU_SUBTYPE_ST40
help help
This is the driver for the Ethernet IPs are built around a This is the driver for the Ethernet IPs are built around a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment