e1000e_nvm.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 FILE_LICENCE ( GPL2_OR_LATER );
00030
00031 #ifndef _E1000E_NVM_H_
00032 #define _E1000E_NVM_H_
00033
00034 void e1000e_init_nvm_ops_generic(struct e1000_hw *hw);
00035 s32 e1000e_acquire_nvm(struct e1000_hw *hw);
00036
00037 s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg);
00038 s32 e1000e_read_mac_addr_generic(struct e1000_hw *hw);
00039 s32 e1000e_read_pba_num(struct e1000_hw *hw, u32 *pba_num);
00040 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words,
00041 u16 *data);
00042 s32 e1000e_valid_led_default(struct e1000_hw *hw, u16 *data);
00043 s32 e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw);
00044 s32 e1000e_write_nvm_eewr(struct e1000_hw *hw, u16 offset,
00045 u16 words, u16 *data);
00046 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words,
00047 u16 *data);
00048 s32 e1000e_update_nvm_checksum_generic(struct e1000_hw *hw);
00049 void e1000e_release_nvm(struct e1000_hw *hw);
00050
00051 #define E1000_STM_OPCODE 0xDB00
00052
00053 #endif