diff options
Diffstat (limited to 'arch/mips/include/asm/octeon/cvmx-helper.h')
-rw-r--r-- | arch/mips/include/asm/octeon/cvmx-helper.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/include/asm/octeon/cvmx-helper.h b/arch/mips/include/asm/octeon/cvmx-helper.h index 691c8142cd4f..5a3090dc6f2f 100644 --- a/arch/mips/include/asm/octeon/cvmx-helper.h +++ b/arch/mips/include/asm/octeon/cvmx-helper.h | |||
@@ -93,12 +93,12 @@ extern void (*cvmx_override_ipd_port_setup) (int ipd_port); | |||
93 | /** | 93 | /** |
94 | * This function enables the IPD and also enables the packet interfaces. | 94 | * This function enables the IPD and also enables the packet interfaces. |
95 | * The packet interfaces (RGMII and SPI) must be enabled after the | 95 | * The packet interfaces (RGMII and SPI) must be enabled after the |
96 | * IPD. This should be called by the user program after any additional | 96 | * IPD. This should be called by the user program after any additional |
97 | * IPD configuration changes are made if CVMX_HELPER_ENABLE_IPD | 97 | * IPD configuration changes are made if CVMX_HELPER_ENABLE_IPD |
98 | * is not set in the executive-config.h file. | 98 | * is not set in the executive-config.h file. |
99 | * | 99 | * |
100 | * Returns 0 on success | 100 | * Returns 0 on success |
101 | * -1 on failure | 101 | * -1 on failure |
102 | */ | 102 | */ |
103 | extern int cvmx_helper_ipd_and_packet_input_enable(void); | 103 | extern int cvmx_helper_ipd_and_packet_input_enable(void); |
104 | 104 | ||
@@ -128,7 +128,7 @@ extern int cvmx_helper_initialize_packet_io_local(void); | |||
128 | * @interface: Which interface to return port count for. | 128 | * @interface: Which interface to return port count for. |
129 | * | 129 | * |
130 | * Returns Port count for interface | 130 | * Returns Port count for interface |
131 | * -1 for uninitialized interface | 131 | * -1 for uninitialized interface |
132 | */ | 132 | */ |
133 | extern int cvmx_helper_ports_on_interface(int interface); | 133 | extern int cvmx_helper_ports_on_interface(int interface); |
134 | 134 | ||
@@ -150,7 +150,7 @@ extern int cvmx_helper_get_number_of_interfaces(void); | |||
150 | * @interface: Interface to probe | 150 | * @interface: Interface to probe |
151 | * | 151 | * |
152 | * Returns Mode of the interface. Unknown or unsupported interfaces return | 152 | * Returns Mode of the interface. Unknown or unsupported interfaces return |
153 | * DISABLED. | 153 | * DISABLED. |
154 | */ | 154 | */ |
155 | extern cvmx_helper_interface_mode_t cvmx_helper_interface_get_mode(int | 155 | extern cvmx_helper_interface_mode_t cvmx_helper_interface_get_mode(int |
156 | interface); | 156 | interface); |
@@ -214,9 +214,9 @@ extern int cvmx_helper_interface_enumerate(int interface); | |||
214 | * | 214 | * |
215 | * @ipd_port: IPD/PKO port to loopback. | 215 | * @ipd_port: IPD/PKO port to loopback. |
216 | * @enable_internal: | 216 | * @enable_internal: |
217 | * Non zero if you want internal loopback | 217 | * Non zero if you want internal loopback |
218 | * @enable_external: | 218 | * @enable_external: |
219 | * Non zero if you want external loopback | 219 | * Non zero if you want external loopback |
220 | * | 220 | * |
221 | * Returns Zero on success, negative on failure. | 221 | * Returns Zero on success, negative on failure. |
222 | */ | 222 | */ |