summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>2001-08-03 23:24:57 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>2001-08-03 23:24:57 +0000
commit91535da0fdbc806a4edb250c5113499007e5c4ab (patch)
treeff7cabd776acb59e7e8e3669966e7a7cbb0e0767 /sys/dev
parentf5a456948912fe2334de6af3556c036bf63c117f (diff)
Set IFCAP_VLAN_MTU, this driver already allows vlan-size frames
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/dc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c
index 054801113b8..5efe2c61193 100644
--- a/sys/dev/ic/dc.c
+++ b/sys/dev/ic/dc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dc.c,v 1.30 2001/07/02 01:28:20 jason Exp $ */
+/* $OpenBSD: dc.c,v 1.31 2001/08/03 23:24:56 chris Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1653,6 +1653,10 @@ void dc_attach(sc)
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
+#if NVLAN > 0
+ ifp->if_capabilities = IFCAP_VLAN_MTU;
+#endif
+
/* Do MII setup. If this is a 21143, check for a PHY on the
* MII bus after applying any necessary fixups to twiddle the
* GPIO bits. If we don't end up finding a PHY, restore the