mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-19 03:53:51 -04:00
Disable data path before PCS VR reset while switching PCS mode, to prevent the blocking of data path. Enable AN interrupt for CL37 auto-negotiation. Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
14 lines
449 B
C
14 lines
449 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd. */
|
|
|
|
#ifndef _TXGBE_HW_H_
|
|
#define _TXGBE_HW_H_
|
|
|
|
int txgbe_disable_sec_tx_path(struct wx *wx);
|
|
void txgbe_enable_sec_tx_path(struct wx *wx);
|
|
int txgbe_read_pba_string(struct wx *wx, u8 *pba_num, u32 pba_num_size);
|
|
int txgbe_validate_eeprom_checksum(struct wx *wx, u16 *checksum_val);
|
|
int txgbe_reset_hw(struct wx *wx);
|
|
|
|
#endif /* _TXGBE_HW_H_ */
|