freebsd-nq/sys
Yaroslav Tykhiy c96a57bbf5 Respect the current setting of IFCAP_VLAN_HWTAGGING on
the interface when going to toggle VLAN support for
internal reasons.  If the IFCAP_VLAN_HWTAGGING bit is
cleared, we should rely on the (re)init routine to turn
VLAN support off and never touch the relevant hardware bits.

This applies to other capability bits, too.  The user
obviously has a reason for clearing a capability bit,
e.g., if his particular NIC is buggy and hangs if a
certain hardware capability is turned on even for a
fraction of a second.

The flag adapter->em_insert_vlan_header still is set or
reset irrespective of the IFCAP_VLAN_HWTAGGING setting,
as before, in order to handle the case when a user sets
promiscuous mode on an interface first and later turns
its IFCAP_VLAN_HWTAGGING bit on.

This change might look orthogonal to rev#1.85, but in fact
it is not.  It introduces bugfixes that hopefully will make
implementing the general scheme mentioned in the commit
message of rev#1.85 easier.
2005-01-26 13:44:47 +00:00
..
alpha Add bus_dmamap_load_mbuf_sg() to alpha. 2005-01-15 20:11:25 +00:00
amd64 JumboMFi386: use bitmapped IPI handler. Update elcr and default mptable 2005-01-21 06:01:20 +00:00
arm Make sure we can boot both with and without MMU enabled. 2005-01-23 22:08:31 +00:00
boot Only update the boot sector when there is a valid drive number provided. 2005-01-09 23:30:35 +00:00
cam Add quirk for easyRAID ER5 alias areca ARC-6010. 2005-01-25 08:59:06 +00:00
coda Take VOP_GETVOBJECT() out to pasture. We use the direct pointer now. 2005-01-25 00:42:16 +00:00
compat Split out kernel side of msgctl(2) into two parts: the first that pops data 2005-01-26 00:46:36 +00:00
conf Embellish rev 1.61. If we're not building a debug kernel, use -O2 as before. 2005-01-22 00:58:34 +00:00
contrib Use the packet's address family instead of the rule's when selecting a 2005-01-20 18:07:35 +00:00
crypto Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
ddb Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
dev Respect the current setting of IFCAP_VLAN_HWTAGGING on 2005-01-26 13:44:47 +00:00
doc
fs Introduce and use g_vfs_close(). 2005-01-25 15:52:04 +00:00
gdb /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
geom Introduce and use g_vfs_close(). 2005-01-25 15:52:04 +00:00
gnu Introduce and use g_vfs_close(). 2005-01-25 15:52:04 +00:00
i4b /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
i386 If a valid ELCR was found, consult it for the trigger mode of ISA 2005-01-18 20:27:24 +00:00
ia64 Fix compile errors. Bah. 2005-01-18 11:06:34 +00:00
isa Protect against wrapping. This appaers to fix some hangs that people 2005-01-23 03:03:58 +00:00
isofs/cd9660 Introduce and use g_vfs_close(). 2005-01-25 15:52:04 +00:00
kern - Regen 2005-01-26 02:29:18 +00:00
libkern /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-07 00:24:33 +00:00
modules Provide a WITHOUT_MODULES variable that specifies a list of modules 2005-01-20 05:43:24 +00:00
net Acquire the raw_cb mutex around LIST_REMOVE() of a raw socket control 2005-01-24 22:56:09 +00:00
net80211 update node reference count debug msgs to include the node address 2005-01-24 20:50:20 +00:00
netatalk /* -> /*- for license, minor formatting changes, insert COPYRIGHT into files 2005-01-07 02:35:34 +00:00
netatm /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netgraph Rename ng_callout_trapoline to ng_callout_trampoline. 2005-01-26 09:01:50 +00:00
netinet Correctly move the packet header in ip_insertoptions(). 2005-01-23 19:43:46 +00:00
netinet6 we don't need to make fake sockaddr_in6 to compare subject address. 2005-01-21 18:12:46 +00:00
netipsec /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netipx Mark the IPX netisr as MPSAFE so that inbound IPX traffic is processed 2005-01-09 07:34:55 +00:00
netkey fixed an unexpected addr/port matching failure in IPv6 SA management 2005-01-10 13:06:42 +00:00
netnatm /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netncp /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netsmb /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4client Remove unused cred arg from nfs_vinvalbuf() and many bogus arguments 2005-01-24 12:31:06 +00:00
nfsclient Create a vnode_pager object when a file is opened. 2005-01-24 23:03:29 +00:00
nfsserver Don't try to create vnode_pager objects on other filesystems vnodes, 2005-01-24 22:09:13 +00:00
opencrypto /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
pc98 MFi386: fix a comment. 2005-01-17 08:36:46 +00:00
pccard /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
pci Bring in support for SUGOI LAN GIGA NIC made by System TALKS, Inc from 2005-01-22 22:40:53 +00:00
posix4 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
powerpc Fix (accidental?) lock order reversal in pmap_remove. Found when 2005-01-21 01:02:38 +00:00
rpc /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
security Remove an obsoleted comment about struct versions. 2005-01-23 14:26:09 +00:00
sparc64 At least on some U30 there's a spurious duplicate device node of an EBus 2005-01-20 13:29:31 +00:00
sys unbreak libthr binary compatibility. 2005-01-26 12:07:06 +00:00
tools Get rid of the VDESC() macro while the pot is boiling anyway, it is 2005-01-13 08:05:20 +00:00
ufs Introduce and use g_vfs_close(). 2005-01-25 15:52:04 +00:00
vm Don't use VOP_GETVOBJECT, use vp->v_object directly. 2005-01-25 00:40:01 +00:00
Makefile