]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Update link modes display in ethtool
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Sat, 9 Nov 2013 12:52:14 +0000 (04:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Nov 2013 05:19:35 +0000 (00:19 -0500)
commit83e5b42158bc0008db2782fb3563590780556303
tree3c53fa83a1b7a8ffa2e04ae100385de383ede18c
parent5184927c75d601435c8afffcb26f783fb1ccb539
igb: Update link modes display in ethtool

This patch fixes multiple problems in the link modes display in ethtool.
Newer parts have more complicated methods to determine actual link
capabilities.  Older parts cannot communicate with their SFP modules.
Finally, all the available defines are not displayed by ethtool.  This
updates the link modes to be as accurate as possible depending on what data
is available to the driver at any given time.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/igb/igb_ethtool.c