All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] ARM: multi_v7_defconfig: Make USB support modular
Date: Wed, 27 May 2015 10:09:41 +0000	[thread overview]
Message-ID: <5189919.ZVDQH3Bp17@wuerfel> (raw)
In-Reply-To: <CAMuHMdUFMLGHAYT06s6Twt+1jvhAHyCk2p0xv6xntiVjffvdug@mail.gmail.com>

On Wednesday 27 May 2015 11:07:15 Geert Uytterhoeven wrote:
> 
> P.S. Strange, USB_NET_DRIVERS is tristate, but setting it to "y" doesn't
>      mean all USB network drivers become builtin, as USB_NET_DRIVERS is never
>      used in a "depends" construct...
> 

The 'if USB_NET_DRIVERS' has the same effect as putting a 'depends on' in
each Kconfig option within.

However, it works the opposite way: if USB_NET_DRIVERS=m, the individual
drivers cannot by 'y', but if USB_NET_DRIVERS=y, they can be 'y', 'm' or 'n'.

	Arnd

WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: multi_v7_defconfig: Make USB support modular
Date: Wed, 27 May 2015 12:09:41 +0200	[thread overview]
Message-ID: <5189919.ZVDQH3Bp17@wuerfel> (raw)
In-Reply-To: <CAMuHMdUFMLGHAYT06s6Twt+1jvhAHyCk2p0xv6xntiVjffvdug@mail.gmail.com>

On Wednesday 27 May 2015 11:07:15 Geert Uytterhoeven wrote:
> 
> P.S. Strange, USB_NET_DRIVERS is tristate, but setting it to "y" doesn't
>      mean all USB network drivers become builtin, as USB_NET_DRIVERS is never
>      used in a "depends" construct...
> 

The 'if USB_NET_DRIVERS' has the same effect as putting a 'depends on' in
each Kconfig option within.

However, it works the opposite way: if USB_NET_DRIVERS=m, the individual
drivers cannot by 'y', but if USB_NET_DRIVERS=y, they can be 'y', 'm' or 'n'.

	Arnd

  reply	other threads:[~2015-05-27 10:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-26 10:58 [PATCH 1/2] ARM: multi_v7_defconfig: Replace CONFIG_USB_ISP1760_HCD by CONFIG_USB_ISP1760 Geert Uytterhoeven
2015-05-26 10:58 ` Geert Uytterhoeven
2015-05-26 10:58 ` [PATCH 2/2] ARM: multi_v7_defconfig: Make USB support modular Geert Uytterhoeven
2015-05-26 10:58   ` Geert Uytterhoeven
2015-05-26 12:26   ` Laurent Pinchart
2015-05-26 12:26     ` Laurent Pinchart
2015-05-27  9:07     ` Geert Uytterhoeven
2015-05-27  9:07       ` Geert Uytterhoeven
2015-05-27 10:09       ` Arnd Bergmann [this message]
2015-05-27 10:09         ` Arnd Bergmann
2015-05-28  0:39 ` [PATCH 1/2] ARM: multi_v7_defconfig: Replace CONFIG_USB_ISP1760_HCD by CONFIG_USB_ISP1760 Simon Horman
2015-05-28  0:39   ` Simon Horman
2015-05-28  8:07   ` Arnd Bergmann
2015-05-28  8:07     ` Arnd Bergmann
2015-05-29  0:40     ` Simon Horman
2015-05-29  0:40       ` Simon Horman
2015-05-29 12:32       ` Arnd Bergmann
2015-05-29 12:32         ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5189919.ZVDQH3Bp17@wuerfel \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.