summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-05-09 09:02:11 +0000
committeryar <yar@FreeBSD.org>2007-05-09 09:02:11 +0000
commit987f7301857b90bc6a41f2aeadb401898aa7d040 (patch)
treede3212b49728de64bdb7fb0cf14c56dfcfc87d77 /sys/pci
parentd97c4f1e52204982c2c5d0ccda0b2e54bf010712 (diff)
downloadFreeBSD-src-987f7301857b90bc6a41f2aeadb401898aa7d040.zip
FreeBSD-src-987f7301857b90bc6a41f2aeadb401898aa7d040.tar.gz
tl(4) appears to support long frames.
Tested by: Peter Jeremy <peterjeremy at optushome dot com dot au>
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_tl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index 5d23767..f2993e2 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -1267,6 +1267,8 @@ tl_attach(dev)
ifp->if_init = tl_init;
ifp->if_mtu = ETHERMTU;
ifp->if_snd.ifq_maxlen = TL_TX_LIST_CNT - 1;
+ ifp->if_capabilities |= IFCAP_VLAN_MTU;
+ ifp->if_capenable |= IFCAP_VLAN_MTU;
callout_init_mtx(&sc->tl_stat_callout, &sc->tl_mtx, 0);
/* Reset the adapter again. */
OpenPOWER on IntegriCloud