diff options
author | Sasha Neftin | 2018-10-11 09:17:28 +0200 |
---|---|---|
committer | Jeff Kirsher | 2018-10-17 22:52:00 +0200 |
commit | ab4056126813c889ee6c8fb24ca8f75b84c981ab (patch) | |
tree | 66acd757449a65ac904b8471051f90f61c865d1e /drivers/net/ethernet/intel/igc/igc_hw.h | |
parent | igc: Add HW initialization code (diff) | |
download | kernel-qcow2-linux-ab4056126813c889ee6c8fb24ca8f75b84c981ab.tar.gz kernel-qcow2-linux-ab4056126813c889ee6c8fb24ca8f75b84c981ab.tar.xz kernel-qcow2-linux-ab4056126813c889ee6c8fb24ca8f75b84c981ab.zip |
igc: Add NVM support
Add code for NVM support and get MAC address, complete probe
method.
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@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/igc/igc_hw.h')
-rw-r--r-- | drivers/net/ethernet/intel/igc/igc_hw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_hw.h b/drivers/net/ethernet/intel/igc/igc_hw.h index e31d85f1ee12..107d6461924b 100644 --- a/drivers/net/ethernet/intel/igc/igc_hw.h +++ b/drivers/net/ethernet/intel/igc/igc_hw.h @@ -11,6 +11,7 @@ #include "igc_regs.h" #include "igc_defines.h" #include "igc_mac.h" +#include "igc_nvm.h" #include "igc_i225.h" #include "igc_base.h" @@ -56,6 +57,8 @@ struct igc_info { struct igc_nvm_operations *nvm_ops; }; +extern const struct igc_info igc_base_info; + struct igc_mac_info { struct igc_mac_operations ops; |