projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0034c3
)
MIPS: Octeon: Support additional interfaces on CN68XX
author
Janne Huttunen
<
[email protected]
>
Thu, 13 Aug 2015 13:21:34 +0000
(16:21 +0300)
committer
Ralf Baechle
<
[email protected]
>
Thu, 3 Sep 2015 10:08:08 +0000
(12:08 +0200)
CN68XX has 9 interfaces.
Signed-off-by: Janne Huttunen <
[email protected]
>
Signed-off-by: Aaro Koskinen <
[email protected]
>
Acked-by: David Daney <
[email protected]
>
Cc: David Daney <
[email protected]
>
Cc:
[email protected]
Cc: Janne Huttunen <
[email protected]
>
Cc: Aaro Koskinen <
[email protected]
>
Cc: Greg Kroah-Hartman <
[email protected]
>
Cc:
[email protected]
Patchwork: https://patchwork.linux-mips.org/patch/10968/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/cavium-octeon/executive/cvmx-helper.c
patch
|
blob
|
history
diff --git
a/arch/mips/cavium-octeon/executive/cvmx-helper.c
b/arch/mips/cavium-octeon/executive/cvmx-helper.c
index 7e5cf7a5e2f3264b637e820dca92635d468e7465..ed4816c283f07652bcb7ead1a7b05a98b75a4644 100644
(file)
--- a/
arch/mips/cavium-octeon/executive/cvmx-helper.c
+++ b/
arch/mips/cavium-octeon/executive/cvmx-helper.c
@@
-83,6
+83,8
@@
static cvmx_helper_link_info_t
*/
int cvmx_helper_get_number_of_interfaces(void)
{
+ if (OCTEON_IS_MODEL(OCTEON_CN68XX))
+ return 9;
if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN52XX))
return 4;
else