From owner-freebsd-hackers Tue Apr 11 21:58: 8 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 05D4E37BBCA; Tue, 11 Apr 2000 21:57:59 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id WAA26574; Tue, 11 Apr 2000 22:57:54 -0600 (MDT) (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 WAA35326; Tue, 11 Apr 2000 22:57:42 -0600 (MDT) Message-Id: <200004120457.WAA35326@harmony.village.org> To: Mike Smith Subject: Re: PCI DMA Questions Cc: freebsd-hackers@freebsd.org In-reply-to: Your message of "Tue, 11 Apr 2000 21:44:10 PDT." <200004120444.VAA00544@mass.cdrom.com> References: <200004120444.VAA00544@mass.cdrom.com> Date: Tue, 11 Apr 2000 22:57:42 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200004120444.VAA00544@mass.cdrom.com> Mike Smith writes: : Make sure that the busmaster bit is set in the PCI command register: Good advice. However, that wasn't my problem :-(. : Not to bounce too much, but you may find the examples in the amr and mlx : drivers easier to follow (maybe not, too). I forgot who I stole them : from though - probably Jonathan's ida code. This isn't your problem : though. OK. I'll take a look. The ahc driver makes very sophisticated use of dma, so maybe I botched something there. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message