]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ixgbe: Fix ethtool output with advertised mode.
authorDon Skidmore <donald.c.skidmore@intel.com>
Tue, 31 Mar 2009 21:33:02 +0000 (21:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2009 08:02:27 +0000 (01:02 -0700)
commit7c5b83230a22d0e14375e5f283b8aaf3320ebd86
tree172df4ec235cf5974d6f3e529a4349a0acee9e80
parentb453368dfd74ba5a49bfaa853251212fa306e70d
ixgbe: Fix ethtool output with advertised mode.

Ethtool tries to get advertised speed from phy.autoneg_advertised.
However for copper media this wasn't happening until later do to
an other fix which moved mac.ops.setup_link_speed placement in
ixgbe_link_config(). This patch will display the default advertised
speeds if it can't yet get this information from phy.autoneg_advertised.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Acked-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_ethtool.c