aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-07-26 20:36:32 +0000
committerJohn Crispin <blogic@openwrt.org>2014-07-26 20:36:32 +0000
commitd3680b65137d0b9cac362d70a36c14c03e4ff7ca (patch)
tree8c444b628863140df7bdc01a4cfc4b6e94261d28 /target/linux/octeon
parentece0d44fe5e71fc321e5218d5b89fe933685d3bb (diff)
downloadupstream-d3680b65137d0b9cac362d70a36c14c03e4ff7ca.tar.gz
upstream-d3680b65137d0b9cac362d70a36c14c03e4ff7ca.tar.bz2
upstream-d3680b65137d0b9cac362d70a36c14c03e4ff7ca.zip
octeon: fix usb support on edge router pro
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41842 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/octeon')
-rw-r--r--target/linux/octeon/patches-3.10/120-octeon_platform_usb.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/octeon/patches-3.10/120-octeon_platform_usb.patch b/target/linux/octeon/patches-3.10/120-octeon_platform_usb.patch
new file mode 100644
index 0000000000..2137b4733e
--- /dev/null
+++ b/target/linux/octeon/patches-3.10/120-octeon_platform_usb.patch
@@ -0,0 +1,22 @@
+Index: linux-3.10.49/arch/mips/cavium-octeon/octeon-platform.c
+===================================================================
+--- linux-3.10.49.orig/arch/mips/cavium-octeon/octeon-platform.c 2014-07-26 20:39:48.109010152 +0100
++++ linux-3.10.49/arch/mips/cavium-octeon/octeon-platform.c 2014-07-26 20:41:10.005008627 +0100
+@@ -82,7 +82,7 @@
+ };
+
+ /* Only Octeon2 has ehci/ohci */
+- if (!OCTEON_IS_MODEL(OCTEON_CN63XX))
++ if (!OCTEON_IS_MODEL(OCTEON_CN6XXX))
+ return 0;
+
+ if (octeon_is_simulation() || usb_disabled())
+@@ -131,7 +131,7 @@
+ };
+
+ /* Only Octeon2 has ehci/ohci */
+- if (!OCTEON_IS_MODEL(OCTEON_CN63XX))
++ if (!OCTEON_IS_MODEL(OCTEON_CN6XXX))
+ return 0;
+
+ if (octeon_is_simulation() || usb_disabled())