From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id EC97CDDFCD for ; Wed, 11 Mar 2009 15:10:13 +1100 (EST) Subject: Re: USB Host in 2.6.24-r3 Arch=PPC From: Benjamin Herrenschmidt To: Joachim Foerster In-Reply-To: <1236379543.13132.10.camel@md40100b.ft> References: <49B1469B.9030609@gmail.com> <1236379543.13132.10.camel@md40100b.ft> Content-Type: text/plain Date: Wed, 11 Mar 2009 15:10:02 +1100 Message-Id: <1236744602.7086.39.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, "A. Nolson" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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