diff options
author | Carolyn Wyborny <carolyn.wyborny@intel.com> | 2013-07-16 15:17:32 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-08-22 05:25:57 -0400 |
commit | 5a823d8cdd0e16081bc09a03fa253b9750c4b034 (patch) | |
tree | dd97b262ad554e72c64304a08ff99304b09e866b /drivers/net/ethernet/intel/igb/e1000_i210.h | |
parent | 2ccd994c4c85a787ba4873f1481edd42c4ff46bf (diff) |
igb: Refactor of init_nvm_params
This patch refactors the init_nvm_params functions for 82575 and adds a new
function for the i210/i211 devices in order to configure separately the NVM
functionality for the i210/i211 family.
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_i210.h')
-rw-r--r-- | drivers/net/ethernet/intel/igb/e1000_i210.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igb/e1000_i210.h b/drivers/net/ethernet/intel/igb/e1000_i210.h index 5caa332e7556..a2a1f70cc8dd 100644 --- a/drivers/net/ethernet/intel/igb/e1000_i210.h +++ b/drivers/net/ethernet/intel/igb/e1000_i210.h | |||
@@ -49,6 +49,8 @@ extern s32 igb_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, | |||
49 | u16 *data); | 49 | u16 *data); |
50 | extern s32 igb_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, | 50 | extern s32 igb_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, |
51 | u16 data); | 51 | u16 data); |
52 | extern s32 igb_init_nvm_params_i210(struct e1000_hw *hw); | ||
53 | extern bool igb_get_flash_presence_i210(struct e1000_hw *hw); | ||
52 | 54 | ||
53 | #define E1000_STM_OPCODE 0xDB00 | 55 | #define E1000_STM_OPCODE 0xDB00 |
54 | #define E1000_EEPROM_FLASH_SIZE_WORD 0x11 | 56 | #define E1000_EEPROM_FLASH_SIZE_WORD 0x11 |