linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Joachim Foerster <mls.JOFT@gmx.de>
Cc: linuxppc-dev@ozlabs.org, "A. Nolson" <alohanono@gmail.com>
Subject: Re: USB Host in 2.6.24-r3 Arch=PPC
Date: Wed, 11 Mar 2009 15:10:02 +1100	[thread overview]
Message-ID: <1236744602.7086.39.camel@pasglop> (raw)
In-Reply-To: <1236379543.13132.10.camel@md40100b.ft>

On Fri, 2009-03-06 at 23:45 +0100, Joachim Foerster wrote:
> Hi,
> 
> On Fri, 2009-03-06 at 16:51 +0100, A. Nolson wrote:
> >  just a little question. I am using 2.6.24-rc3 (secretlab) and I would
> > like to use c67x00 driver from Peter Kosgaard for USB-Host in my Xilinx
> > ML403 board. Is there support to use USB Host in Arch=ppc  Apparently I
> > cannot select  CONFIG_USB_ARCH_HAS_HCD=y option. What should I do to get
> > the USB working?
> 
> The problem of not being able to select the c67x00 driver, may be solved
> by simply pretending that ARCH=ppc "has a HCD" ... e.g.:

That sounds weird... how do other SoCs do ?

If you don't have PCI, look at the embedded section. 

Ben.

> diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
> index 755823c..eea0277 100644
> --- a/drivers/usb/Kconfig
> +++ b/drivers/usb/Kconfig
> @@ -22,6 +22,7 @@ config USB_ARCH_HAS_HCD
>         default y if PCMCIA && !M32R                    # sl811_cs
>         default y if ARM                                # SL-811
>         default y if SUPERH                             # r8a66597-hcd
> +       default y if PPC
>         default PCI
>  
>  # many non-PCI SOC chips embed OHCI
> 
> BTW: For a long time I'm wondering about what is the reason for making
> it not selectable by default ...
> 
>  Joachim
> 
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

      parent reply	other threads:[~2009-03-11  4:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06 15:51 USB Host in 2.6.24-r3 Arch=PPC A. Nolson
2009-03-06 22:45 ` Joachim Foerster
2009-03-10 23:17   ` C67x00 reset problems A. Nolson
2009-03-10 23:42     ` Grant Likely
2009-03-11 13:40       ` A. Nolson
2009-03-19 23:19       ` David H. Lynch Jr.
2009-03-11  4:10   ` Benjamin Herrenschmidt [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=1236744602.7086.39.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=alohanono@gmail.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mls.JOFT@gmx.de \
    /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;
as well as URLs for NNTP newsgroup(s).