Re: PXA27x UDC Power
Alan Stern <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel