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 Modify my copyright notice to allow the sequencer to be used with GPLed 1997-06-27 19:39:34 +00:00
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 Removed unused #includes. 1997-08-02 14:33:27 +00:00
cy_pci.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
cy_pcireg.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
dc21040reg.h Import Matt's if_de driver 970703 release. This (apparently) supports 1997-08-03 12:17:39 +00:00
ide_pci.c Upgrade of EIDE DMA support, Johns comments: 1997-09-04 18:49:53 +00:00
ide_pcireg.h Add support for busmaster DMA on some PCI IDE chipsets. 1997-07-29 12:57:25 +00:00
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 Removed unused #includes. 1997-08-02 14:33:27 +00:00
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 Removed unused #includes. 1997-08-02 14:33:27 +00:00
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 Add PCI LKM support. 1997-01-21 23:23:40 +00:00
pci.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
pcireg.h PCI_CLASS_MASS_STORAGE (under PCI_COMPAT) was used in a driver in LINT 1997-06-01 16:00:43 +00:00
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 Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
README.de-le Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
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 Rename DIAGNOSTIC to DMA_DIAGNOSTIC. 1996-12-18 11:35:12 +00:00
wdc_p.c Removed unused #includes. 1997-08-02 14:33:27 +00:00

$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/