ixgbe: fix fc autoneg ethtool reporting.
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 31 Jul 2013 02:19:24 +0000 (02:19 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 Jul 2013 00:26:32 +0000 (17:26 -0700)
commit73d80953dfd1d5a92948005798c857c311c2834b
tree717d743db581a1b92f6c2145d5dd52d088743462
parente507d0cdb3d8b79d806645e68aa310ddb12bfe76
ixgbe: fix fc autoneg ethtool reporting.

Originally ixgbe_device_supports_autoneg_fc() was only expected to
be called by copper devices.  This would lead to false information
to be displayed via ethtool.

v2: changed ixgbe_device_supports_autoneg_fc() to a bool function,
    it returns bool.  Based on feedback from David Miller

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
drivers/net/ethernet/intel/ixgbe/ixgbe_common.h
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c