From owner-freebsd-hackers Mon Dec 18 9:32: 9 2000 From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 18 09:32:07 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id B438937B400 for ; Mon, 18 Dec 2000 09:32:06 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eBIHW5s08041; Mon, 18 Dec 2000 10:32:05 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA91834; Mon, 18 Dec 2000 10:32:04 -0700 (MST) Message-Id: <200012181732.KAA91834@harmony.village.org> To: Julian Elischer Subject: Re: Writing Device Drivers Cc: Wes Peters , Devin Butterfield , hackers@FreeBSD.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> Date: Mon, 18 Dec 2000 10:32:04 -0700 From: Warner Losh Sender: imp@harmony.village.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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