1146740f9SSasha Neftin /* SPDX-License-Identifier: GPL-2.0 */ 2146740f9SSasha Neftin /* Copyright (c) 2018 Intel Corporation */ 3146740f9SSasha Neftin 4146740f9SSasha Neftin #ifndef _IGC_MAC_H_ 5146740f9SSasha Neftin #define _IGC_MAC_H_ 6146740f9SSasha Neftin 7*c0071c7aSSasha Neftin #include "igc_hw.h" 8*c0071c7aSSasha Neftin #include "igc_defines.h" 9*c0071c7aSSasha Neftin 10146740f9SSasha Neftin #ifndef IGC_REMOVED 11146740f9SSasha Neftin #define IGC_REMOVED(a) (0) 12146740f9SSasha Neftin #endif /* IGC_REMOVED */ 13146740f9SSasha Neftin 14*c0071c7aSSasha Neftin /* forward declaration */ 15*c0071c7aSSasha Neftin s32 igc_disable_pcie_master(struct igc_hw *hw); 16*c0071c7aSSasha Neftin void igc_init_rx_addrs(struct igc_hw *hw, u16 rar_count); 17*c0071c7aSSasha Neftin s32 igc_setup_link(struct igc_hw *hw); 18*c0071c7aSSasha Neftin void igc_clear_hw_cntrs_base(struct igc_hw *hw); 19*c0071c7aSSasha Neftin s32 igc_get_auto_rd_done(struct igc_hw *hw); 20*c0071c7aSSasha Neftin void igc_put_hw_semaphore(struct igc_hw *hw); 21*c0071c7aSSasha Neftin 22146740f9SSasha Neftin #endif 23