Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "AARON MARKS" <amarks@sarnoff.com>
To: linux-kernel@vger.rutgers.edu, axp-list@redhat.com
Subject: vremap and memcpy_to_fs in 2.2.x?
Date: Wed, 31 Mar 1999 13:15:21 -0500	[thread overview]
Message-ID: <37026639.86DCFD34@sarnoff.com> (raw)

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() However, on an alpha kernel, ioremap just
returns                       the passed-in address. I've tried
phys_to_virt,                       but I'm not sure that it gives me
what vremap did.

memcpy_to_fs -> copy_to_user() I tried this also, but I get a virt
page                                fault.

Thanks,
-A.

-- 
Aaron J. Marks		       Communications and Computing Systems Lab
Assoc. Member Tech Staff       Advanced Networks and Computation Group
amarks@sarnoff.com	       Sarnoff Corporation


             reply	other threads:[~1999-03-31 18:30 UTC|newest]

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