ixgbe: report correct media type for KR, KX and KX4 interfaces
authorVeola Nazareth <veola.nazareth@intel.com>
Sun, 21 Aug 2016 02:35:37 +0000 (19:35 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 21 Aug 2016 02:35:56 +0000 (19:35 -0700)
commit27b23f96f3cf6ffd680e28bf569d8ddd71842590
treec19c059a093a9731c5836c88dfa429f496afb528
parent8238ac0ce27b9537a4c161e0382abfc613ee577b
ixgbe: report correct media type for KR, KX and KX4 interfaces

ethtool reports backplane type interfaces as 1000/10000baseT link modes.
This has been corrected to report the media as KR, KX or KX4 based on the backplane interface present.

Signed-off-by: Veola Nazareth <veola.nazareth@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c