Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2000 10:32:04 -0700
From:      Warner Losh <imp@village.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        Wes Peters <wes@softweyr.com>, Devin Butterfield <dbutter@wireless.net>, hackers@FreeBSD.ORG
Subject:   Re: Writing Device Drivers 
Message-ID:  <200012181732.KAA91834@harmony.village.org>
In-Reply-To: Your message of "Mon, 18 Dec 2000 04:33:51 PST." <3A3E042F.7DEE0346@elischer.org> 
References:  <3A3E042F.7DEE0346@elischer.org>  <3A3D513B.52737F48@wireless.net> <3A3D9D80.61F1EAFC@softweyr.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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?

Warner


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?200012181732.KAA91834>