Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2003 16:41:03 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Scott Long <scott_long@btc.adaptec.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: API change for bus_dma
Message-ID:  <16124.43999.333761.397624@grasshopper.cs.duke.edu>
In-Reply-To: <3EFC9F2D.6020908@btc.adaptec.com>
References:  <3EF3C12F.9060303@btc.adaptec.com> <16124.39930.142492.356163@grasshopper.cs.duke.edu> <3EFC9F2D.6020908@btc.adaptec.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Scott Long writes:
 > 
 > As you hinted below, BUS_DMA_NOWAIT does what you want.  It will return
 > ENOMEM to the caller if the bounce buffers cannot be pre-allocated
 > during bus_dmamap_load().

OK, thanks.  I looks like sparc64 also returns ENOMEM if it runs out of
sgmap space..

One more question: What's the FreeBSD equivalent of Solaris'
DDI_DMA_CONSISTENT and DDI_DMA_STREAMING?

Thanks,

Drew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16124.43999.333761.397624>