Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2012 04:29:11 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r240380 - stable/9/sys/dev/ixgbe
Message-ID:  <201209120429.q8C4TBii093431@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Wed Sep 12 04:29:11 2012
New Revision: 240380
URL: http://svn.freebsd.org/changeset/base/240380

Log:
  MFC r240155:
  Add missing braces
  
  Obtained from:	DragonFly

Modified:
  stable/9/sys/dev/ixgbe/ixgbe_82599.c
Directory Properties:
  stable/9/sys/dev/ixgbe/   (props changed)

Modified: stable/9/sys/dev/ixgbe/ixgbe_82599.c
==============================================================================
--- stable/9/sys/dev/ixgbe/ixgbe_82599.c	Wed Sep 12 03:42:52 2012	(r240379)
+++ stable/9/sys/dev/ixgbe/ixgbe_82599.c	Wed Sep 12 04:29:11 2012	(r240380)
@@ -868,12 +868,13 @@ s32 ixgbe_setup_mac_link_82599(struct ix
 	    link_mode == IXGBE_AUTOC_LMS_KX4_KX_KR_SGMII) {
 		/* Set KX4/KX/KR support according to speed requested */
 		autoc &= ~(IXGBE_AUTOC_KX4_KX_SUPP_MASK | IXGBE_AUTOC_KR_SUPP);
-		if (speed & IXGBE_LINK_SPEED_10GB_FULL)
+		if (speed & IXGBE_LINK_SPEED_10GB_FULL) {
 			if (orig_autoc & IXGBE_AUTOC_KX4_SUPP)
 				autoc |= IXGBE_AUTOC_KX4_SUPP;
 			if ((orig_autoc & IXGBE_AUTOC_KR_SUPP) &&
 			    (hw->phy.smart_speed_active == FALSE))
 				autoc |= IXGBE_AUTOC_KR_SUPP;
+		}
 		if (speed & IXGBE_LINK_SPEED_1GB_FULL)
 			autoc |= IXGBE_AUTOC_KX_SUPP;
 	} else if ((pma_pmd_1g == IXGBE_AUTOC_1G_SFI) &&



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209120429.q8C4TBii093431>