1*3b70601bSjsg /* $OpenBSD: igc_mac.h,v 1.2 2024/06/09 05:18:12 jsg Exp $ */ 283306792Spatrick /*- 383306792Spatrick * Copyright 2021 Intel Corp 483306792Spatrick * Copyright 2021 Rubicon Communications, LLC (Netgate) 583306792Spatrick * SPDX-License-Identifier: BSD-3-Clause 683306792Spatrick * 783306792Spatrick * $FreeBSD$ 883306792Spatrick */ 983306792Spatrick 1083306792Spatrick #ifndef _IGC_MAC_H_ 1183306792Spatrick #define _IGC_MAC_H_ 1283306792Spatrick 1383306792Spatrick void igc_init_mac_ops_generic(struct igc_hw *); 1483306792Spatrick int igc_null_ops_generic(struct igc_hw *); 1583306792Spatrick int igc_config_fc_after_link_up_generic(struct igc_hw *); 1683306792Spatrick int igc_disable_pcie_master_generic(struct igc_hw *); 1783306792Spatrick int igc_force_mac_fc_generic(struct igc_hw *); 1883306792Spatrick int igc_get_auto_rd_done_generic(struct igc_hw *); 1983306792Spatrick int igc_get_speed_and_duplex_copper_generic(struct igc_hw *, uint16_t *, 2083306792Spatrick uint16_t *); 2183306792Spatrick void igc_update_mc_addr_list_generic(struct igc_hw *, uint8_t *, uint32_t); 2283306792Spatrick int igc_rar_set_generic(struct igc_hw *, uint8_t *, uint32_t); 2383306792Spatrick int igc_set_fc_watermarks_generic(struct igc_hw *); 2483306792Spatrick int igc_setup_link_generic(struct igc_hw *); 2583306792Spatrick 2683306792Spatrick int igc_hash_mc_addr_generic(struct igc_hw *, uint8_t *); 2783306792Spatrick 2883306792Spatrick void igc_clear_hw_cntrs_base_generic(struct igc_hw *); 2983306792Spatrick void igc_init_rx_addrs_generic(struct igc_hw *, uint16_t); 3083306792Spatrick void igc_put_hw_semaphore_generic(struct igc_hw *); 3183306792Spatrick int igc_check_alt_mac_addr_generic(struct igc_hw *); 3283306792Spatrick void igc_write_vfta_generic(struct igc_hw *, uint32_t, uint32_t); 3383306792Spatrick void igc_config_collision_dist_generic(struct igc_hw *); 3483306792Spatrick 3583306792Spatrick #endif /* _IGC_MAC_H_ */ 36