From: Roman Zippel <zippel@linux-m68k.org>
To: David Brownell <david-b@pacbell.net>
Cc: Adrian Bunk <bunk@fs.tum.de>,
linux-kernel@vger.kernel.org, greg@kroah.com,
linux-usb-devel@lists.sourceforge.net
Subject: Re: [2.6 patch] improce USB Gadget Kconfig
Date: Thu, 15 Jan 2004 22:55:25 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.58.0401152200330.2530@serv> (raw)
In-Reply-To: <3FF0F6F5.10409@pacbell.net>
Hi,
On Mon, 29 Dec 2003, David Brownell wrote:
> How about using this approach instead? It simplifies the kconfig
> for the gadget drivers by providing a boolean "which hardware"
> symbol, so gadget drivers don't need to make their own. The symbol
> that's synthetic is the one needed only by the Makefile.
There are some strange things in there.
choice values can also be tristate symbols, so you wouldn't need the
separate defines, unless you really always want to compile only a single
controller (even as module).
The "default m if USB_GADGET = m" looks weird, if I understand them
correctly this should just be "depends on USB_GADGET", e.g.
config USB_NET2280
tristate
depends on USB_GADGET
default USB_GADGET_NET2280
this would also fix the menu structure and the drivers menu would appear
below the gadget option.
I'm also not sure about USB_PXA2XX_SMALL, as it also can be written as:
config USB_PXA2XX_SMALL
depends on USB_PXA2XX = y
default USB_ZERO = y || USB_ETH = y || USB_G_SERIAL
is this really intended?
The dependency "USB_DUMMY_HCD || USB_NET2280 || USB_PXA2XX || USB_SA1100
|| USB_GOKU" can be basically reduced to "USB_GADGET".
> Roman, this seems to trigger some kind of xconfig/menuconfig bug,
> since I can go down the list of hardware options (net2280, goku,
> dummy -- three, not the single one Adrian was working with) and
> each deselects the previous selection ... but then it's impossible
> to turn off the dummy, and select real hardware.
I can't reproduce this, it works fine here.
bye, Roman
next prev parent reply other threads:[~2004-01-15 22:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-23 17:23 Adrian Bunk
2003-12-30 3:54 ` David Brownell
2004-01-10 3:04 ` Adrian Bunk
2004-01-15 21:55 ` Roman Zippel [this message]
2004-01-16 2:18 ` David Brownell
2004-01-16 21:41 ` Roman Zippel
2004-01-16 23:15 ` David Brownell
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=Pine.LNX.4.58.0401152200330.2530@serv \
--to=zippel@linux-m68k.org \
--cc=bunk@fs.tum.de \
--cc=david-b@pacbell.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome