From ae3584498bf81aa3be9ae6f90fbb04e07d707276 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Mon, 28 Aug 2017 20:50:45 +1200 Subject: usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig CONFIG_USB_HOST_ETHER is the framework that the drivers are dependent on USB_HOST_ETHER. Use this as a menu and move the existing LAN75XX and LAN78XX options under new menu. Finally update the defconfigs that need CONFIG_USB_HOST_ETHER. Signed-off-by: Chris Packham Reviewed-by: Simon Glass --- drivers/usb/eth/Kconfig | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/usb/eth/Kconfig b/drivers/usb/eth/Kconfig index 14cfa26cdfc..ab0fb6c865a 100644 --- a/drivers/usb/eth/Kconfig +++ b/drivers/usb/eth/Kconfig @@ -1,7 +1,14 @@ -comment "USB to Ethernet Controller Drivers" +menuconfig USB_HOST_ETHER + bool "USB to Ethernet Controller Drivers" + ---help--- + Say Y here if you would like to enable support for USB Ethernet + adapters. + +if USB_HOST_ETHER config USB_ETHER_LAN75XX bool "Microchip LAN75XX support" + depends on USB_HOST_ETHER ---help--- Say Y here if you would like to support Microchip LAN75XX Hi-Speed USB 2.0 to 10/100/1000 Gigabit Ethernet controller. @@ -10,8 +17,11 @@ config USB_ETHER_LAN75XX config USB_ETHER_LAN78XX bool "Microchip LAN78XX support" + depends on USB_HOST_ETHER ---help--- Say Y here if you would like to support Microchip LAN78XX USB 3.1 Gen 1 to 10/100/1000 Gigabit Ethernet controller. Supports 10Base-T/ 100Base-TX/1000Base-T. This driver supports the internal PHY. + +endif -- cgit