1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018-2021 Beijing WangXun Technology Co., Ltd.
3 * Copyright(c) 2010-2017 Intel Corporation
6 #ifndef _NGBE_EEPROM_H_
7 #define _NGBE_EEPROM_H_
9 #define NGBE_CALSUM_CAP_STATUS 0x10224
10 #define NGBE_EEPROM_VERSION_STORE_REG 0x1022C
12 s32 ngbe_init_eeprom_params(struct ngbe_hw *hw);
13 s32 ngbe_validate_eeprom_checksum_em(struct ngbe_hw *hw, u16 *checksum_val);
14 s32 ngbe_get_eeprom_semaphore(struct ngbe_hw *hw);
15 void ngbe_release_eeprom_semaphore(struct ngbe_hw *hw);
17 #endif /* _NGBE_EEPROM_H_ */