Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Missing break in switch case. From OpenBSD.



details:   https://anonhg.NetBSD.org/src/rev/9e064f8d228f
branches:  trunk
changeset: 759072:9e064f8d228f
user:      jym <jym%NetBSD.org@localhost>
date:      Sat Nov 27 17:48:58 2010 +0000

description:
Missing break in switch case. From OpenBSD.

diffstat:

 sys/dev/pci/if_bnx.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 262345bd4099 -r 9e064f8d228f sys/dev/pci/if_bnx.c
--- a/sys/dev/pci/if_bnx.c      Sat Nov 27 17:42:04 2010 +0000
+++ b/sys/dev/pci/if_bnx.c      Sat Nov 27 17:48:58 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bnx.c,v 1.34 2010/11/26 21:59:49 dholland Exp $     */
+/*     $NetBSD: if_bnx.c,v 1.35 2010/11/27 17:48:58 jym Exp $  */
 /*     $OpenBSD: if_bnx.c,v 1.85 2009/11/09 14:32:41 dlg Exp $ */
 
 /*-
@@ -35,7 +35,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/sys/dev/bce/if_bce.c,v 1.3 2006/04/13 14:12:26 ru Exp $");
 #endif
-__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.34 2010/11/26 21:59:49 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.35 2010/11/27 17:48:58 jym Exp $");
 
 /*
  * The following controllers are supported by this driver:
@@ -1975,6 +1975,7 @@
                                DBPRINT(sc, BNX_INFO_LOAD, 
                                        "BCM5709 s/w configured for SerDes.\n");
                                sc->bnx_phy_flags |= BNX_PHY_SERDES_FLAG;
+                               break;
                        default:
                                DBPRINT(sc, BNX_INFO_LOAD, 
                                        "BCM5709 s/w configured for Copper.\n");
@@ -1987,6 +1988,7 @@
                                DBPRINT(sc, BNX_INFO_LOAD, 
                                        "BCM5709 s/w configured for SerDes.\n");
                                sc->bnx_phy_flags |= BNX_PHY_SERDES_FLAG;
+                               break;
                        default:
                                DBPRINT(sc, BNX_INFO_LOAD, 
                                        "BCM5709 s/w configured for Copper.\n");



Home | Main Index | Thread Index | Old Index