From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rodolfo Giometti Date: Tue, 8 May 2007 10:47:00 +0200 Subject: [U-Boot-Users] PXA27x USB device In-Reply-To: <87wszjstt0.fsf@denx.de> References: <20070507195821.58696352650@atlas.denx.de> <87wszjstt0.fsf@denx.de> Message-ID: <20070508084700.GB11009@enneenne.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? > 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... > 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. Ciao, Rodolfo -- GNU/Linux Solutions e-mail: giometti at enneenne.com Linux Device Driver giometti at gnudd.com Embedded Systems giometti at linux.it UNIX programming phone: +39 349 2432127