]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: introduce ptp_flags variable and use it to replace IGB_FLAG_PTP
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 24 May 2016 20:56:27 +0000 (13:56 -0700)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Thu, 22 Jun 2017 21:28:30 +0000 (14:28 -0700)
commit01c978add794b86240afbf9cac89b14469c22d66
treedfe2ecfa2a4888e9b7296bc1abec10038cfc7999
parentfb19eac3e268f21d996d62be843a856a91cf2c1e
igb: introduce ptp_flags variable and use it to replace IGB_FLAG_PTP

Upcoming patches will introduce new PTP specific flags. To avoid
cluttering the normal flags variable, introduce PTP specific "ptp_flags"
variable for this purpose, and move IGB_FLAG_PTP to become
IGB_PTP_ENABLED.

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>
(cherry picked from commit 462f11888207934bbecd0f154f6cf0bedac5ecd0)

Orabug: 26325580

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_ptp.c