1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018-2021 Beijing WangXun Technology Co., Ltd.
3 * Copyright(c) 2010-2017 Intel Corporation
11 #define NGBE_EM_MAX_TX_QUEUES 8
12 #define NGBE_EM_MAX_RX_QUEUES 8
14 s32 ngbe_init_hw(struct ngbe_hw *hw);
15 s32 ngbe_reset_hw_em(struct ngbe_hw *hw);
16 s32 ngbe_stop_hw(struct ngbe_hw *hw);
18 void ngbe_set_lan_id_multi_port(struct ngbe_hw *hw);
20 s32 ngbe_acquire_swfw_sync(struct ngbe_hw *hw, u32 mask);
21 void ngbe_release_swfw_sync(struct ngbe_hw *hw, u32 mask);
23 s32 ngbe_init_thermal_sensor_thresh(struct ngbe_hw *hw);
24 s32 ngbe_mac_check_overtemp(struct ngbe_hw *hw);
25 void ngbe_disable_rx(struct ngbe_hw *hw);
26 s32 ngbe_init_shared_code(struct ngbe_hw *hw);
27 s32 ngbe_set_mac_type(struct ngbe_hw *hw);
28 s32 ngbe_init_ops_pf(struct ngbe_hw *hw);
29 s32 ngbe_init_phy(struct ngbe_hw *hw);
30 void ngbe_map_device_id(struct ngbe_hw *hw);
32 #endif /* _NGBE_HW_H_ */