Subject: Re: [PATCH] usbnet: removed USB_USBNET as a config option

From: Bjørn Mork <[email-masked]>
Date: Mon, 19 Oct 2015 21:16:37 +0200

Oliver Neukum <[email-masked]> writes:

> usbnet drives no devices of its own. It makes more sense to
> select it whenever a driver for actual hardware that needs
> it is chosen rather than offer it as an option of its own.
>
> Signed-off-by: Oliver Neukum <[email-masked]>
> ---
>  drivers/net/usb/Kconfig | 75 +++++++++++++++----------------------------------
>  1 file changed, 23 insertions(+), 52 deletions(-)
>
> diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig
> index 8cf0eba..0cf45ab 100644
> --- a/drivers/net/usb/Kconfig
> +++ b/drivers/net/usb/Kconfig
> @@ -119,42 +119,12 @@ config USB_LAN78XX
>  	  module will be called lan78xx.
>  

This looks incomplete.

bjorn@nemi:/usr/local/src/git/linux$ git am /tmp/f
Applying: usbnet: removed USB_USBNET as a config option
bjorn@nemi:/usr/local/src/git/linux$ git grep -B4 'depends on USB_USBNET'
drivers/net/usb/Kconfig-            * Ericsson F5521gw Mobile Broadband Module
drivers/net/usb/Kconfig-
drivers/net/usb/Kconfig-config USB_NET_HUAWEI_CDC_NCM
drivers/net/usb/Kconfig-        tristate "Huawei NCM embedded AT channel support"
drivers/net/usb/Kconfig:        depends on USB_USBNET
--
drivers/net/usb/Kconfig-                called huawei_cdc_ncm.ko.
drivers/net/usb/Kconfig-
drivers/net/usb/Kconfig-config USB_NET_CDC_MBIM
drivers/net/usb/Kconfig-        tristate "CDC MBIM support"
drivers/net/usb/Kconfig:        depends on USB_USBNET
--
drivers/net/usb/Kconfig-          adapters marketed under the DeLOCK brand.
drivers/net/usb/Kconfig-
drivers/net/usb/Kconfig-config USB_NET_RNDIS_HOST
drivers/net/usb/Kconfig-        tristate "Host for RNDIS and ActiveSync devices"
drivers/net/usb/Kconfig:        depends on USB_USBNET
--
drivers/net/usb/Kconfig-          with one of these chips.
drivers/net/usb/Kconfig-
drivers/net/usb/Kconfig-config USB_NET_ZAURUS
drivers/net/usb/Kconfig-        tristate "Sharp Zaurus (stock ROMs) and compatible"
drivers/net/usb/Kconfig:        depends on USB_USBNET
--
drivers/net/usb/Kconfig-          module will be called kalmia.
drivers/net/usb/Kconfig-
drivers/net/usb/Kconfig-config USB_NET_QMI_WWAN
drivers/net/usb/Kconfig-        tristate "QMI WWAN driver for Qualcomm MSM based 3G and LTE modems"
drivers/net/usb/Kconfig:        depends on USB_USBNET

Bjørn