mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
MIPS: Octeon: Support additional interfaces on CN68XX
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]>
This commit is contained in:
committed by
Ralf Baechle
parent
c0034c30ed
commit
2c8c3f0201
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user