[2.6 patch] let USB_{PEGASUS,USBNET} depend on NET_ETHERNET

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I observed the following small problem in 2.6:

- MII depends on NET_ETHERNET
- USB_PEGASUS and USB_USBNET select MII, but they depend only on NET
 
The patch below lets USB_PEGASUS and USB_USBNET depend on NET_ETHERNET 
instead of NET to fix this issue.

Please apply
Adrian

--- linux-2.6.0-test11-mm1-modular-no-smp/drivers/usb/net/Kconfig.old	2003-12-21 03:18:32.000000000 +0100
+++ linux-2.6.0-test11-mm1-modular-no-smp/drivers/usb/net/Kconfig	2003-12-21 03:18:55.000000000 +0100
@@ -69,7 +69,7 @@
 
 config USB_PEGASUS
 	tristate "USB Pegasus/Pegasus-II based ethernet device support"
-	depends on USB && NET
+	depends on USB && NET_ETHERNET
 	select MII
 	---help---
 	  Say Y here if you know you have Pegasus or Pegasus-II based adapter.
@@ -95,7 +95,7 @@
 
 config USB_USBNET
 	tristate "Multi-purpose USB Networking Framework"
-	depends on USB && NET
+	depends on USB && NET_ETHERNET
 	select CRC32
 	select MII
 	---help---
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux