From owner-freebsd-hackers Mon Dec 18 12:15:15 2000 From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 18 12:15:13 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 517AE37B400 for ; Mon, 18 Dec 2000 12:15:11 -0800 (PST) Received: from harare-13.budapest.interware.hu ([195.70.50.13] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 1486gb-0000T1-00; Mon, 18 Dec 2000 21:15:06 +0100 Sender: julian@FreeBSD.ORG Message-ID: <3A3E701A.A104A940@elischer.org> Date: Mon, 18 Dec 2000 12:14:18 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Warner Losh Cc: Wes Peters , Devin Butterfield , hackers@FreeBSD.ORG Subject: Re: Writing Device Drivers References: <3A3E042F.7DEE0346@elischer.org> <3A3D513B.52737F48@wireless.net> <3A3D9D80.61F1EAFC@softweyr.com> <200012181732.KAA91834@harmony.village.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > In message <3A3E042F.7DEE0346@elischer.org> Julian Elischer writes: > : I have the pci/isa driver skeleton pretty up-to-date, but it doesn't > : have any DMA example code, nor does it have any sample code for > : pccard or cardbus . > > Aren't there two kinds of DMA that we need to worry about? Those that > are "isadma" where you have to program the DMA controller, and the > more conventional DMA where the device becomes the bus master and the > bytes just appear in host memory? > > Also, cardbus should be a 1 liner. I'll add that to your examples. > Do you want to review them, or can I just do this and any other tweaks > that might be necessary? just add them. I'll be as interested to see what it is as everyone else :-) > > Warner > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message