From 244b2c5ca8b14627e4a17755e5922221e121c771 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 09 Oct 2024 06:15:07 +0000 Subject: [PATCH] change system file --- kernel/arch/mips/include/asm/octeon/cvmx-helper-xaui.h | 20 ++------------------ 1 files changed, 2 insertions(+), 18 deletions(-) diff --git a/kernel/arch/mips/include/asm/octeon/cvmx-helper-xaui.h b/kernel/arch/mips/include/asm/octeon/cvmx-helper-xaui.h index f8ce53f..c18da2e 100644 --- a/kernel/arch/mips/include/asm/octeon/cvmx-helper-xaui.h +++ b/kernel/arch/mips/include/asm/octeon/cvmx-helper-xaui.h @@ -68,7 +68,7 @@ * * Returns Link state */ -extern cvmx_helper_link_info_t __cvmx_helper_xaui_link_get(int ipd_port); +extern union cvmx_helper_link_info __cvmx_helper_xaui_link_get(int ipd_port); /** * Configure an IPD/PKO port for the specified link state. This @@ -82,22 +82,6 @@ * Returns Zero on success, negative on failure */ extern int __cvmx_helper_xaui_link_set(int ipd_port, - cvmx_helper_link_info_t link_info); + union cvmx_helper_link_info link_info); -/** - * Configure a port for internal and/or external loopback. Internal loopback - * causes packets sent by the port to be received by Octeon. External loopback - * causes packets received from the wire to sent out again. - * - * @ipd_port: IPD/PKO port to loopback. - * @enable_internal: - * Non zero if you want internal loopback - * @enable_external: - * Non zero if you want external loopback - * - * Returns Zero on success, negative on failure. - */ -extern int __cvmx_helper_xaui_configure_loopback(int ipd_port, - int enable_internal, - int enable_external); #endif -- Gitblit v1.6.2