1 /* $OpenBSD: igc_mac.h,v 1.2 2024/06/09 05:18:12 jsg Exp $ */ 2 /*- 3 * Copyright 2021 Intel Corp 4 * Copyright 2021 Rubicon Communications, LLC (Netgate) 5 * SPDX-License-Identifier: BSD-3-Clause 6 * 7 * $FreeBSD$ 8 */ 9 10 #ifndef _IGC_MAC_H_ 11 #define _IGC_MAC_H_ 12 13 void igc_init_mac_ops_generic(struct igc_hw *); 14 int igc_null_ops_generic(struct igc_hw *); 15 int igc_config_fc_after_link_up_generic(struct igc_hw *); 16 int igc_disable_pcie_master_generic(struct igc_hw *); 17 int igc_force_mac_fc_generic(struct igc_hw *); 18 int igc_get_auto_rd_done_generic(struct igc_hw *); 19 int igc_get_speed_and_duplex_copper_generic(struct igc_hw *, uint16_t *, 20 uint16_t *); 21 void igc_update_mc_addr_list_generic(struct igc_hw *, uint8_t *, uint32_t); 22 int igc_rar_set_generic(struct igc_hw *, uint8_t *, uint32_t); 23 int igc_set_fc_watermarks_generic(struct igc_hw *); 24 int igc_setup_link_generic(struct igc_hw *); 25 26 int igc_hash_mc_addr_generic(struct igc_hw *, uint8_t *); 27 28 void igc_clear_hw_cntrs_base_generic(struct igc_hw *); 29 void igc_init_rx_addrs_generic(struct igc_hw *, uint16_t); 30 void igc_put_hw_semaphore_generic(struct igc_hw *); 31 int igc_check_alt_mac_addr_generic(struct igc_hw *); 32 void igc_write_vfta_generic(struct igc_hw *, uint32_t, uint32_t); 33 void igc_config_collision_dist_generic(struct igc_hw *); 34 35 #endif /* _IGC_MAC_H_ */ 36