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

The new added mailbox commands require a new released firmware version. Otherwise, a lot of logs "Unknown FW command" would be printed. And the devices may not work properly. So add the test command in the probe function. Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/18283F17BE0FA335+20250521064402.22348-8-jiawenwu@trustnetic.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
16 lines
487 B
C
16 lines
487 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2015 - 2025 Beijing WangXun Technology Co., Ltd. */
|
|
|
|
#ifndef _TXGBE_AML_H_
|
|
#define _TXGBE_AML_H_
|
|
|
|
void txgbe_gpio_init_aml(struct wx *wx);
|
|
irqreturn_t txgbe_gpio_irq_handler_aml(int irq, void *data);
|
|
int txgbe_test_hostif(struct wx *wx);
|
|
int txgbe_set_phy_link(struct wx *wx);
|
|
int txgbe_identify_sfp(struct wx *wx);
|
|
void txgbe_setup_link(struct wx *wx);
|
|
int txgbe_phylink_init_aml(struct txgbe *txgbe);
|
|
|
|
#endif /* _TXGBE_AML_H_ */
|