Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Aug 2000 11:43:17 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Nick Sayer <nsayer@quack.kfu.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: ESS Solo driver almost there (was Re: US$100 prize for adding ESS Audiodrive support to pcm) 
Message-ID:  <200008021843.LAA01035@mass.osd.bsdi.com>
In-Reply-To: Your message of "Wed, 02 Aug 2000 01:22:05 PDT." <3987DA2D.6A2EB8FC@quack.kfu.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Does anyone know how one might place a restriction on a PCM driver's DMA
> buffer
> that it not cross a (physical) 64k boundary?

The 'boundary' argument to bus_dma_tag_create() exists for this purpose.
When you're setting up the tag before calling bus_dmamem_alloc() to 
actually allocate the memory, you can stipulate alignment and boundary 
constraints.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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