From: plagnioj at jcrosoft.com Date: Sat, 13 Oct 2007 17:14:26 +0200 Subject: [U-Boot-Users] [PATCH] drivers/usb : move usb drivers to drivers/usb In-Reply-To: <87sl4gydqa.fsf@denx.de> References: <1192091549-25875-7-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-8-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-9-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-10-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-11-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-12-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-13-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-14-git-send-email-plagnioj@jcrosoft.com> <1192091549-25875-15-git-send-email-plagnioj@jcrosoft.com> <87sl4gydqa.fsf@denx.de> Message-ID: <20071013151426.GA4259@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09:49 Fri 12 Oct , Markus Klotzb?cher wrote: > Jean-Christophe, > > Jean-Christophe PLAGNIOL-VILLARD writes: > > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > > drivers/Makefile | 11 ----------- > > drivers/usb/Makefile | 8 +++++++- > > drivers/{ => usb}/isp116x-hcd.c | 0 > > We had an discussion some time ago on how and where to put the different > parts of the U-Boot USB stack. Basically we agreed to move all usb code > to drivers/usb/ but furthermore we wanted to structure it in a similar > way as the linux kernel does. Please see the following thread: > > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/28154/focus=28177 > > Can restructure the drivers like this? > I've read the thread, and I agree with the conclusion and propose to merge the usb directory as follow 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/serial/ - e.g. serial support drivers/usb/keyboard/ - e.g. serial support drivers/usb/gadget/ - usb gadget drivers drivers/usb/misc/ - usb misc drivers with the following nomenclature [type]-cpu.{h,c} as example ohci-ppc4xx.c I propose to begin with the drivers present in drivers and after merge the cpu drivers which an invasive work Best Regards Jean-Christophe PLAGNIOL-VILLARD