Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: amarks@sarnoff.com, linux-kernel@vger.rutgers.edu, axp-list@redhat.com
Subject: Re: vremap and memcpy_to_fs in 2.2.x?
Date: Tue, 6 Apr 1999 20:26:25 -0700	[thread overview]
Message-ID: <19990406202625.C15066@twiddle.net> (raw)
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~


  reply	other threads:[~1999-04-07  3:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-31 18:15 vremap and memcpy_to_fs in 2.2.x? AARON MARKS
1999-04-07  3:26 ` Richard Henderson [this message]
1999-04-07 18:15   ` AARON MARKS
1999-04-07 20:07     ` Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox