Re: PXA27x UDC Power

Justin Clacherty <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Alan Stern wrote:
>> How's this?
>> diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
>> index d80b1e4..68f150e 100644
>> --- a/drivers/usb/gadget/Kconfig
>> +++ b/drivers/usb/gadget/Kconfig
>> @@ -468,6 +468,17 @@ config USB_ETH_RNDIS
>>         XP, you'll need to download drivers from Microsoft's website; a URL
>>         is given in comments found in that info file.
>>  
>> +config USB_ETH_HIGH_POWER
>> +    bool "High power device support"
>> +    depends on USB_ETH
>> +    default n
>>     
>
> 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.
>   

Ok, I'll look in to doing it that way.

Justin.

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.