Subject: Re: bus_dma_tag_create() ?
To: Dante Profeta <dante@mclink.it>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 06/11/1998 14:56:50
On Thu, 11 Jun 1998 20:27:30 +0200 
 Dante Profeta <dante@mclink.it> wrote:

 > Does exists an ecquivalent NetBSD function of the bus_dma_tag_create()
 > FreeBSD function?

No.. this was one of the gratuitous changes FreeBSD made to the bus_dma
interface.

In NetBSD, the DMA tag is passed down the autoconfiguration tree.  For
an example of how to get this information, I'd suggest looking at
sys/dev/pci/bha_pci.c ... it shows how to get the DMA tags, and also
demonstrates the PCI functions you asked about earlier.

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