1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2018 Intel Corporation */
9 #include "igc_defines.h"
12 #define IGC_REMOVED(a) (0)
13 #endif /* IGC_REMOVED */
15 /* forward declaration */
16 s32 igc_disable_pcie_master(struct igc_hw *hw);
17 s32 igc_check_for_copper_link(struct igc_hw *hw);
18 s32 igc_config_fc_after_link_up(struct igc_hw *hw);
19 s32 igc_force_mac_fc(struct igc_hw *hw);
20 void igc_init_rx_addrs(struct igc_hw *hw, u16 rar_count);
21 s32 igc_setup_link(struct igc_hw *hw);
22 void igc_clear_hw_cntrs_base(struct igc_hw *hw);
23 s32 igc_get_auto_rd_done(struct igc_hw *hw);
24 void igc_put_hw_semaphore(struct igc_hw *hw);
25 void igc_rar_set(struct igc_hw *hw, u8 *addr, u32 index);
26 void igc_config_collision_dist(struct igc_hw *hw);
28 s32 igc_get_speed_and_duplex_copper(struct igc_hw *hw, u16 *speed,
31 bool igc_enable_mng_pass_thru(struct igc_hw *hw);
34 igc_mng_mode_none = 0,
38 igc_mng_mode_host_if_only