lkml.org 
[lkml]   [2008]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] usb: add Freescale QE/CPM USB peripheral controller driver
On Thu, 28 Aug 2008, Arnd Bergmann wrote:

> Not addressing this driver in particular, but the USB gadget layer in
> general: This is a horrible interface, since every gadget driver exports
> the same symbols, you can never build a kernel that includes more than
> one gadget driver. Even if the drivers are all built as modules, simply
> loading one of them prevents loading another one.

This was done deliberately. The relevant standards state that a USB
device can have no more than one peripheral interface.

Now, I don't claim to fully support this decision. But there is a
reason behind it; it's not just a case of bad design.

Alan Stern



\
 
 \ /
  Last update: 2008-08-28 19:25    [from the cache]
©2003-2011 Jasper Spaans