*BSD News Article 83061


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!news.texoma.com!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: DMA
Date: 17 Nov 1996 08:52:11 GMT
Organization: Private BSD site, Dresden
Lines: 18
Message-ID: <56mjnr$b4a@uriah.heep.sax.de>
References: <328C8861.48A3@mercurio.uc.pt>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Filipe Araujo <filipius@mercurio.uc.pt> wrote:

> 	I'm writing a device driver for a network device on FreeBSD,
> but I don't know how to program DMA.

What DMA?  ISA motherboard DMA?  See the isa_dma_* functions in
sys/i386/isa/isa.c.

Busmaster DMA is more tricky.  I don't think there's a description
available yet...  Perhaps you should bug the developers to write one,
and volunteer to contribute man pages for the PCI DMA handling. :)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)