aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.39/210-no_ehci_over_current_check.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-05-27 09:54:52 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-05-27 09:54:52 +0000
commit016e8dee34bf3f9e735f7ac9afd712e7472bfe7a (patch)
tree072d450c9728f2a51b176ecbee4bd88be23726b9 /target/linux/brcm63xx/patches-2.6.39/210-no_ehci_over_current_check.patch
parent590c82cec184555869cb6135ce5a45d978069cfe (diff)
downloadupstream-016e8dee34bf3f9e735f7ac9afd712e7472bfe7a.tar.gz
upstream-016e8dee34bf3f9e735f7ac9afd712e7472bfe7a.tar.bz2
upstream-016e8dee34bf3f9e735f7ac9afd712e7472bfe7a.zip
bcm63xx: Add support for 2.6.39
Add support for Kernel 2.6.39. Boots fine on a BCM6358. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 27019
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.39/210-no_ehci_over_current_check.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.39/210-no_ehci_over_current_check.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.39/210-no_ehci_over_current_check.patch b/target/linux/brcm63xx/patches-2.6.39/210-no_ehci_over_current_check.patch
new file mode 100644
index 0000000000..cfdf16531a
--- /dev/null
+++ b/target/linux/brcm63xx/patches-2.6.39/210-no_ehci_over_current_check.patch
@@ -0,0 +1,16 @@
+--- a/drivers/usb/host/ehci-hub.c
++++ b/drivers/usb/host/ehci-hub.c
+@@ -883,11 +883,13 @@ static int ehci_hub_control (
+ * power switching; they're allowed to just limit the
+ * current. khubd will turn the power back on.
+ */
++#ifndef CONFIG_BCM63XX
+ if (HCS_PPC (ehci->hcs_params)){
+ ehci_writel(ehci,
+ temp & ~(PORT_RWC_BITS | PORT_POWER),
+ status_reg);
+ }
++#endif
+ }
+
+ /* whoever resumes must GetPortStatus to complete it!! */