Skip to content

Commit c5cacb3

Browse files
rddunlapdavem330
authored andcommitted
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: Randy Dunlap <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent fd1cc48 commit c5cacb3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,8 @@ config ETHOC
977977
depends on NET_ETHERNET && HAS_IOMEM
978978
select MII
979979
select PHYLIB
980+
select CRC32
981+
select BITREVERSE
980982
help
981983
Say Y here if you want to use the OpenCores 10/100 Mbps Ethernet MAC.
982984

0 commit comments

Comments
 (0)