NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/38871: vlans don't work on bge interface
The following reply was made to PR port-i386/38871; it has been noted by GNATS.
From: Michael van Elst <mlelstv%serpens.de@localhost>
To: gnats-bugs%netbsd.org@localhost, apb%cequrux.com@localhost
Cc:
Subject: Re: kern/38871: vlans don't work on bge interface
Date: Tue, 17 Jun 2008 09:26:15 +0200
Hi Alan,
can you try this patch?
Index: if_bge.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_bge.c,v
retrieving revision 1.148
diff -u -r1.148 if_bge.c
--- if_bge.c 17 Jun 2008 06:08:46 -0000 1.148
+++ if_bge.c 17 Jun 2008 07:21:28 -0000
@@ -3985,6 +3985,9 @@
BGE_CLRBIT(sc, BGE_RX_MODE, BGE_RXMODE_RX_PROMISC);
}
+ /* Disable VLAN tag stripping */
+ BGE_CLRBIT(sc, BGE_RX_MODE, BGE_RXMODE_RX_KEEP_VLAN_DIAG);
+
/* Program multicast filter. */
bge_setmulti(sc);
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index