Commit aa88b706 authored by Stijn Tintel's avatar Stijn Tintel Committed by Thomas Bogendoerfer

MIPS: Octeon: support all interfaces on CN66XX

CN66XX_PASS1_0 has 7 interfaces, other revisions have 8 interfaces.
Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 407710a3
...@@ -61,6 +61,12 @@ int cvmx_helper_get_number_of_interfaces(void) ...@@ -61,6 +61,12 @@ int cvmx_helper_get_number_of_interfaces(void)
{ {
if (OCTEON_IS_MODEL(OCTEON_CN68XX)) if (OCTEON_IS_MODEL(OCTEON_CN68XX))
return 9; return 9;
if (OCTEON_IS_MODEL(OCTEON_CN66XX)) {
if (OCTEON_IS_MODEL(OCTEON_CN66XX_PASS1_0))
return 7;
else
return 8;
}
if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN52XX)) if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN52XX))
return 4; return 4;
if (OCTEON_IS_MODEL(OCTEON_CN7XXX)) if (OCTEON_IS_MODEL(OCTEON_CN7XXX))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment