1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * WangXun Gigabit PCI Express Linux driver 4 * Copyright (c) 2015 - 2026 Beijing WangXun Technology Co., Ltd. 5 */ 6 7 #ifndef _WX_ERR_H_ 8 #define _WX_ERR_H_ 9 10 extern const struct pci_error_handlers wx_err_handler; 11 12 void wx_check_err_subtask(struct wx *wx); 13 int wx_init_err_task(struct wx *wx); 14 void wx_check_hang_subtask(struct wx *wx); 15 void wx_tx_timeout(struct net_device *netdev, unsigned int txqueue); 16 void wx_handle_tx_hang(struct wx_ring *tx_ring, unsigned int next); 17 18 #endif /* _WX_ERR_H_ */ 19