summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-10-23 21:08:22 +0000
committerbrad <brad@openbsd.org>2006-10-23 21:08:22 +0000
commitd221b50012ef0287f55d9bba68cffaf55d7595e9 (patch)
treef4f1a0721970a53a807fa3589041443abe373d72
parentMove towards winter. (diff)
downloadwireguard-openbsd-d221b50012ef0287f55d9bba68cffaf55d7595e9.tar.xz
wireguard-openbsd-d221b50012ef0287f55d9bba68cffaf55d7595e9.zip
- remove the TODO comments at the top.
- add the VLAN headers.
-rw-r--r--sys/dev/pci/if_xge.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/dev/pci/if_xge.c b/sys/dev/pci/if_xge.c
index abed519f7d4..64b09d3d045 100644
--- a/sys/dev/pci/if_xge.c
+++ b/sys/dev/pci/if_xge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xge.c,v 1.33 2006/10/11 00:08:51 brad Exp $ */
+/* $OpenBSD: if_xge.c,v 1.34 2006/10/23 21:08:22 brad Exp $ */
/* $NetBSD: if_xge.c,v 1.1 2005/09/09 10:30:27 ragge Exp $ */
/*
@@ -36,11 +36,7 @@
*/
/*
- * Device driver for the Neterion Xframe Ten Gigabit Ethernet controller.
- *
- * TODO (in no specific order):
- * HW VLAN support.
- * IPv6 HW cksum.
+ * Driver for the Neterion Xframe Ten Gigabit Ethernet controller.
*/
#include <sys/cdefs.h>
@@ -49,6 +45,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_xge.c,v 1.1 2005/09/09 10:30:27 ragge Exp $");
#endif
#include "bpfilter.h"
+#include "vlan.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -73,6 +70,11 @@ __KERNEL_RCSID(0, "$NetBSD: if_xge.c,v 1.1 2005/09/09 10:30:27 ragge Exp $");
#include <netinet/udp.h>
#endif
+#if NVLAN > 0
+#include <net/if_types.h>
+#include <net/if_vlan_var.h>
+#endif
+
#if NBPFILTER > 0
#include <net/bpf.h>
#endif