Date: Tue, 20 Jul 1999 13:58:54 -0600 (MDT) From: "Justin T. Gibbs" <gibbs@narnia.plutotech.com> To: Wilko Bulte <wilko@yedi.iaf.nl> Cc: hackers@FreeBSD.org Subject: Re: any docs on how to use bus_dma_tag_create e.a. ? Message-ID: <199907201958.NAA07710@narnia.plutotech.com> In-Reply-To: <199907201904.VAA03203@yedi.iaf.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <199907201904.VAA03203@yedi.iaf.nl> you wrote: > I'm currently trying to hack a driver together for a PCI card that uses > shared memory to communicate to the host. > > If I'm not completely offtrack I need to use (under newbus/-current) > bus_dma_tag_create, bus_dma_alloc etc to get access to the cards shared > memory. bus_dma related stuff is only required if the device has a DMA engine you wish to use. To access the shared memory on the card (e.g. map it into the kernel's virtual address space), you will need to use the resource manager and bus space. -- Justin 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?199907201958.NAA07710>