i40e: Replace X722 mac check in ethtool get_settings
authorCatherine Sullivan <catherine.sullivan@intel.com>
Wed, 9 Dec 2015 23:50:25 +0000 (15:50 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 4 Feb 2016 04:17:15 +0000 (20:17 -0800)
commit48b1804ee3cdad7bf115666eb35edf12a734710f
tree2faaeb02dc89187ae98d60596b6b340d68275380
parent6e35c04cf633e55648acb9ccabff42aa37bd4044
i40e: Replace X722 mac check in ethtool get_settings

100M SGMII is only supported on X722.  Replace the mac check with
a feature flag check that is only set for the X722 device.

Change-ID: I53452d9af6af8cd9dca8500215fbc6ce93418f52
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c