From owner-freebsd-arch Wed Feb 13 10:48:35 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mass.dis.org (dhcp45-21.dis.org [216.240.45.21]) by hub.freebsd.org (Postfix) with ESMTP id EB34337B43A for ; Wed, 13 Feb 2002 10:48:10 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.6) with ESMTP id g1DIlwg01147; Wed, 13 Feb 2002 10:47:59 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200202131847.g1DIlwg01147@mass.dis.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "mike varga" Cc: "Steve Kargl" , freebsd-arch@freebsd.org Subject: Re: bus_dma_load_uio() function In-reply-to: Your message of "Tue, 12 Feb 2002 17:33:37 PST." <000701c1b42e$7835eda0$b210a8c0@netscreen5> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Feb 2002 10:47:58 -0800 From: Michael Smith Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Yes I did, but thank you > for replying. > > My question essentially > boils down to,"How do you > map and lock user pages (buffers) > for use in a driver that wants > to do a DMA directly > from/to them. > > It removes unnecessary > copies. Typically, you let the kernel do this for you, via the physio interface. -- To announce that there must be no criticism of the president or that we are to stand by the president right or wrong is not only unpatriotic and servile, but is morally treasonable to the American public. - Theodore Roosvelt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message