diff options
author | John Crispin <john@openwrt.org> | 2014-12-05 00:20:10 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-12-05 00:20:10 +0000 |
commit | dcc8a8ca9eac90b3e70104c893464c27e62daed5 (patch) | |
tree | f4a4888fecac4526d87bce595280a0288d4f1e79 /target/linux/octeon/patches-3.18/120-octeon_platform_usb.patch | |
parent | 6f665ea7b8565a39a2cd7367e6322a2efa9f2eb8 (diff) | |
download | upstream-dcc8a8ca9eac90b3e70104c893464c27e62daed5.tar.gz upstream-dcc8a8ca9eac90b3e70104c893464c27e62daed5.tar.bz2 upstream-dcc8a8ca9eac90b3e70104c893464c27e62daed5.zip |
octeon: add support for 3.18 kernel
Runtime tested on Ubiquiti EdgeRouter Lite.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43519
Diffstat (limited to 'target/linux/octeon/patches-3.18/120-octeon_platform_usb.patch')
-rw-r--r-- | target/linux/octeon/patches-3.18/120-octeon_platform_usb.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/octeon/patches-3.18/120-octeon_platform_usb.patch b/target/linux/octeon/patches-3.18/120-octeon_platform_usb.patch new file mode 100644 index 0000000000..7cffaf621f --- /dev/null +++ b/target/linux/octeon/patches-3.18/120-octeon_platform_usb.patch @@ -0,0 +1,20 @@ +--- a/arch/mips/cavium-octeon/octeon-platform.c ++++ b/arch/mips/cavium-octeon/octeon-platform.c +@@ -82,7 +82,7 @@ static int __init octeon_ehci_device_ini + }; + + /* 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 @@ static int __init octeon_ohci_device_ini + }; + + /* 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()) |