freebsd-skq/sys/pci
peter 4590e6a960 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
..
aic7870.c
brktree_reg.h Amancio's latest in the Brooktree driver. 1997-09-09 06:32:32 +00:00
brooktree848.c Amancio's latest in the Brooktree driver. 1997-09-09 06:32:32 +00:00
bt9xx.c
cy_pci.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
cy_pcireg.h
dc21040reg.h
ide_pci.c Upgrade of EIDE DMA support, Johns comments: 1997-09-04 18:49:53 +00:00
ide_pcireg.h
if_de.c malloc() the rx and tx descriptors seperately rather than as part of the 1997-09-11 15:27:35 +00:00
if_devar.h malloc() the rx and tx descriptors seperately rather than as part of the 1997-09-11 15:27:35 +00:00
if_ed_p.c Add the NetVin 5000 series NE2000 PCI card vendor and device IDs. 1997-08-14 07:53:07 +00:00
if_en_pci.c Added used #include - don't depend on <sys/mbuf.h> including 1997-09-02 01:19:47 +00:00
if_fpa.c
if_fxp.c Changes to support NetBSD and the new ifmedia extensions. 1997-09-05 10:23:58 +00:00
if_fxpreg.h Changes to support NetBSD and the new ifmedia extensions. 1997-09-05 10:23:58 +00:00
if_fxpvar.h Changes to support NetBSD and the new ifmedia extensions. 1997-09-05 10:23:58 +00:00
if_lnc_p.c
if_sr_p.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
if_vx_pci.c Yank the casts. 1997-08-21 08:42:59 +00:00
locate.pl
meteor_reg.h
meteor.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
ncr.c Treat "reservation conflict" status similar to "busy". 1997-09-10 20:46:11 +00:00
ncrreg.h Prepare for 64bit programming environment (e.g. Alpha): 1997-08-31 19:42:31 +00:00
pci_compat.c Yank the casts. 1997-08-21 08:42:59 +00:00
pci_ioctl.h
pci.c
pcireg.h
pcisupport.c SMP Natoma motherboards cannot know if you are booting a UP or SMP OS. This 1997-08-16 07:18:51 +00:00
pcivar.h Reorder function decls alphabetically. 1997-08-21 08:31:41 +00:00
README.bt848 Amancio's latest in the Brooktree driver. 1997-09-09 06:32:32 +00:00
README.de
README.de-le
scsiiom.c Scsi RESERVATION CONFLICT and BUSY support for Tekram scsi cards. 1997-08-30 05:49:20 +00:00
tek390.c Fix problem in the DC390_DefaultEEprom subroutine, which could lead 1997-08-11 08:49:08 +00:00
tek390.h
wdc_p.c

$Id$

----------------

The enclosed drivers should be considered beta-test software.  These
drivers are in no way supported by Digital Equipment.  See the
disclaimers in the sources for more information.  Please be aware that
Digital does not employee me to write drivers for FreeBSD.

This kit contains one driver:

	de	DEC DE435 PCI NIC or compatible

See README.de for information and installation instruction specific to this
driver.

Could you please send me the startup messages in the boot
long along with the type of your PC once the driver configures?  

If you have any problems, comments, suggestions, rant or raves, don't
hesitate to send me mail @ thomas@lkg.dec.com.

Lastly, if you change or modify the code, I want context diffs of your
changes.  I want this to the canonical DEC EtherWORKS driver kit for
FreeBSD, NetBSD, BSD/386, and any other BSD based O/S.  Please make
sure your diffs are approriate conditionalized.

Thanks,
Matt Thomas
--
Mail:	thomas@lkg.dec.com
URL:	http://ftp.digital.com/~thomas/