Google
  Web www.spinics.net

Re: PXA27x UDC Power

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


On Sat, 1 Dec 2007, Justin Clacherty wrote:

> Justin Clacherty wrote:
> > Alan Stern wrote:
> >> You might want to generalize this.  There's nothing special about the 
> >> Ethernet gadget; other sorts might need high power too.
> >>
> >> And there's no reason to make it a boolean.  You might as well have
> >> people specify the actual maximum mA value here, so that the drivers
> >> can incorporate the number (divided by 2!) directly into their
> >> descriptors.
> >>   
> >
> > Is this better?
> 
> Actually, the range of the value should be constrained.  Here we go.

This looks reasonable to me.  The only question is whether it really 
needs to be a controllable option or whether it should be customized 
per-system.  That's a matter of taste, up to David.

Alan Stern


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[Home]     [Video for Linux]     [Photo]     [Yosemite Forum]     [Yosemite Photos]    [Video Projectors]     [PDAs]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [Free Dating]

  Powered by Linux