Module Name:    src
Committed By:   msaitoh
Date:           Tue Mar 19 16:49:12 UTC 2013

Modified Files:
        src/sys/dev/pci: if_bge.c

Log Message:
Fix compile error if BGE_DEBUG is set.


To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 src/sys/dev/pci/if_bge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/if_bge.c
diff -u src/sys/dev/pci/if_bge.c:1.220 src/sys/dev/pci/if_bge.c:1.221
--- src/sys/dev/pci/if_bge.c:1.220	Tue Mar 19 04:10:13 2013
+++ src/sys/dev/pci/if_bge.c	Tue Mar 19 16:49:11 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_bge.c,v 1.220 2013/03/19 04:10:13 msaitoh Exp $	*/
+/*	$NetBSD: if_bge.c,v 1.221 2013/03/19 16:49:11 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.220 2013/03/19 04:10:13 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.221 2013/03/19 16:49:11 msaitoh Exp $");
 
 #include "vlan.h"
 
@@ -5694,7 +5694,7 @@ bge_debug_info(struct bge_softc *sc)
 		printf(" - 5704 A0 bug\n");
 	if (sc->bge_flags & BGE_PHY_JITTER_BUG)
 		printf(" - jitter bug\n");
-	if (sc->bge_flags & BGE_PHY_BER_BGU)
+	if (sc->bge_flags & BGE_PHY_BER_BUG)
 		printf(" - BER bug\n");
 	if (sc->bge_flags & BGE_PHY_ADJUST_TRIM)
 		printf(" - adjust trim\n");

Reply via email to