From owner-freebsd-current Fri Sep 25 18:04:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA23818 for freebsd-current-outgoing; Fri, 25 Sep 1998 18:04:45 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA23812 for ; Fri, 25 Sep 1998 18:04:42 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id SAA02665; Fri, 25 Sep 1998 18:10:19 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199809260110.SAA02665@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Joachim Kuebart cc: freebsd-current@FreeBSD.ORG (FreeBSD Current) Subject: Re: PCI DMA interface documentation In-reply-to: Your message of "Sat, 26 Sep 1998 02:27:21 +0200." <199809260027.CAA00298@yacht.domestic.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 25 Sep 1998 18:10:19 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I'm trying to write a device driver that utilizes DMA transfers > to/from a PCI card. Does any documentation exist (apart from > /sys/pci/*.c) that tells me in what order I have to call which > functions in order to get things set up properly? I looked a lot > but somehow I must have missed it :-) DMA to/from PCI cards is handled by the card itself, so you will have to look at the documentation for the card. There are other lessons to learn as well, but that's where to start. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message