summaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/e1000_nvm.h
diff options
context:
space:
mode:
authorCarolyn Wyborny <carolyn.wyborny@intel.com>2011-03-11 20:43:18 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-03-12 04:09:37 -0800
commit4322e561a93ec7ee034b603a6c610e7be90d4e8a (patch)
treea3260a88662c8a2b65233513bac17faffc0f64bf /drivers/net/igb/e1000_nvm.h
parent09b068d45737abb49320ab25cb4ed2916017ace7 (diff)
downloadblackbird-op-linux-4322e561a93ec7ee034b603a6c610e7be90d4e8a.tar.gz
blackbird-op-linux-4322e561a93ec7ee034b603a6c610e7be90d4e8a.zip
igb: Update NVM functions to work with i350 devices
This patch adds functions and functions pointers to accommodate differences between NVM interfaces and options for i350 devices, 82580 devices and the rest. Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/igb/e1000_nvm.h')
-rw-r--r--drivers/net/igb/e1000_nvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/igb/e1000_nvm.h b/drivers/net/igb/e1000_nvm.h
index 29c956a84bd0..7f43564c4bcc 100644
--- a/drivers/net/igb/e1000_nvm.h
+++ b/drivers/net/igb/e1000_nvm.h
@@ -35,6 +35,7 @@ s32 igb_read_part_num(struct e1000_hw *hw, u32 *part_num);
s32 igb_read_part_string(struct e1000_hw *hw, u8 *part_num,
u32 part_num_size);
s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
+s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
s32 igb_validate_nvm_checksum(struct e1000_hw *hw);
s32 igb_update_nvm_checksum(struct e1000_hw *hw);
OpenPOWER on IntegriCloud