freebsd-skq/sys
Peter Wemm 28c412b0e9 malloc() the rx and tx descriptors seperately rather than as part of the
large (over 4KB) softc struct.  The descriptor array is accessed by
busmaster dma and must be physically contiguous in memory.  malloc() of
a block greater than a page is only virtually contiguous, and not
necessarily physically contigious.

contigmalloc() could do this, but that is a bit on the overkill side.

I'm not sure of the origins of the problem report and diagnosis, I learned
of the problem via mail forwarded from  Jim Shankland <jas@flyingfox.com>.

Jim said that Matt Thomas's workaround was to reduce the number of
transmit descriptors from 128 to 32, but I was concerned that it might
cost performance.  Anyway, this change is my fault, not Jim's. :-)

Reviewed by: davidg
1997-09-11 15:27:35 +00:00
..
alpha Always defines macros for PC-98 display. 1997-09-04 09:05:17 +00:00
amd64 Do not ever try to coredump adapter memory regions. 1997-09-10 12:31:40 +00:00
compat Moved include files which are independent of bs driver. 1997-08-28 09:23:57 +00:00
compile
conf Synchronize with sys/i386/conf/files.i386 revision 1.175. 1997-09-10 08:05:46 +00:00
ddb Minor hack to also allow for syscons's "interesting" arrow keys. 1997-08-17 21:21:50 +00:00
dev malloc() the rx and tx descriptors seperately rather than as part of the 1997-09-11 15:27:35 +00:00
fs Fix a type in a comment and remove some checks now done centrally. 1997-09-10 19:44:36 +00:00
geom Removed unused #includes. 1997-06-14 13:56:12 +00:00
gnu Remove some stuff from lookup which is now handled centrally. 1997-09-10 19:39:03 +00:00
i386 Do not ever try to coredump adapter memory regions. 1997-09-10 12:31:40 +00:00
isa Add a new compile option SC_HISTORY_SIZE to specify the history buffer 1997-09-04 23:01:06 +00:00
isofs/cd9660 This stuff is now done centrally. 1997-09-10 19:43:15 +00:00
kern 3 lines of code and updates to a number of comments. 1997-09-10 20:11:02 +00:00
libkern Removed unused #includes. 1997-08-02 14:33:27 +00:00
miscfs Removed yet more vestiges of config-time swap configuration and/or 1997-09-07 16:21:11 +00:00
modules Add example for IPFIREWALL_DEFAULT_TO_ACCEPT 1997-09-10 04:19:07 +00:00
msdosfs Fix a type in a comment and remove some checks now done centrally. 1997-09-10 19:44:36 +00:00
net Fix a typo that becomes apparent when compiling without COMPAT_443. 1997-09-07 11:09:22 +00:00
netatalk Removed unused #includes. 1997-09-07 08:30:24 +00:00
netinet Allow a compile-time override of the ipfw deny rule. For a 'firewall' 1997-09-10 03:07:14 +00:00
netipx Added used #include - don't depend on <sys/mbuf.h> including 1997-09-02 01:19:47 +00:00
netkey
netnatm Added used #include - don't depend on <sys/mbuf.h> including 1997-09-02 01:19:47 +00:00
netns Remove unneeded member nsp_head from struct nspcb. 1997-04-14 18:26:51 +00:00
nfs Don't repeat checks done at general level. 1997-09-10 21:27:40 +00:00
nfsclient Don't repeat checks done at general level. 1997-09-10 21:27:40 +00:00
nfsserver Remove a couple of stubborn NetBSD #if's. 1997-09-10 20:22:32 +00:00
pc98 Synchronize with sys/i386/isa/wd.c revision 1.137. 1997-09-10 16:34:00 +00:00
pccard Oops, unremoved used #include. 1997-07-21 16:55:28 +00:00
pci malloc() the rx and tx descriptors seperately rather than as part of the 1997-09-11 15:27:35 +00:00
powerpc/include Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rpc Resolve conflicts. 1997-05-28 04:45:15 +00:00
scsi Do not ever try to coredump adapter memory regions. 1997-09-10 12:31:40 +00:00
sys Amancio's latest in the Brooktree driver. 1997-09-09 06:32:32 +00:00
tools 3 lines of code and updates to a number of comments. 1997-09-10 20:11:02 +00:00
ufs Update the comment and remove checks now done centrally. 1997-09-10 19:47:37 +00:00
vm Removed yet more vestiges of config-time swap configuration and/or 1997-09-07 16:21:11 +00:00
Makefile Commit a long-forgotten tweak for building tags in /usr/src/sys. 1997-07-13 07:36:20 +00:00