net/ngbe: initialize and validate EEPROM
[dpdk.git] / drivers / net / ngbe / base / ngbe_hw.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018-2021 Beijing WangXun Technology Co., Ltd.
3  * Copyright(c) 2010-2017 Intel Corporation
4  */
5
6 #ifndef _NGBE_HW_H_
7 #define _NGBE_HW_H_
8
9 #include "ngbe_type.h"
10
11 void ngbe_set_lan_id_multi_port(struct ngbe_hw *hw);
12
13 s32 ngbe_acquire_swfw_sync(struct ngbe_hw *hw, u32 mask);
14 void ngbe_release_swfw_sync(struct ngbe_hw *hw, u32 mask);
15
16 s32 ngbe_init_shared_code(struct ngbe_hw *hw);
17 s32 ngbe_set_mac_type(struct ngbe_hw *hw);
18 s32 ngbe_init_ops_pf(struct ngbe_hw *hw);
19 void ngbe_map_device_id(struct ngbe_hw *hw);
20
21 #endif /* _NGBE_HW_H_ */