usb net: asix does not really need 10/100mbit
Subsystems (3)
PATCH 1/21 usb net: asix does not really need 10/100mbit
From: Mike Frysinger <[email protected]>
The asix usb driver currently depends on NET_ETHERNET which means you cannot enable this driver if you only have 1000mbit enabled in your kernel. Since there is no real dependency between the NET_ETHERNET portion and the asix driver, simply drop it.
---
drivers/net/usb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/usb/Kconfig renamed from drivers/net/usb/Kconfig~usb-net-asix-does-not-really-need-10-100mbit +1 -1
@@ -129,7 +129,7 @@ config USB_USBNET config USB_NET_AX8817X tristate "ASIX AX88xxx Based USB 2.0 Ethernet Adapters" - depends on USB_USBNET && NET_ETHERNET + depends on USB_USBNET select CRC32 default y help
_
Jeff Garzik
AppliedQuoted 21 lines · [email protected] wrote:
From: Mike Frysinger <[email protected]>
The asix usb driver currently depends on
NET_ETHERNETwhich means you cannot enable this driver if you only have 1000mbit enabled in your kernel. Since there is no real dependency between theNET_ETHERNETportion and the asix driver, simply drop it.Signed-off-by Mike Frysinger <[email protected]>Cc Greg KH <[email protected]>Cc Jeff Garzik <[email protected]>Cc David Brownell <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
drivers/net/usb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff -puN
drivers/net/usb/Kconfig~usb-net-asix-does-not-really-need-10-100mbitdrivers/net/usb/Kconfig
drivers/net/usb/Kconfig config USB_USBNET · line 134
Quoted 7 lines
drivers/net/usb/Kconfig renamed from drivers/net/usb/Kconfig~usb-net-asix-does-not-really-need-10-100mbit +1
-1@@ -129,7 +129,7 @@ config USB_USBNET config USB_NET_AX8817X tristate "ASIX AX88xxx Based USB 2.0 Ethernet Adapters" - depends on USB_USBNET && NET_ETHERNET + depends on USB_USBNET select CRC32 default y
applied
man, NET_ETHERNET is woefully misnamed