Re: [RFC] GADGET : allow to build multi udc

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

 



I've noticed that you've added priv.  I would also add some kind of name or
(name, id) pair.  Both of those could be a way to allow several UDCs to work.
usb_gadget_register() (or usb_gadget_probe() in next) would take the first
available UDC but usb_gadget_probe_named() could be added which would allow
to specify UDC by name.

On Fri, 03 Sep 2010 05:49:25 +0200, David Brownell <david-b@xxxxxxxxxxx> wrote:
NAK let's just not go there.  We want gadget drivers
to be hardware-neutral, not hardware-dependent.

I was thinking more along the way of gadgets having a module parameter
like udc=<name>.  With composite it would be like 5 lines of code to
implement and user space would be able to specify that the gadget it is
now loading should go with this UDC.

Just my thoughts.

--
Best regards,                                        _     _
| Humble Liege of Serenely Enlightened Majesty of  o' \,=./ `o
| Computer Science,  Michał "mina86" Nazarewicz       (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--

--
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