diff options
author | Sasha Neftin <sasha.neftin@intel.com> | 2018-10-11 03:17:28 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-10-17 16:52:00 -0400 |
commit | ab4056126813c889ee6c8fb24ca8f75b84c981ab (patch) | |
tree | 66acd757449a65ac904b8471051f90f61c865d1e /drivers/net/ethernet/intel/igc/igc.h | |
parent | c0071c7aa5fe0a6aa4cfc8426af893307ccd276d (diff) |
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.h')
-rw-r--r-- | drivers/net/ethernet/intel/igc/igc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc.h b/drivers/net/ethernet/intel/igc/igc.h index 88ee451e36fd..6dcf51c112f4 100644 --- a/drivers/net/ethernet/intel/igc/igc.h +++ b/drivers/net/ethernet/intel/igc/igc.h | |||
@@ -131,6 +131,10 @@ enum igc_tx_flags { | |||
131 | IGC_TX_FLAGS_CSUM = 0x20, | 131 | IGC_TX_FLAGS_CSUM = 0x20, |
132 | }; | 132 | }; |
133 | 133 | ||
134 | enum igc_boards { | ||
135 | board_base, | ||
136 | }; | ||
137 | |||
134 | /* The largest size we can write to the descriptor is 65535. In order to | 138 | /* The largest size we can write to the descriptor is 65535. In order to |
135 | * maintain a power of two alignment we have to limit ourselves to 32K. | 139 | * maintain a power of two alignment we have to limit ourselves to 32K. |
136 | */ | 140 | */ |
@@ -342,6 +346,8 @@ struct igc_adapter { | |||
342 | spinlock_t nfc_lock; | 346 | spinlock_t nfc_lock; |
343 | 347 | ||
344 | struct igc_mac_addr *mac_table; | 348 | struct igc_mac_addr *mac_table; |
349 | |||
350 | struct igc_info ei; | ||
345 | }; | 351 | }; |
346 | 352 | ||
347 | /* igc_desc_unused - calculate if we have unused descriptors */ | 353 | /* igc_desc_unused - calculate if we have unused descriptors */ |