openwrtv4/target/linux/s3c24xx/patches-2.6.26/1017-g_ether-highpower.patch.patch
Mirko Vogt c931b21161 change prefix for kernelpatchbase 2.6.26
SVN-Revision: 13619
2008-12-13 01:54:56 +00:00

34 lines
989 B
Diff
Executable file

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