ethoc: fix library build errors
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 8 Apr 2009 22:41:25 +0000 (15:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2009 22:41:25 +0000 (15:41 -0700)
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 <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig

index 9e7baec457202c6b3d39865752fb4ab819d4a42f..78585fb3bdb5e8ec8673e9ea908ece37af79b98b 100644 (file)
@@ -977,6 +977,8 @@ config ETHOC
        depends on NET_ETHERNET && HAS_IOMEM
        select MII
        select PHYLIB
+       select CRC32
+       select BITREVERSE
        help
          Say Y here if you want to use the OpenCores 10/100 Mbps Ethernet MAC.