summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-02-16 20:16:31 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-02-16 20:16:31 +0000
commit32494df3a251db7087a946c1c6d94bd7ea472511 (patch)
treeee4157651599bf14c6ebfb31eb734324f430c903 /sys/dev
parent560d7f2a1b91cc3c9b49700b14b2d3c7d158dadc (diff)
disable HW VLAN tagging.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_ti.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index 815eb3221e1..87568a63095 100644
--- a/sys/dev/pci/if_ti.c
+++ b/sys/dev/pci/if_ti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti.c,v 1.74 2006/01/16 01:47:39 brad Exp $ */
+/* $OpenBSD: if_ti.c,v 1.75 2006/02/16 20:16:30 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1667,9 +1667,11 @@ ti_attach(struct device *parent, struct device *self, void *aux)
ifp->if_capabilities = IFCAP_VLAN_MTU;
+#if TI_VLAN
#if NVLAN > 0
ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING;
#endif
+#endif
/* Set up ifmedia support. */
ifmedia_init(&sc->ifmedia, IFM_IMASK, ti_ifmedia_upd, ti_ifmedia_sts);