mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-05 03:45:16 +00:00

For AML 25G/10G devices, some of the information returned from phylink_ethtool_ksettings_get() is not correct, since there is a fixed-link mode. So add additional corrections. Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/C94BF867617C544D+20250521064402.22348-7-jiawenwu@trustnetic.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
12 lines
350 B
C
12 lines
350 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2015 - 2023 Beijing WangXun Technology Co., Ltd. */
|
|
|
|
#ifndef _TXGBE_ETHTOOL_H_
|
|
#define _TXGBE_ETHTOOL_H_
|
|
|
|
int txgbe_get_link_ksettings(struct net_device *netdev,
|
|
struct ethtool_link_ksettings *cmd);
|
|
void txgbe_set_ethtool_ops(struct net_device *netdev);
|
|
|
|
#endif /* _TXGBE_ETHTOOL_H_ */
|