Re: [PATCH 3/8] usb/dummy_hcd: always create the usb3 port

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

 



On Tue, 21 Jun 2011, Sebastian Andrzej Siewior wrote:

> Alan Stern wrote:
> > On Tue, 21 Jun 2011, Sebastian Andrzej Siewior wrote:
> > 
> >> Felipe pointed out automated testing. Since a script can't use a different
> >> cable wouldn't it be nice to have a central knob for that?
> > 
> > Maybe a common module parameter.  I don't think you want to change the 
> > speed once the UDC has started running.
> 
> The sysfs file could be limited to only accept a parameter if the udc is
> not bound. So what is left is something for the built-in case. And here I
> think having the command line switch implemented in udc-core instead of in
> every driver.

Well, you could put the sysfs attribute definition (or module parameter
definition, since module parameters also show up in sysfs and can be
writable) in udc-core.  But the actual implementation of the speed
parameter would obviously have to go in the individual UDC drivers.

Alan Stern

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