summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-11-20 22:49:33 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-11-20 22:49:33 +0000
commit09ea76e9089692baf4a1ec06f17728bc49ed51f6 (patch)
tree7fa4eac0325b1736f4130f8ca9fe0d029b2d2d27
parentc6ccf5d67c8d15361c16b1b848b0127c492d95ad (diff)
Re-enable HW VLAN tagging.
-rw-r--r--sys/dev/pci/if_ti.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index ea5e4e6abe6..506f4129356 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.83 2006/05/28 00:20:21 brad Exp $ */
+/* $OpenBSD: if_ti.c,v 1.84 2006/11/20 22:49:32 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1655,11 +1655,9 @@ 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);