diff options
author | smh <smh@FreeBSD.org> | 2016-02-11 16:54:23 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2016-02-11 16:54:23 +0000 |
commit | fd560f49734672a8d1c7f809460d6a57c5f396c8 (patch) | |
tree | 69e431b8e597b04b6be88f4c53365a761a9bab6b /sys/dev/ixgbe/ixgbe_common.c | |
parent | a174c79878d5e765a8247707098daaf3b966328f (diff) | |
download | FreeBSD-src-fd560f49734672a8d1c7f809460d6a57c5f396c8.zip FreeBSD-src-fd560f49734672a8d1c7f809460d6a57c5f396c8.tar.gz |
MFC r294734, r295093 & r295094 ixgbe fixes
MFC r294734
Fix ixgbe compliation with DBG 1
MFC r295093
Configure ixgbe phy & gbic power
MFC r295094
Fix ixgbe flow control autoneg reporting
Approved by: re (marius)
Sponsored by: Multiplay
Diffstat (limited to 'sys/dev/ixgbe/ixgbe_common.c')
-rw-r--r-- | sys/dev/ixgbe/ixgbe_common.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ixgbe/ixgbe_common.c b/sys/dev/ixgbe/ixgbe_common.c index d67e680..feb74f6 100644 --- a/sys/dev/ixgbe/ixgbe_common.c +++ b/sys/dev/ixgbe/ixgbe_common.c @@ -199,9 +199,12 @@ bool ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw) break; } - ERROR_REPORT2(IXGBE_ERROR_UNSUPPORTED, + if (!supported) { + ERROR_REPORT2(IXGBE_ERROR_UNSUPPORTED, "Device %x does not support flow control autoneg", hw->device_id); + } + return supported; } |