freebsd-skq/sys/pci
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
..
aic7870.c
brktree_reg.h
brooktree848.c
bt9xx.c
cy_pci.c
cy_pcireg.h
dc21040reg.h
ide_pci.c
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
if_en_pci.c
if_fpa.c
if_fxp.c
if_fxpreg.h
if_fxpvar.h
if_lnc_p.c
if_sr_p.c
if_vx_pci.c
locate.pl
meteor_reg.h
meteor.c
ncr.c
ncrreg.h
pci_compat.c
pci_ioctl.h
pci.c
pcireg.h
pcisupport.c
pcivar.h
README.bt848
README.de
README.de-le
scsiiom.c
tek390.c
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/