From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15565 invoked from network); 7 Apr 1999 03:45:57 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 7 Apr 1999 03:45:57 -0000 Received: from piglet.twiddle.net (rth@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id XAA20804 for ; Tue, 6 Apr 1999 23:26:29 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id UAA15205; Tue, 6 Apr 1999 20:26:25 -0700 Message-ID: <19990406202625.C15066@twiddle.net> Date: Tue, 6 Apr 1999 20:26:25 -0700 From: Richard Henderson To: amarks@sarnoff.com, linux-kernel@vger.rutgers.edu, axp-list@redhat.com Subject: Re: vremap and memcpy_to_fs in 2.2.x? References: <37026639.86DCFD34@sarnoff.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <37026639.86DCFD34@sarnoff.com>; from AARON MARKS on Wed, Mar 31, 1999 at 01:15:21PM -0500 On Wed, Mar 31, 1999 at 01:15:21PM -0500, AARON MARKS wrote: > I'm porting a PCI card driver from 2.0.x to 2.2.x -- on an Alpha -- and > I have two questions: > > What are the equivalent functions for vremap() and memcpy_to_fs(). > >From what I can find: > > vremap() -> ioremap() This is correct. > memcpy_to_fs -> copy_to_user() This is also correct. > I tried this also, but I get a virt page fault. Um.. You weren't by chance trying to use the output of ioremap with this were you? Or were these two questions unrelated? r~