From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Hans de Goede <hdegoede@redhat.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb <linux-usb@vger.kernel.org>,
linux-kbuild@vger.kernel.org
Subject: Re: [PATCH 1/2] usb/host/Kconfig: ohci- / ehci-platform make sure PHY_GENERIC is available
Date: Tue, 11 Feb 2014 01:43:08 +0100 [thread overview]
Message-ID: <20140211004308.GI5239@free.fr> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1402101059210.1593-100000@iolanthe.rowland.org>
Alam, All,
On 2014-02-10 11:04 -0500, Alan Stern spake thusly:
> On Mon, 10 Feb 2014, Hans de Goede wrote:
>
> > Disallow ohci- / ehci-platform being built-in, when the phy core is build as
> > a module.
> >
> > Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> > ---
> > drivers/usb/host/Kconfig | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> > index e28cbe0..1dd73e3 100644
> > --- a/drivers/usb/host/Kconfig
> > +++ b/drivers/usb/host/Kconfig
> > @@ -255,7 +255,7 @@ config USB_EHCI_ATH79
> >
> > config USB_EHCI_HCD_PLATFORM
> > tristate "Generic EHCI driver for a platform device"
> > - depends on !PPC_OF
> > + depends on !PPC_OF && (GENERIC_PHY || !GENERIC_PHY)
> > default n
> > ---help---
> > Adds an EHCI host driver for a generic platform device, which
> > @@ -512,6 +512,7 @@ config USB_CNS3XXX_OHCI
> >
> > config USB_OHCI_HCD_PLATFORM
> > tristate "Generic OHCI driver for a platform device"
> > + depends on GENERIC_PHY || !GENERIC_PHY
> > default n
> > ---help---
> > Adds an OHCI host driver for a generic platform device, which
>
> I would very much like to know of a more straightforward way to do
> this. Yann, can you suggest anything?
Unfortunately, I don't have a better solution at hand... :-/
IIRC, this issue (or a similar issue) was discussed here on
linux-kbuild, but no better alternative was found at the time either.
At least, this construct should be documented, I think, since it is not
so obvious.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
prev parent reply other threads:[~2014-02-11 0:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1392041327-12596-2-git-send-email-hdegoede@redhat.com>
2014-02-10 16:04 ` [PATCH 1/2] usb/host/Kconfig: ohci- / ehci-platform make sure PHY_GENERIC is available Alan Stern
2014-02-11 0:43 ` Yann E. MORIN [this message]
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=20140211004308.GI5239@free.fr \
--to=yann.morin.1998@free.fr \
--cc=gregkh@linuxfoundation.org \
--cc=hdegoede@redhat.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/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