lkml.org 
[lkml]   [1999]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: vremap and memcpy_to_fs in 2.2.x?
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~

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.049 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site