freebsd-dev/sys
Bill Paul 318a72d7b0 Set the DC_TX_INTR_ALWAYS and DC_TX_STORENFWD flags for the Davicom
DM9100/DM9102 chips. Do not set DC_TX_ONE. The DC_TX_USE_TX_INTR flag
causes dc_encap() to set the 'interrupt on TX completion' bit only
once every 64 packets. This is an attempt to reduce the number
of interrupts generated by the chip. You're supposed to get a 'no more
TX buffers left' interrupt once you hit the last packet whether you
ask for one or not, however it seems the Davicom chip doesn't generate
this interrupt, or at least it doesn't generate it under the same
circumstances. The result is that if you transmit n packets, where
n is less than 64, and then wait 5 seconds, you'll get a watchdog
timeout whether you want one or not. The DC_TX_INTR_ALWAYS causes
dc_encap() to request an interrupt for every frame.

I'm still waiting on confirmation from a couple of users to see if this
fixes their problems with the Davicom DM9102 before I merge this into
-stable, but this fixed the problem for me in my own testing so I'm
willing to make the change to -current right away.
2000-10-25 23:46:31 +00:00
..
alpha - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
amd64 - Add atomic_cmpset_{acq_,rel_,}_long 2000-10-25 21:56:16 +00:00
boot Move the call to extend_heap() from main to start so that if our BSS 2000-10-25 23:36:01 +00:00
cam - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
coda Forward-declare struct mbuf so that this file is less self-insufficient 2000-10-05 11:58:22 +00:00
compat Bring cpuinfo closer to what it looks like in Linux 2.2. 2000-10-25 22:38:23 +00:00
compile
conf The USB scanner driver. To be used together with SANE. 2000-10-25 10:34:38 +00:00
contrib/dev Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
crypto Fix broken const'ness in declaration of sha1_loop(). 2000-10-09 18:49:14 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev Set the DC_TX_INTR_ALWAYS and DC_TX_STORENFWD flags for the Davicom 2000-10-25 23:46:31 +00:00
fs Rev 1.41 was committed from wrong diff, now do it right. 2000-10-22 16:15:12 +00:00
geom Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
gnu Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
i4b Submitted by: Hans Petter Selasky <hselasky@c2i.net> 2000-10-20 11:20:58 +00:00
i386 Bring cpuinfo closer to what it looks like in Linux 2.2. 2000-10-25 22:38:23 +00:00
ia64 - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
isa - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
isofs/cd9660 Blow away the v_specmountpoint define, replacing it with what it was 2000-10-09 17:31:39 +00:00
kern - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
libkern Fix compilation of profiled kernels by including <machine/lock.h> 2000-10-14 08:34:27 +00:00
miscfs Rev 1.41 was committed from wrong diff, now do it right. 2000-10-22 16:15:12 +00:00
modules The USB scanner driver. To be used together with SANE. 2000-10-25 10:34:38 +00:00
msdosfs Update stale comment. 2000-10-22 14:24:30 +00:00
net - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
netatalk Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netatm Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
netgraph Since neither archie nor I work at Whistle any more, change our email 2000-10-24 17:32:45 +00:00
netinet We now keep the ip_id field in network byte order all the 2000-10-25 10:56:41 +00:00
netinet6 be careful on mbuf overrun on ctlinput. 2000-10-23 07:11:01 +00:00
netipx Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netkey make sure we have IV that is random enough. memory allocator on 2000-08-28 08:24:46 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
netns Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
nfs Eliminate some bitrot (nonexisting member variable names). 2000-10-24 23:33:01 +00:00
nfsclient Eliminate some bitrot (nonexisting member variable names). 2000-10-24 23:33:01 +00:00
nfsserver Problem to avoid processes getting stuck in "vmopar". From Ian's 2000-10-24 10:13:36 +00:00
ntfs Blow away the v_specmountpoint define, replacing it with what it was 2000-10-09 17:31:39 +00:00
nwfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
pc98 Catch up to the new swi code. 2000-10-25 20:21:42 +00:00
pccard Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
pci Set the DC_TX_INTR_ALWAYS and DC_TX_STORENFWD flags for the Davicom 2000-10-25 23:46:31 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
rpc
sys - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs o Introduce new VOP_ACCESS() flag VADMIN, allowing file systems to perform 2000-10-19 07:53:59 +00:00
vm - Catch a machine/mutex.h -> sys/mutex.h I somehow missed. 2000-10-25 00:04:16 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00