forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/mips/include/asm/octeon/cvmx-helper-rgmii.h
....@@ -74,7 +74,7 @@
7474 *
7575 * Returns Link state
7676 */
77
-extern cvmx_helper_link_info_t __cvmx_helper_rgmii_link_get(int ipd_port);
77
+extern union cvmx_helper_link_info __cvmx_helper_rgmii_link_get(int ipd_port);
7878
7979 /**
8080 * Configure an IPD/PKO port for the specified link state. This
....@@ -88,23 +88,6 @@
8888 * Returns Zero on success, negative on failure
8989 */
9090 extern int __cvmx_helper_rgmii_link_set(int ipd_port,
91
- cvmx_helper_link_info_t link_info);
92
-
93
-/**
94
- * Configure a port for internal and/or external loopback. Internal loopback
95
- * causes packets sent by the port to be received by Octeon. External loopback
96
- * causes packets received from the wire to sent out again.
97
- *
98
- * @ipd_port: IPD/PKO port to loopback.
99
- * @enable_internal:
100
- * Non zero if you want internal loopback
101
- * @enable_external:
102
- * Non zero if you want external loopback
103
- *
104
- * Returns Zero on success, negative on failure.
105
- */
106
-extern int __cvmx_helper_rgmii_configure_loopback(int ipd_port,
107
- int enable_internal,
108
- int enable_external);
91
+ union cvmx_helper_link_info link_info);
10992
11093 #endif