linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Joachim Foerster <mls.JOFT@gmx.de>
To: "A. Nolson" <alohanono@gmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: USB Host in 2.6.24-r3 Arch=PPC
Date: Fri, 06 Mar 2009 23:45:42 +0100	[thread overview]
Message-ID: <1236379543.13132.10.camel@md40100b.ft> (raw)
In-Reply-To: <49B1469B.9030609@gmail.com>

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.:

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

  reply	other threads:[~2009-03-06 22:45 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 [this message]
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   ` USB Host in 2.6.24-r3 Arch=PPC Benjamin Herrenschmidt

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=1236379543.13132.10.camel@md40100b.ft \
    --to=mls.joft@gmx.de \
    --cc=alohanono@gmail.com \
    --cc=linuxppc-dev@ozlabs.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 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).