Subject: Re: LANCE (Am7990) DMA
To: <>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-net
Date: 10/06/1998 17:50:09
On Tue, 06 Oct 1998 17:38:57 -0700 
 Jason Thorpe <thorpej@nas.nasa.gov> wrote:

 > On Tue, 06 Oct 1998 20:31:04 -0400 
 >  "Michael C. Richardson" <mcr@sandelman.ottawa.on.ca> wrote:
 > 
 >  >   Two things:
 >  > 	1. I may be in a position to change this as paid work.
 >  > 	2. Are there other chipsets that do the DMA to mbufs in a 
 >  > 	MI compatible way?
 > 
 > Yes, there are... BUT... in the LANCE case, you have to handle BOTH:
 > 
 > 	(a) DMA directly to mbufs

FWIW... I just looked again... turns out that Ragge's "ln" driver for
the VAXstation does NOT DMA into mbufs...  I guess all he did was fix
the initialization ordering that was apparently wrong for DEC LANCE
implementations before (and, of course, the inlining of the register
access).

 > 
 > 	(b) DMA into either on-board (e.g. DEPCA, TURBOchannel, etc.) or
 > 	    reserved memory (e.g. NE2100, PCnet-ISA, IOASIC) and then
 > 	    copy into mbufs.
 > 
 > "Fun fun!"
 > 
 > Jason R. Thorpe                                       thorpej@nas.nasa.gov
 > NASA Ames Research Center                            Home: +1 408 866 1912
 > NAS: M/S 258-5                                       Work: +1 650 604 0935
 > Moffett Field, CA 94035                             Pager: +1 650 940 5942

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942