diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2003-03-12 17:05:44 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2003-03-12 17:05:44 +0000 |
commit | 376adc3bc03a8421726053719731a55f9efedd58 (patch) | |
tree | 31cfccca60a6d2fee107d72e3f67b103363f8ae9 /sys/dev/pci/if_sk.c | |
parent | 696448d6b684625faeda96a878bfe71e2b8b1d50 (diff) |
sk is capable of transmitting and receiving longer packets for 802.1q vlans
thanks to David Gwynne <loki@niteshade.net>. ok jason@ deraadt@
Diffstat (limited to 'sys/dev/pci/if_sk.c')
-rw-r--r-- | sys/dev/pci/if_sk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c index 70016c37cd4..38ea46e2f5a 100644 --- a/sys/dev/pci/if_sk.c +++ b/sys/dev/pci/if_sk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sk.c,v 1.27 2003/01/15 06:31:24 art Exp $ */ +/* $OpenBSD: if_sk.c,v 1.28 2003/03/12 17:05:43 nate Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -964,6 +964,7 @@ sk_attach(parent, self, aux) ifp->if_start = sk_start; ifp->if_watchdog = sk_watchdog; ifp->if_baudrate = 1000000000; + ifp->if_capabilities |= IFCAP_VLAN_MTU; IFQ_SET_MAXLEN(&ifp->if_snd, SK_TX_RING_CNT - 1); IFQ_SET_READY(&ifp->if_snd); bcopy(sc_if->sk_dev.dv_xname, ifp->if_xname, IFNAMSIZ); |