diff options
author | Carolyn Wyborny <carolyn.wyborny@intel.com> | 2011-03-11 20:43:18 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-03-12 04:09:37 -0800 |
commit | 4322e561a93ec7ee034b603a6c610e7be90d4e8a (patch) | |
tree | a3260a88662c8a2b65233513bac17faffc0f64bf /drivers/net/igb/e1000_hw.h | |
parent | 09b068d45737abb49320ab25cb4ed2916017ace7 (diff) | |
download | op-kernel-dev-4322e561a93ec7ee034b603a6c610e7be90d4e8a.zip op-kernel-dev-4322e561a93ec7ee034b603a6c610e7be90d4e8a.tar.gz |
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_hw.h')
-rw-r--r-- | drivers/net/igb/e1000_hw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/igb/e1000_hw.h b/drivers/net/igb/e1000_hw.h index 17569bf..27153e8 100644 --- a/drivers/net/igb/e1000_hw.h +++ b/drivers/net/igb/e1000_hw.h @@ -336,6 +336,8 @@ struct e1000_nvm_operations { s32 (*read)(struct e1000_hw *, u16, u16, u16 *); void (*release)(struct e1000_hw *); s32 (*write)(struct e1000_hw *, u16, u16, u16 *); + s32 (*update)(struct e1000_hw *); + s32 (*validate)(struct e1000_hw *); }; struct e1000_info { @@ -422,7 +424,6 @@ struct e1000_phy_info { struct e1000_nvm_info { struct e1000_nvm_operations ops; - enum e1000_nvm_type type; enum e1000_nvm_override override; |