diff options
Diffstat (limited to 'arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c')
-rw-r--r-- | arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c b/arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c index 560e034aa024..fa327ec891cd 100644 --- a/arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c +++ b/arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c | |||
@@ -85,11 +85,11 @@ void __cvmx_interrupt_gmxx_enable(int interface) | |||
85 | if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN52XX)) { | 85 | if (OCTEON_IS_MODEL(OCTEON_CN56XX) || OCTEON_IS_MODEL(OCTEON_CN52XX)) { |
86 | if (mode.s.en) { | 86 | if (mode.s.en) { |
87 | switch (mode.cn56xx.mode) { | 87 | switch (mode.cn56xx.mode) { |
88 | case 1: /* XAUI */ | 88 | case 1: /* XAUI */ |
89 | num_ports = 1; | 89 | num_ports = 1; |
90 | break; | 90 | break; |
91 | case 2: /* SGMII */ | 91 | case 2: /* SGMII */ |
92 | case 3: /* PICMG */ | 92 | case 3: /* PICMG */ |
93 | num_ports = 4; | 93 | num_ports = 4; |
94 | break; | 94 | break; |
95 | default: /* Disabled */ | 95 | default: /* Disabled */ |