Re: [RFC/PATCH] Introduce USB Gadget Class

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

 



On Fri, Sep 10, 2010 at 04:31:41AM -0500, Matthieu CASTET wrote:
Felipe Balbi a écrit :
Hi Matthieu,

On Thu, Sep 09, 2010 at 04:17:34AM -0500, Matthieu CASTET wrote:
For information I am developing a something similar
for allowing building more than one controller in kernel.
My patch is much simpler, but it does only that.

yeah, I saw that now. It also doesn't work if you have a board with two
gadget controllers, right ?

No ATM. Our need was to support more than one gadget controller in the
kernel to do generic kernel.
So the idea was to be the less intrusive possible (not patching all the
drivers, gadgets; simple patch in controller driver; usable in less than
1 week).

I see, but there are ways not to patch all gadget drivers, I'm changing
the patch I did now introducing a struct usb_udc which will contain a
pointer to gadget, a pointer to gadget driver, a pointer to a device, a
list_head and a few other things; then gadget drivers will remain
unchanged.

--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux