summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-10-23 21:08:23 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-10-23 21:08:23 +0000
commit77fbb0795041432193a525a3dc69e365c5960876 (patch)
treedb39a3f2948a4e49e44d0c19f7a9c38cbcc9c6e1 /sys/dev/pci
parent462f841745e7958a229610a4402a824e311bf577 (diff)
- remove the TODO comments at the top.
- add the VLAN headers.
Diffstat (limited to 'sys/dev/pci')
-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