Subject: Re: bus_dmamap
To: Dante Profeta <dante@mclink.it>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 06/18/1998 16:51:51
On Tue, 16 Jun 1998 21:29:32 +0200 
 Dante Profeta <dante@mclink.it> wrote:

 > Hi folks,
 > 
 > I'm still trying to write a driver...
 > 
 > I need to know what this functions do and ...why ;-)
 > 
 > bus_dmamem_alloc();
 > bus_dmamem_map();
 > bus_dmamap_create();
 > bus_dmamap_load();
 > 
 > Could you please describe them briefly?

The bus_dma(9) manual page describes them.  Example usages can be found
in the bha driver (sys/dev/ic/bha.c).

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 428 6939