aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc.h
diff options
context:
space:
mode:
authorSasha Neftin <sasha.neftin@intel.com>2018-10-11 03:17:28 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-10-17 16:52:00 -0400
commitab4056126813c889ee6c8fb24ca8f75b84c981ab (patch)
tree66acd757449a65ac904b8471051f90f61c865d1e /drivers/net/ethernet/intel/igc/igc.h
parentc0071c7aa5fe0a6aa4cfc8426af893307ccd276d (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.h6
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
134enum 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 */