diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-08-19 04:01:03 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-08-19 04:01:03 +0000 |
commit | a5a2b7ba6911941e00c7b6bccce5a26aa2f7c08f (patch) | |
tree | 396f8257b334259d6dc151dcf98a2f52b1fbc2e9 /sys/dev/pci | |
parent | 8394f1f7abdf24bbb3dc8e31197e1b27267477ce (diff) |
set the capabilities VLAN MTU flag.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_bnx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_bnx.c b/sys/dev/pci/if_bnx.c index 4c7348f63d3..938c2c42997 100644 --- a/sys/dev/pci/if_bnx.c +++ b/sys/dev/pci/if_bnx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bnx.c,v 1.15 2006/08/14 20:45:00 marco Exp $ */ +/* $OpenBSD: if_bnx.c,v 1.16 2006/08/19 04:01:02 brad Exp $ */ /*- * Copyright (c) 2006 Broadcom Corporation @@ -587,6 +587,8 @@ bnx_attach(struct device *parent, struct device *self, void *aux) bcopy(sc->eaddr, sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); bcopy(sc->bnx_dev.dv_xname, ifp->if_xname, IFNAMSIZ); + ifp->if_capabilities = IFCAP_VLAN_MTU; + /* Assume a standard 1500 byte MTU size for mbuf allocations. */ sc->mbuf_alloc_size = MCLBYTES; |