1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
7 s32
igb_acquire_nvm(struct e1000_hw
*hw
);
8 void igb_release_nvm(struct e1000_hw
*hw
);
9 s32
igb_read_mac_addr(struct e1000_hw
*hw
);
10 s32
igb_read_part_num(struct e1000_hw
*hw
, u32
*part_num
);
11 s32
igb_read_part_string(struct e1000_hw
*hw
, u8
*part_num
,
13 s32
igb_read_nvm_eerd(struct e1000_hw
*hw
, u16 offset
, u16 words
, u16
*data
);
14 s32
igb_read_nvm_spi(struct e1000_hw
*hw
, u16 offset
, u16 words
, u16
*data
);
15 s32
igb_write_nvm_spi(struct e1000_hw
*hw
, u16 offset
, u16 words
, u16
*data
);
16 s32
igb_validate_nvm_checksum(struct e1000_hw
*hw
);
17 s32
igb_update_nvm_checksum(struct e1000_hw
*hw
);
19 struct e1000_fw_version
{
34 void igb_get_fw_version(struct e1000_hw
*hw
, struct e1000_fw_version
*fw_vers
);