RE: [RFCv4 PATCH 13/13] usb: gadget: ufg: add Mass Storage Gadget adapter to UFG

2012-11-23 Thread Andrzej Pietrasiewicz
On Thursday, November 22, 2012 11:00 PM Michal Nazarewicz wrote: > > > + > > +#define UFG_MODULE (UFG_SUBSYSTEM->subsys.su_group.cg_item.ci_type- > >ct_owner) > > I cannot seem to find UFG_SUBSYSTEM anywhere. > Because it is not here... It is exported from the usb_functions.c. That's also wh

Re: [RFCv4 PATCH 13/13] usb: gadget: ufg: add Mass Storage Gadget adapter to UFG

2012-11-22 Thread Michal Nazarewicz
On Thu, Nov 22 2012, Andrzej Pietrasiewicz wrote: > +#define _FSG_MODULE_PARAM_ARRAY(prefix, params, name, type, desc)\ > + module_param_array_named(prefix ## name, params.name, type, \ > + &prefix ## params.name ## _count, \ > +

[RFCv4 PATCH 13/13] usb: gadget: ufg: add Mass Storage Gadget adapter to UFG

2012-11-22 Thread Andrzej Pietrasiewicz
This is an example of how to create an adapter module for an old-style gadget. It provides the legacy interface while internally operates on configfs. Usage is like g_mass_storage.ko, but instead the user needs to do e.g.: insmod libcomposite.ko insmod f_mass_storage.ko (not required if request_

Re: [RFCv4 PATCH 13/13] usb: gadget: ufg: add Mass Storage Gadget adapter to UFG

2012-11-22 Thread Sebastian Andrzej Siewior
* Andrzej Pietrasiewicz | 2012-11-22 13:07:07 [+0100]: >This is an example of how to create an adapter module for an old-style gadget. >It provides the legacy interface while internally operates on configfs. > >Usage is like g_mass_storage.ko, but instead the user needs to do e.g.: > >insmod libco