freebsd-nq/sys
Don Lewis 4ff4a9bee9 The transmit frame status is stored in the last transmit descriptor for the
frame, not the first.  It is probably also not safe to free the mbuf chain
as soon as the OWN bit is cleared on the first descriptor since the chip
may not be done copying the frame into the transmit FIFO.  Revert the part of
of busdma conversion (if_dc.c rev 1.115) which changed dc_txeof() to look for
the status in the first descriptor and free the mbuf chain when processing
the first descriptor for the frame, and revert the matching changes elsewhere
in the driver.  This part of the busdma change caused the driver to report
spurious collisions and output errors, even when running in full-duplex mode.
Reverting the mbuf chain handling slightly complicates dc_dma_map_txbuf(),
since it is responsible for setting the OWN bits on the descriptors, but does
not normally have direct access to the mbuf chain.

Tested by:
  Dejan Lesjak <dejan.lesjak at ijs.si>  alpha/<Intel 21143 10/100BaseTX>
  "Xin LI" <delphij at frontfree.net>    i386/<Macronix 98713 10/100BaseTX>
  Wiktor Niesiobedzki <bsd at w.evip.pl> i386/<3Com OfficeConnect 10/100B>

Reviewed by:	mux
2004-01-08 06:22:15 +00:00
..
alpha Comsetic tweaks: use PCPU_GET(cpumask) and CPU_ABSENT(). 2004-01-07 23:00:20 +00:00
amd64 Remove `static' prototype from header file. 2004-01-06 20:36:21 +00:00
arm
boot Allow one to specify the com port settings for boot0sio. 2004-01-06 18:46:35 +00:00
cam Move the ciss quirk to the right section, also update the comment 2003-12-08 06:29:38 +00:00
coda - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
compat Correct and simplify the implementation of RtlEqualUnicodeString(). 2004-01-07 20:31:51 +00:00
conf Remove the AUTO_EOI_2 option for PC-98 as it has never done anything anyway 2004-01-06 18:51:14 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r124120, 2004-01-04 06:35:01 +00:00
crypto avoid module name conflict with opencrypto/rijndael.c. 2003-11-12 04:22:37 +00:00
ddb
dev The transmit frame status is stored in the last transmit descriptor for the 2004-01-08 06:22:15 +00:00
fs Lock p->p_textvp before calling vn_fullpath() on it. Note the 2004-01-07 17:58:51 +00:00
geom Prevent withering of the provider we're orphaning from happening until 2003-12-23 11:37:05 +00:00
gnu Fixed a reference to a nonexistent variable in previous commit. Renaming 2003-11-05 11:56:58 +00:00
i4b Based on an excellent suggestion from tanimura@ define I4BPRI and use it 2003-11-10 14:20:34 +00:00
i386 Fix a long-standing bug that had been introduced in rev 1.24 with the 2004-01-07 10:12:59 +00:00
ia64 Make sigaltstack as per-threaded, because per-process sigaltstack state 2004-01-03 02:02:26 +00:00
isa Significantly reduce the "jitter" that is typical for PS/2 mice 2003-12-11 11:28:11 +00:00
isofs/cd9660
kern Add pid to the info printed in lockmgr_printinfo. This makes VFS 2004-01-06 04:34:13 +00:00
libkern Make msdosfs long filenames matching case insensitive again. 2003-12-08 08:32:20 +00:00
modules Use double quotes instead of single quotes for echos to build options 2003-12-29 09:15:48 +00:00
net Remove extraneous unlock. This fixes a panic seen when manipulating static 2004-01-07 23:42:21 +00:00
net80211 Sync with netbsd: 2003-12-28 06:57:28 +00:00
netatalk Eliminate a duplicate free when deleting an interface address. This 2003-11-28 04:19:41 +00:00
netatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netgraph o eliminate widespread on-stack mbuf use for bpf by introducing 2003-12-28 03:56:00 +00:00
netinet Enable the following TCP options by default to give it more exposure: 2004-01-06 23:29:46 +00:00
netinet6 When calculating the sequence number to use in an ip6fw reset, remember to 2003-12-25 23:39:44 +00:00
netipsec Push m_apply() and m_getptr() up into the colleciton of standard mbuf 2003-12-15 21:49:41 +00:00
netipx Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netkey don't touch after free. 2003-12-10 05:01:41 +00:00
netnatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netncp
netsmb Add support for SMB request signing, which prevents "man in the middle" 2004-01-02 22:38:42 +00:00
nfs University of Michigan's Citi NFSv4 kernel client code. 2003-11-14 20:54:10 +00:00
nfs4client This patch fixes two little portability (to !GCC compilers) problems: 2003-12-11 11:30:26 +00:00
nfsclient Use function pointers to remove the depenancy cross dependancy on nfs4 2003-11-22 02:21:49 +00:00
nfsserver Fix some becuase -> because typos. 2003-12-17 16:12:01 +00:00
opencrypto style(9) pass and type fixups. 2003-12-16 14:13:47 +00:00
pc98 Remove the AUTO_EOI_2 option for PC-98 as it has never done anything anyway 2004-01-06 18:51:14 +00:00
pccard - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
pci The transmit frame status is stored in the last transmit descriptor for the 2004-01-08 06:22:15 +00:00
posix4
powerpc Make sigaltstack as per-threaded, because per-process sigaltstack state 2004-01-03 02:02:26 +00:00
rpc Change the definition of NULL on ia64 (for LP64 compilations) from 2003-12-07 21:10:06 +00:00
security Switch TCP over to using the inpcb label when responding in timed 2003-12-17 14:55:11 +00:00
sparc64 Make sigaltstack as per-threaded, because per-process sigaltstack state 2004-01-03 02:02:26 +00:00
sys Properly ifdef support for vfs locking assertions based on DEBUG_VFS_LOCKS. 2004-01-05 18:04:02 +00:00
tools
ufs Avoid calling vprint on a vnode while holding its interlock mutex. 2004-01-04 04:08:34 +00:00
vm Don't bother clearing PG_ZERO in contigmalloc1(), kmem_alloc(), or 2004-01-06 20:52:55 +00:00
Makefile