OSDN Git Service

igc: Clean up obsolete NVM defines
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 1 Apr 2020 11:38:44 +0000 (14:38 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 19 May 2020 22:03:20 +0000 (15:03 -0700)
Packet buffer allocation, reserved word and pointer guard
not applicable for i225 parts.
This patch comes to clean up these obsolete defines

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_defines.h

index 54a7941..0ecc63d 100644 (file)
 
 /* For checksumming, the sum of all words in the NVM should equal 0xBABA. */
 #define NVM_SUM                                0xBABA
-
-#define NVM_PBA_OFFSET_0               8
-#define NVM_PBA_OFFSET_1               9
-#define NVM_RESERVED_WORD              0xFFFF
-#define NVM_PBA_PTR_GUARD              0xFAFA
 #define NVM_WORD_SIZE_BASE_SHIFT       6
 
 /* Collision related configuration parameters */