Skip to contentSkip to conversation

usb net: asix does not really need 10/100mbit

PATCH Applied [email protected] 2 participants 2 messages Mar 28, 2008 – Mar 29, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
diff -puN drivers/net/usb/Kconfig~usb-net-asix-does-not-really-need-10-100mbit drivers/net/usb/Kconfig
@@ -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

_

Applied
#1 lore raw
Quoted 21 lines · [email protected] wrote:

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(-)

diff -puN drivers/net/usb/Kconfig~usb-net-asix-does-not-really-need-10-100mbit drivers/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