diff options
author | John Crispin <john@openwrt.org> | 2014-07-26 20:36:32 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-07-26 20:36:32 +0000 |
commit | 694295e7be33dd8829724741f3913616d7206330 (patch) | |
tree | 7735190a86dd5cb0d00b23f964a9edf28b8f4a8b /target/linux/octeon | |
parent | 5b4abf87d70f817e7796f75d9241d00f9c6fbbf0 (diff) | |
download | mtk-20170518-694295e7be33dd8829724741f3913616d7206330.zip mtk-20170518-694295e7be33dd8829724741f3913616d7206330.tar.gz mtk-20170518-694295e7be33dd8829724741f3913616d7206330.tar.bz2 |
octeon: fix usb support on edge router pro
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41842
Diffstat (limited to 'target/linux/octeon')
-rw-r--r-- | target/linux/octeon/patches-3.10/120-octeon_platform_usb.patch | 22 |
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 0000000..2137b47 --- /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()) |