mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 12:27:32 +02:00
35 lines
989 B
Diff
35 lines
989 B
Diff
|
From c03d30af20838833c54f9e9684f38b7048e369d3 Mon Sep 17 00:00:00 2001
|
||
|
From: mokopatches <mokopatches@openmoko.org>
|
||
|
Date: Wed, 16 Jul 2008 14:44:50 +0100
|
||
|
Subject: [PATCH] g_ether-highpower.patch
|
||
|
|
||
|
---
|
||
|
drivers/usb/gadget/ether.c | 4 ++--
|
||
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
|
||
|
index 8d61ea6..066a3e7 100644
|
||
|
--- a/drivers/usb/gadget/ether.c
|
||
|
+++ b/drivers/usb/gadget/ether.c
|
||
|
@@ -464,7 +464,7 @@ eth_config = {
|
||
|
.bConfigurationValue = DEV_CONFIG_VALUE,
|
||
|
.iConfiguration = STRING_CDC,
|
||
|
.bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER,
|
||
|
- .bMaxPower = 50,
|
||
|
+ .bMaxPower = 250,
|
||
|
};
|
||
|
|
||
|
#ifdef CONFIG_USB_ETH_RNDIS
|
||
|
@@ -478,7 +478,7 @@ rndis_config = {
|
||
|
.bConfigurationValue = DEV_RNDIS_CONFIG_VALUE,
|
||
|
.iConfiguration = STRING_RNDIS,
|
||
|
.bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER,
|
||
|
- .bMaxPower = 50,
|
||
|
+ .bMaxPower = 250,
|
||
|
};
|
||
|
#endif
|
||
|
|
||
|
--
|
||
|
1.5.6.3
|
||
|
|