octeon: fix usb support on edge router pro
[openwrt/svn-archive/archive.git] / target / linux / octeon / patches-3.10 / 120-octeon_platform_usb.patch
1 Index: linux-3.10.49/arch/mips/cavium-octeon/octeon-platform.c
2 ===================================================================
3 --- linux-3.10.49.orig/arch/mips/cavium-octeon/octeon-platform.c 2014-07-26 20:39:48.109010152 +0100
4 +++ linux-3.10.49/arch/mips/cavium-octeon/octeon-platform.c 2014-07-26 20:41:10.005008627 +0100
5 @@ -82,7 +82,7 @@
6 };
7
8 /* Only Octeon2 has ehci/ohci */
9 - if (!OCTEON_IS_MODEL(OCTEON_CN63XX))
10 + if (!OCTEON_IS_MODEL(OCTEON_CN6XXX))
11 return 0;
12
13 if (octeon_is_simulation() || usb_disabled())
14 @@ -131,7 +131,7 @@
15 };
16
17 /* Only Octeon2 has ehci/ohci */
18 - if (!OCTEON_IS_MODEL(OCTEON_CN63XX))
19 + if (!OCTEON_IS_MODEL(OCTEON_CN6XXX))
20 return 0;
21
22 if (octeon_is_simulation() || usb_disabled())