aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-01-22 06:59:30 -0500
committerRalf Baechle <ralf@linux-mips.org>2013-02-01 04:00:22 -0500
commit7034228792cc561e79ff8600f02884bd4c80e287 (patch)
tree89b77af37d087d9de236fc5d21f60bf552d0a2c6 /arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c
parent405ab01c70e18058d9c01a1256769a61fc65413e (diff)
MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c')
-rw-r--r--arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c b/arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c
index 82b21843421c..f59c88ee9b31 100644
--- a/arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c
+++ b/arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c
@@ -131,7 +131,7 @@ void cvmx_helper_rgmii_internal_loopback(int port)
131 * @interface: Interface to setup 131 * @interface: Interface to setup
132 * @port: Port to setup (0..3) 132 * @port: Port to setup (0..3)
133 * @cpu_clock_hz: 133 * @cpu_clock_hz:
134 * Chip frequency in Hertz 134 * Chip frequency in Hertz
135 * 135 *
136 * Returns Zero on success, negative on failure 136 * Returns Zero on success, negative on failure
137 */ 137 */
@@ -409,14 +409,14 @@ int __cvmx_helper_rgmii_link_set(int ipd_port,
409 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); 409 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface));
410 410
411 /* 411 /*
412 * Port .en .type .p0mii Configuration 412 * Port .en .type .p0mii Configuration
413 * ---- --- ----- ------ ----------------------------------------- 413 * ---- --- ----- ------ -----------------------------------------
414 * X 0 X X All links are disabled. 414 * X 0 X X All links are disabled.
415 * 0 1 X 0 Port 0 is RGMII 415 * 0 1 X 0 Port 0 is RGMII
416 * 0 1 X 1 Port 0 is MII 416 * 0 1 X 1 Port 0 is MII
417 * 1 1 0 X Ports 1 and 2 are configured as RGMII ports. 417 * 1 1 0 X Ports 1 and 2 are configured as RGMII ports.
418 * 1 1 1 X Port 1: GMII/MII; Port 2: disabled. GMII or 418 * 1 1 1 X Port 1: GMII/MII; Port 2: disabled. GMII or
419 * MII port is selected by GMX_PRT1_CFG[SPEED]. 419 * MII port is selected by GMX_PRT1_CFG[SPEED].
420 */ 420 */
421 421
422 /* In MII mode, CLK_CNT = 1. */ 422 /* In MII mode, CLK_CNT = 1. */
@@ -464,9 +464,9 @@ int __cvmx_helper_rgmii_link_set(int ipd_port,
464 * 464 *
465 * @ipd_port: IPD/PKO port to loopback. 465 * @ipd_port: IPD/PKO port to loopback.
466 * @enable_internal: 466 * @enable_internal:
467 * Non zero if you want internal loopback 467 * Non zero if you want internal loopback
468 * @enable_external: 468 * @enable_external:
469 * Non zero if you want external loopback 469 * Non zero if you want external loopback
470 * 470 *
471 * Returns Zero on success, negative on failure. 471 * Returns Zero on success, negative on failure.
472 */ 472 */