aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c
diff options
context:
space:
mode:
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 */