From: Randy Dunlap Subject: [PATCH] !CONFIG_NET_ETHERNET unsets CONFIG_PHYLIB, but CONFIG_USB_USBNET also needs CONFIG_PHYLIB Date: Wed, 25 Oct 2006 15:17:37 -0700 Message-ID: <20061025151737.1bf4898c.randy.dunlap@oracle.com> References: <20061025201341.GH21200@miggy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Linus Torvalds , linux-kernel , David Brownell , Roman Zippel Return-path: Received: from rgminet01.oracle.com ([148.87.113.118]:12605 "EHLO rgminet01.oracle.com") by vger.kernel.org with ESMTP id S964837AbWJYWQ7 (ORCPT ); Wed, 25 Oct 2006 18:16:59 -0400 To: Athanasius , toralf.foerster@gmx.de, gregkh , akpm , netdev , lud In-Reply-To: <20061025201341.GH21200@miggy.org> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Randy Dunlap USB network drivers that use mii_*() interfaces should cause those interfaces to be built. Or depend on them, but this is what all drivers/net/ drivers do. Signed-off-by: Randy Dunlap --- drivers/usb/net/Kconfig | 3 +++ 1 file changed, 3 insertions(+) --- linux-2619-rc3-pv.orig/drivers/usb/net/Kconfig +++ linux-2619-rc3-pv/drivers/usb/net/Kconfig @@ -84,6 +84,7 @@ config USB_PEGASUS config USB_RTL8150 tristate "USB RTL8150 based ethernet device support (EXPERIMENTAL)" depends on EXPERIMENTAL + select MII help Say Y here if you have RTL8150 based usb-ethernet adapter. Send me any comments you may have. @@ -94,6 +95,7 @@ config USB_RTL8150 config USB_USBNET tristate "Multi-purpose USB Networking Framework" + select MII ---help--- This driver supports several kinds of network links over USB, with "minidrivers" built around a common network driver core @@ -210,6 +212,7 @@ config USB_NET_PLUSB config USB_NET_MCS7830 tristate "MosChip MCS7830 based Ethernet adapters" depends on USB_USBNET + select MII help Choose this option if you're using a 10/100 Ethernet USB2 adapter based on the MosChip 7830 controller. This includes ---