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 typo in previous commit that would have stop...
details: https://anonhg.NetBSD.org/src/rev/043d3e031430
branches: trunk
changeset: 763966:043d3e031430
user: sborrill <sborrill%NetBSD.org@localhost>
date: Fri Apr 08 15:49:37 2011 +0000
description:
Fix typo in previous commit that would have stopped relevant bit being set.
diffstat:
sys/dev/pci/if_bge.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f186fe526eeb -r 043d3e031430 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c Fri Apr 08 15:35:49 2011 +0000
+++ b/sys/dev/pci/if_bge.c Fri Apr 08 15:49:37 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index