Commit c5cacb3b authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

ethoc: fix library build errors

ethoc indirectly uses crc32_le() and bitrev32(), so select
those library functions to be built.

drivers/built-in.o: In function `ethoc_set_multicast_list':
ethoc.c:(.text+0x6226f): undefined reference to `crc32_le'
ethoc.c:(.text+0x62276): undefined reference to `bitrev32'
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fd1cc480
...@@ -977,6 +977,8 @@ config ETHOC ...@@ -977,6 +977,8 @@ config ETHOC
depends on NET_ETHERNET && HAS_IOMEM depends on NET_ETHERNET && HAS_IOMEM
select MII select MII
select PHYLIB select PHYLIB
select CRC32
select BITREVERSE
help help
Say Y here if you want to use the OpenCores 10/100 Mbps Ethernet MAC. Say Y here if you want to use the OpenCores 10/100 Mbps Ethernet MAC.
......
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