2018-10-11 07:17:10 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/* Copyright (c) 2018 Intel Corporation */
|
|
|
|
|
|
|
|
#ifndef _IGC_MAC_H_
|
|
|
|
#define _IGC_MAC_H_
|
|
|
|
|
2018-10-11 07:17:26 +00:00
|
|
|
#include "igc_hw.h"
|
|
|
|
#include "igc_defines.h"
|
|
|
|
|
2018-10-11 07:17:10 +00:00
|
|
|
#ifndef IGC_REMOVED
|
|
|
|
#define IGC_REMOVED(a) (0)
|
|
|
|
#endif /* IGC_REMOVED */
|
|
|
|
|
2018-10-11 07:17:26 +00:00
|
|
|
/* forward declaration */
|
|
|
|
s32 igc_disable_pcie_master(struct igc_hw *hw);
|
|
|
|
void igc_init_rx_addrs(struct igc_hw *hw, u16 rar_count);
|
|
|
|
s32 igc_setup_link(struct igc_hw *hw);
|
|
|
|
void igc_clear_hw_cntrs_base(struct igc_hw *hw);
|
|
|
|
s32 igc_get_auto_rd_done(struct igc_hw *hw);
|
|
|
|
void igc_put_hw_semaphore(struct igc_hw *hw);
|
|
|
|
|
2018-10-11 07:17:10 +00:00
|
|
|
#endif
|