diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-09-14 17:23:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-15 15:49:08 -0400 |
commit | aaba215ca0b4232824c92b830853f465f16a6672 (patch) | |
tree | 2b57eba8cd29aebe377e5c8656d694310421a7fe /drivers/net/usb/Kconfig | |
parent | 4f2f25f9f04a92aab31e3bc1dcb84bec33acc773 (diff) |
MII: fix Kconfig dependencies for MII
MII Kconfig option is apart of the core networking drivers and
by default NET_CORE is enabled so drivers selecting MII will
have MII enabled as well. It was found using the randconfig
option during testing, MII would be selected but NET_CORE
could be disabled. This caused a dependency error.
Resolved the dependency by selecting NET_CORE when MII is
selected.
Reported-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/Kconfig')
-rw-r--r-- | drivers/net/usb/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig index 84d4608153c9..233576127934 100644 --- a/drivers/net/usb/Kconfig +++ b/drivers/net/usb/Kconfig | |||
@@ -68,6 +68,7 @@ config USB_KAWETH | |||
68 | 68 | ||
69 | config USB_PEGASUS | 69 | config USB_PEGASUS |
70 | tristate "USB Pegasus/Pegasus-II based ethernet device support" | 70 | tristate "USB Pegasus/Pegasus-II based ethernet device support" |
71 | select NET_CORE | ||
71 | select MII | 72 | select MII |
72 | ---help--- | 73 | ---help--- |
73 | Say Y here if you know you have Pegasus or Pegasus-II based adapter. | 74 | Say Y here if you know you have Pegasus or Pegasus-II based adapter. |
@@ -84,6 +85,7 @@ config USB_PEGASUS | |||
84 | config USB_RTL8150 | 85 | config USB_RTL8150 |
85 | tristate "USB RTL8150 based ethernet device support (EXPERIMENTAL)" | 86 | tristate "USB RTL8150 based ethernet device support (EXPERIMENTAL)" |
86 | depends on EXPERIMENTAL | 87 | depends on EXPERIMENTAL |
88 | select NET_CORE | ||
87 | select MII | 89 | select MII |
88 | help | 90 | help |
89 | Say Y here if you have RTL8150 based usb-ethernet adapter. | 91 | Say Y here if you have RTL8150 based usb-ethernet adapter. |
@@ -95,6 +97,7 @@ config USB_RTL8150 | |||
95 | 97 | ||
96 | config USB_USBNET | 98 | config USB_USBNET |
97 | tristate "Multi-purpose USB Networking Framework" | 99 | tristate "Multi-purpose USB Networking Framework" |
100 | select NET_CORE | ||
98 | select MII | 101 | select MII |
99 | ---help--- | 102 | ---help--- |
100 | This driver supports several kinds of network links over USB, | 103 | This driver supports several kinds of network links over USB, |