Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Fix compile error if BGE_DEBUG is set.



details:   https://anonhg.NetBSD.org/src/rev/0d75076d8395
branches:  trunk
changeset: 785550:0d75076d8395
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Mar 19 16:49:11 2013 +0000

description:
Fix compile error if BGE_DEBUG is set.

diffstat:

 sys/dev/pci/if_bge.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ff887b33cbee -r 0d75076d8395 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Tue Mar 19 13:23:58 2013 +0000
+++ b/sys/dev/pci/if_bge.c      Tue Mar 19 16:49:11 2013 +0000
@@ -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 @@
                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");



Home | Main Index | Thread Index | Old Index