Subject: Re: Need to know about implementation of DMA on MIPS
To: None <tech-kern@NetBSD.org>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: tech-kern
Date: 01/13/2004 12:00:38
--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 13, 2004 at 10:35:34AM +0100, Jochen Kunz wrote:
> On Mon, 12 Jan 2004 19:33:13 -0800
> "Viswanath" <viswamys@fastmail.fm> wrote:
>=20
> > For your previous mail suggesting for the bus_dma independent
> > framework for DMA to be used. I'm writing the DMA machine dependent
> > code for On-chip DMA for SIO(serial interface) on tx4937 board. Need
> > to have some tips as to how the implementation is done.
> The device specific part of DMA is done in the device driver, not
> bus_dma(9). bus_dma(9) provides only the infrastructure that a device
> driver needs to do the actual DMA transactions. Have a look at existing
> drivers and possibly the "NetBSD Device Driver Writing Guide". (See
> links in the documentation section on the NetBSD web site.)

Additionally, look at Jason Thorpe's paper about the bus_dma framework
design, e.g. in src/share/doc/papers/bus_dma in your source tree.

Regards,
	-is




--1yeeQ81UyVL57Vl7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBQAPP1DCn4om+4LhpAQEOFwf+OtQIaJjaZDoEvraDuO+Ms8Ta18bftDU4
wB443IEmoL5YQ97w8/n0/p1S6s0vNyNBhIhx69FilCv+H8kfN/qtPOthKu6lj/KG
SV/Ni8Q+DN71CmcZrIL/gaM30aj3ldjIykVGnpL1CiEmxZPs2YY2PyH9VrtFGxUs
TsFSrpVjuPsAmA88Zi2BJ8YqP0G41qS0M4wMrOfcJl3kLvqErB3cYFA56yVB2bl0
6QBqcgpTryW0elxFBUeVHcmgcb3YM0yPT0Y7T+BTafsPC9kLUFf5G7NhtCcG/Ov6
iemY0MKRAdrCMeDW0pXS9mYtcxFwfV0BjKw5a6CrKVFuNlvESDUWBA==
=6Jfu
-----END PGP SIGNATURE-----

--1yeeQ81UyVL57Vl7--