summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-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