summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_aue.c4
-rw-r--r--sys/dev/usb/if_axe.c4
-rw-r--r--sys/dev/usb/if_mos.c4
-rw-r--r--sys/dev/usb/if_url.c4
4 files changed, 12 insertions, 4 deletions
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c
index fb530a31317..0b0c45bea28 100644
--- a/sys/dev/usb/if_aue.c
+++ b/sys/dev/usb/if_aue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_aue.c,v 1.73 2008/10/02 20:21:14 brad Exp $ */
+/* $OpenBSD: if_aue.c,v 1.74 2008/11/06 02:32:28 brad Exp $ */
/* $NetBSD: if_aue.c,v 1.82 2003/03/05 17:37:36 shiba Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -811,6 +811,8 @@ aue_attach(struct device *parent, struct device *self, void *aux)
IFQ_SET_READY(&ifp->if_snd);
+ ifp->if_capabilities = IFCAP_VLAN_MTU;
+
/* Initialize MII/media info. */
mii = &sc->aue_mii;
mii->mii_ifp = ifp;
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c
index cc6880b87c0..ab00e05ed9d 100644
--- a/sys/dev/usb/if_axe.c
+++ b/sys/dev/usb/if_axe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_axe.c,v 1.89 2008/11/02 10:46:10 jsg Exp $ */
+/* $OpenBSD: if_axe.c,v 1.90 2008/11/06 02:32:28 brad Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Jonathan Gray <jsg@openbsd.org>
@@ -708,6 +708,8 @@ axe_attach(struct device *parent, struct device *self, void *aux)
IFQ_SET_READY(&ifp->if_snd);
+ ifp->if_capabilities = IFCAP_VLAN_MTU;
+
/* Initialize MII/media info. */
mii = &sc->axe_mii;
mii->mii_ifp = ifp;
diff --git a/sys/dev/usb/if_mos.c b/sys/dev/usb/if_mos.c
index 92536741d87..00e05f5f57e 100644
--- a/sys/dev/usb/if_mos.c
+++ b/sys/dev/usb/if_mos.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mos.c,v 1.3 2008/11/02 23:50:48 jsg Exp $ */
+/* $OpenBSD: if_mos.c,v 1.4 2008/11/06 02:32:29 brad Exp $ */
/*
* Copyright (c) 2008 Johann Christian Rode <jcrode@gmx.net>
@@ -713,6 +713,8 @@ mos_attach(struct device *parent, struct device *self, void *aux)
IFQ_SET_READY(&ifp->if_snd);
+ ifp->if_capabilities = IFCAP_VLAN_MTU;
+
/* Initialize MII/media info. */
mii = GET_MII(sc);
mii->mii_ifp = ifp;
diff --git a/sys/dev/usb/if_url.c b/sys/dev/usb/if_url.c
index 5f7497b72c7..adb06f86c58 100644
--- a/sys/dev/usb/if_url.c
+++ b/sys/dev/usb/if_url.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_url.c,v 1.52 2008/10/03 20:25:29 brad Exp $ */
+/* $OpenBSD: if_url.c,v 1.53 2008/11/06 02:32:29 brad Exp $ */
/* $NetBSD: if_url.c,v 1.6 2002/09/29 10:19:21 martin Exp $ */
/*
* Copyright (c) 2001, 2002
@@ -282,6 +282,8 @@ url_attach(struct device *parent, struct device *self, void *aux)
IFQ_SET_READY(&ifp->if_snd);
+ ifp->if_capabilities = IFCAP_VLAN_MTU;
+
/*
* Do ifmedia setup.
*/