From: John Crispin Date: Sat, 26 Jul 2014 20:36:32 +0000 (+0000) Subject: octeon: fix usb support on edge router pro X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=110d2f0996085cee65dd678fcb0d84b7d19164c1;p=openwrt%2Fsvn-archive%2Farchive.git octeon: fix usb support on edge router pro Signed-off-by: John Crispin SVN-Revision: 41842 --- 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())