Re: [RFC/PATCH] usb: gadget: allow multiple gadgets to be built

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 13, 2011 at 10:36:38AM -0400, Alan Stern wrote:
> On Mon, 13 Jun 2011, Felipe Balbi wrote:
> 
> > now that we have the udc class, we can allow
> > multiple gadget controller drivers to be
> > compiled as modules. This will allow for
> > distro-like kernels for embedded devices.
> > 
> > With this patch, I managed to build an x86
> > kernel with support for many of the controllers
> > enabled:
> > 
> > CONFIG_USB_FUSB300=m
> > CONFIG_USB_R8A66597=m
> > CONFIG_USB_M66592=m
> > CONFIG_USB_AMD5536UDC=m
> > CONFIG_USB_CI13XXX_PCI=m
> > CONFIG_USB_NET2272=m
> > CONFIG_USB_NET2280=m
> > CONFIG_USB_GOKU=m
> > CONFIG_USB_LANGWELL=m
> > CONFIG_USB_EG20T=m
> > 
> > The next step would be to get rid of the
> > direct access to arch/ and mach/ directories
> > on some gadget controllers so that we can
> > build all of them without depending on their
> > respective ARCH_* symbols.
> > 
> > Signed-off-by: Felipe Balbi <balbi@xxxxxx>
> 
> I may be missing something.  It looks like this patch removes a whole 
> bunch of config symbols (such as CONFIG_USB_GADGET_DUMMY_HCD), but it 
> doesn't touch the places where those symbols are used, i.e., 
> gadget_chips.h.

good catch. I was under the impression that gadget_chips.h was using the
symbols without _GADGET. Oh well, will re-factor the patch and re-send.

Thanks

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux