Module Name: src
Committed By: sborrill
Date: Fri Apr 8 15:49:37 UTC 2011
Modified Files:
src/sys/dev/pci: if_bge.c
Log Message:
Fix typo in previous commit that would have stopped relevant bit being set.
To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.192 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.191 src/sys/dev/pci/if_bge.c:1.192
--- src/sys/dev/pci/if_bge.c:1.191 Fri Apr 8 13:56:51 2011
+++ src/sys/dev/pci/if_bge.c Fri Apr 8 15:49:37 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bge.c,v 1.191 2011/04/08 13:56:51 sborrill Exp $ */
+/* $NetBSD: if_bge.c,v 1.192 2011/04/08 15:49:37 sborrill Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.191 2011/04/08 13:56:51 sborrill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.192 2011/04/08 15:49:37 sborrill Exp $");
#include "vlan.h"
#include "rnd.h"
@@ -1657,7 +1657,7 @@
if (ac->ec_capenable & ETHERCAP_VLAN_HWTAGGING)
BGE_CLRBIT(sc, BGE_RX_MODE, BGE_RXMODE_RX_KEEP_VLAN_DIAG);
else
- BGE_CLRBIT(sc, BGE_RX_MODE, BGE_RXMODE_RX_KEEP_VLAN_DIAG);
+ BGE_SETBIT(sc, BGE_RX_MODE, BGE_RXMODE_RX_KEEP_VLAN_DIAG);
}
static void