diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2016-05-24 13:56:28 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-06-29 10:51:34 -0700 |
commit | 63737166a056fdcc83be46175ad4f63538279d7c (patch) | |
tree | c06c8be6daec311cc9161637bec87638cc5ab27f /drivers/net/ethernet/intel/igb/igb.h | |
parent | 462f11888207934bbecd0f154f6cf0bedac5ecd0 (diff) | |
download | linux-63737166a056fdcc83be46175ad4f63538279d7c.tar.gz linux-63737166a056fdcc83be46175ad4f63538279d7c.tar.bz2 linux-63737166a056fdcc83be46175ad4f63538279d7c.zip |
igb: introduce IGB_PTP_OVERFLOW_CHECK flag
Don't continue to use complex MAC type checks for handling various cases
where we have overflow check code. Make this code more obvious by
introducing a flag which is enabled for hardware that needs these
checks.
Signed-off-by: Jacob Keller <jacob.e.keller@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/igb/igb.h')
-rw-r--r-- | drivers/net/ethernet/intel/igb/igb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb.h b/drivers/net/ethernet/intel/igb/igb.h index 1e18a9eb16e0..38daaaba0cdb 100644 --- a/drivers/net/ethernet/intel/igb/igb.h +++ b/drivers/net/ethernet/intel/igb/igb.h @@ -477,6 +477,7 @@ struct igb_adapter { /* flags controlling PTP/1588 function */ #define IGB_PTP_ENABLED BIT(0) +#define IGB_PTP_OVERFLOW_CHECK BIT(1) #define IGB_FLAG_HAS_MSI BIT(0) #define IGB_FLAG_DCA_ENABLED BIT(1) |