Re: [RFC 1/2] Convert ehci-hcd to a library

2012-10-03 Thread Alan Stern
On Wed, 3 Oct 2012, Felipe Balbi wrote: > > There will be a few cases where the platform code needs to call a core > > routine. So we'd still need to export a few routines, but not nearly > > as many as I did here. > > I think there shouldn't be.. well, unless we need to apply some very > specif

Re: [RFC 1/2] Convert ehci-hcd to a library

2012-10-03 Thread Felipe Balbi
Hi, On Tue, Oct 02, 2012 at 04:07:08PM -0400, Alan Stern wrote: > On Tue, 2 Oct 2012, Felipe Balbi wrote: > > > > --- usb-3.6.orig/drivers/usb/host/ehci.h > > > +++ usb-3.6/drivers/usb/host/ehci.h > > > @@ -761,26 +761,73 @@ static inline u32 hc32_to_cpup (const st > > > > > > > > > /*---

Re: [RFC 1/2] Convert ehci-hcd to a library

2012-10-02 Thread Alan Stern
On Tue, 2 Oct 2012, Felipe Balbi wrote: > > --- usb-3.6.orig/drivers/usb/host/ehci.h > > +++ usb-3.6/drivers/usb/host/ehci.h > > @@ -761,26 +761,73 @@ static inline u32 hc32_to_cpup (const st > > > > > > /*-*/ > > > > -#

Re: [RFC 1/2] Convert ehci-hcd to a library

2012-10-02 Thread Felipe Balbi
Hi, On Mon, Oct 01, 2012 at 04:21:31PM -0400, Alan Stern wrote: > Felipe: > > We've been talking about this for a long time. Here at last is an > initial attempt at splitting ehci-hcd up into a library module and > multiple platform driver modules. > > The first patch is just preparation. It m