summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2017-07-14 09:27:09 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-09-29 12:51:02 -0700
commit22b96551f213d7e7d743442c923c266a10306b9b (patch)
tree20f66060ad1f59a2408f39efacc84df6fcb9000c /include
parenta3f5aa907340b5d7b54223ddbaa90410f168864d (diff)
downloadlinux-22b96551f213d7e7d743442c923c266a10306b9b.tar.bz2
i40e: refactor FW version checking
The i40e driver now supports two different devices with two different firmware versions. So be smart about how we handle these. Move the FW version macros to the appropriate header file, and add a convenience macro that checks the version based on the device. Then use this macro to check whether or not the driver can use the new link info API. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions