NetBSD/sys
dyoung b7dea03346 Make the members of the descriptors volatile, because the NIC and
the host share them.

Before breaking out of the loop over descriptors in gem_rint(),
DMA-resynchronize the first Rx descriptor we found that does not
belong to the host.  We must avoid a cached descriptor "covering"
a descriptor in RAM, because the cached descriptor may say that
the descriptor still belongs to the NIC, when that is not true,
and the driver will hang.

XXX I believe this driver only works by luck on hosts that both
XXX have a cacheline size greater than the size of a descriptor
XXX (16 bytes) and lack DMA/cache coherency.  I need to add some
XXX trickery to make sure that we don't scribble over the NIC's
XXX changes to a descriptor when we flush a cached descriptor to
XXX RAM with bus_dmamap_sync(9).
2007-04-12 06:14:40 +00:00
..
altq Remove duplicate #include <sys/kauth.h> 2007-03-26 22:43:19 +00:00
arch add the define of MCA_MAX_SLOTS here 2007-04-11 18:33:52 +00:00
coda revert putpages part of last change. Thanks to pooka@ for pointing 2007-04-09 21:38:18 +00:00
compat Regen (statfs support). 2007-04-11 11:51:19 +00:00
conf Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11. 2007-03-20 18:05:25 +00:00
contrib/dev/ath Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
crypto Added missing const-qualifiers. 2007-01-22 01:38:33 +00:00
ddb TRUE -> true, FALSE -> false 2007-02-22 06:34:42 +00:00
dev Make the members of the descriptors volatile, because the NIC and 2007-04-12 06:14:40 +00:00
dist Pass an ipl argument to pool_init/POOL_INIT to be used when initializing 2007-03-12 18:18:22 +00:00
fs Some rogue implementations use random physical partion numbers just to 2007-04-12 01:56:36 +00:00
gdbscripts
ipkdb Remove more duplicate headers. 2007-01-29 01:52:43 +00:00
kern turnstile_wakeup: when restoring inherited priority, only lock curlwp 2007-04-10 13:11:08 +00:00
lib Enable builtin_ffs for vax 2007-04-09 17:39:37 +00:00
lkm Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
miscfs Remove now obsolete vn_start_write() and vn_finished_write() and 2007-04-08 11:20:42 +00:00
net caddr_t fallout (only visible with options PPPOE_SERVER) 2007-03-31 11:00:23 +00:00
net80211 Reference the right flag, 2007-03-26 21:22:35 +00:00
netatalk Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
netbt rework ordering of error conditions for setopt, prefer to return EINVAL 2007-04-06 17:09:00 +00:00
netinet use size_t for indexes 2007-04-05 18:11:47 +00:00
netinet6 use size_t for indexes 2007-04-05 18:12:49 +00:00
netipsec Add sysctl tree to modify the fast_ipsec options related to ipv6. Similar 2007-04-11 22:21:41 +00:00
netisdn Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
netiso A number of functions do not validate the length of arguments passed. 2007-03-29 08:19:20 +00:00
netkey When we construct an answer for SADB_X_SPDGET, don't use an hardcoded 0 for seq but 2007-04-11 21:33:40 +00:00
netnatm Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
netsmb Pass an ipl argument to pool_init/POOL_INIT to be used when initializing 2007-03-12 18:18:22 +00:00
nfs Remove calls to now obsolete vn_start_write() and vn_finished_write(). 2007-04-06 14:28:28 +00:00
opencrypto Pass an ipl argument to pool_init/POOL_INIT to be used when initializing 2007-03-12 18:18:22 +00:00
secmodel Replace the Mach-derived boolean_t type with the C99 bool type. A 2007-02-21 22:59:35 +00:00
stand
sys update prototype of vfs_vptofh 2007-04-11 21:06:32 +00:00
ufs fix comment: struct fid is in fstypes.h now 2007-04-09 12:21:24 +00:00
uvm Export uvm_uarea_free() to the rest. 2007-03-24 21:15:39 +00:00
Makefile