Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 00:26:31 +0000 (UTC)
From:      Stephen Hurd <shurd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309028 - head/sys/dev/bnxt
Message-ID:  <201611230026.uAN0QVir030033@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: shurd (ports committer)
Date: Wed Nov 23 00:26:31 2016
New Revision: 309028
URL: https://svnweb.freebsd.org/changeset/base/309028

Log:
  Add missing break to switch statement
  
  Minimal impact, would allow selection of LR media when KR is connected.
  
  Reported by:	Coverity
  Approved by:	davidch
  MFC after:	7 days
  Sponsored by:	Broadcom Limited

Modified:
  head/sys/dev/bnxt/if_bnxt.c

Modified: head/sys/dev/bnxt/if_bnxt.c
==============================================================================
--- head/sys/dev/bnxt/if_bnxt.c	Tue Nov 22 22:45:15 2016	(r309027)
+++ head/sys/dev/bnxt/if_bnxt.c	Wed Nov 23 00:26:31 2016	(r309028)
@@ -1912,6 +1912,7 @@ bnxt_add_media_types(struct bnxt_softc *
 		if (supported & HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_SPEEDS_10GB)
 			ifmedia_add(softc->media, IFM_ETHER | IFM_10G_KR, 0,
 			    NULL);
+		break;
 	case HWRM_PORT_PHY_QCFG_OUTPUT_PHY_TYPE_BASELR:
 		if (supported & HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_SPEEDS_100GB)
 			ifmedia_add(softc->media, IFM_ETHER | IFM_100G_LR4, 0,



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