From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus =?iso-8859-1?Q?Klotzb=FCcher?= Date: Tue, 08 May 2007 12:04:59 +0200 Subject: [U-Boot-Users] PXA27x USB device In-Reply-To: <20070508084700.GB11009@enneenne.com> (Rodolfo Giometti's message of "Tue, 8 May 2007 10:47:00 +0200") References: <20070507195821.58696352650@atlas.denx.de> <87wszjstt0.fsf@denx.de> <20070508084700.GB11009@enneenne.com> Message-ID: <87bqgv6378.fsf@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Rodolfo, Rodolfo Giometti writes: > On Tue, May 08, 2007 at 08:39:23AM +0200, Markus Klotzb?cher wrote: >> Hi, >> >> Wolfgang Denk writes: >> > in message <87ejlssr7a.fsf@denx.de> you wrote: >> >> >> Ok, if this is what was agreed upon I can live with it. (Don't get me >> >> wrong, I don't think this is a big mistake or so, I just fail to see any >> >> real benefit beside of beeing more Linux-like) >> > >> > Both versionshave their pros and cons, so doing it like Linux is >> > probably a reasonable thing. >> >> Ok, then so it be. > > So we should put there even on-chip devices supports? Like on-chip USB > OHCI controllers and USB devices? Yes. If it's a driver, it should go into drivers/ >> How shall we structure the drivers/usb/ directory? How about something >> like this: >> >> drivers/usb/host/ >> >> - generic and specific host controller drivers (ohci, uhci) >> >> drivers/usb/core/ >> >> - usb core logic >> >> drivers/usb/storage/ >> >> - storage class related code >> >> drivers/usb/input/ >> >> - e.g. keyboard support etc. > > Since I'm working on USB device I think we need also: > > drivers/usb/gadget/ > > - usb gadget drivers > > Also I think we should also move usbtty support there... Ok, fine! >> As said before it needn't be done in one go, but just to make clear >> where usb stuff shall be placed from now on. > > Currently I'm developing my PXA27x USB device support in > cpu/pxa/usbd.c file but as soon as the new tree structure is available > I can move it accordingly. Just create the directories you need while your working on your driver. AFAIK you can't add empty directories with git. Best regards Markus Klotzb?cher -- DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk Office: Kirchenstr. 5, D-82194 Groebenzell, Germany