svn commit: r295094 - head/sys/dev/ixgbe

Steven Hartland smh at FreeBSD.org
Sun Jan 31 15:18:05 UTC 2016


Author: smh
Date: Sun Jan 31 15:18:03 2016
New Revision: 295094
URL: https://svnweb.freebsd.org/changeset/base/295094

Log:
  Fix ixgbe flow control autoneg reporting
  
  Fix ixgbe reporting of flow control autoneg when running under DBG 1
  
  Reviewed by:	erj
  MFC after:	2 days
  Sponsored by:	Multiplay
  Differential Revision:	https://reviews.freebsd.org/D5089

Modified:
  head/sys/dev/ixgbe/ixgbe_common.c

Modified: head/sys/dev/ixgbe/ixgbe_common.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe_common.c	Sun Jan 31 15:14:23 2016	(r295093)
+++ head/sys/dev/ixgbe/ixgbe_common.c	Sun Jan 31 15:18:03 2016	(r295094)
@@ -199,9 +199,12 @@ bool ixgbe_device_supports_autoneg_fc(st
 		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;
 }
 


More information about the svn-src-head mailing list