net: usb: select CONFIG_CRC32 where needed
Subsystems (2)
PATCH 1/1 net: usb: select CONFIG_CRC32 where needed
From: Arnd Bergmann <[email protected]>
Without CRC32, these fail to link:
arm-linux-gnueabi-ld: drivers/net/usb/r8152.o: in function `_rtl8152_set_rx_mode':
r8152.c:(.text+0x2fd68): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/usb/lan78xx.o: in function `lan78xx_set_multicast':
lan78xx.c:(.text+0x7cf4): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/usb/cdc_eem.o: in function `eem_rx_fixup':
cdc_eem.c:(.text+0x374): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/usb/cdc_eem.o: in function `eem_tx_fixup':
cdc_eem.c:(.text+0x70c): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/net/usb/mcs7830.o: in function `mcs7830_data_set_multicast':
--- drivers/net/usb/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/usb/Kconfig +4 -0
@@ -99,6 +99,7 @@ config USB_RTL8150 config USB_RTL8152 tristate "Realtek RTL8152/RTL8153 Based USB Ethernet Adapters" select MII + select CRC32 help This option adds support for Realtek RTL8152 based USB 2.0 10/100 Ethernet adapters and RTL8153 based USB 3.0 10/100/1000
@@ -113,6 +114,7 @@ config USB_LAN78XX select PHYLIB select MICROCHIP_PHY select FIXED_PHY + select CRC32 help This option adds support for Microchip LAN78XX based USB 2 & USB 3 10/100/1000 Ethernet adapters.
@@ -238,6 +240,7 @@ config USB_NET_CDCETHER config USB_NET_CDC_EEM tristate "CDC EEM support" depends on USB_USBNET + select CRC32 help This option supports devices conforming to the Communication Device Class (CDC) Ethernet Emulation Model, a specification that's easy to
@@ -385,6 +388,7 @@ config USB_NET_PLUSB config USB_NET_MCS7830 tristate "MosChip MCS7830 based Ethernet adapters" depends on USB_USBNET + select CRC32 help Choose this option if you're using a 10/100 Ethernet USB2 adapter based on the MosChip 7830 controller. This includes
Signature · 1 line
2.27.0