From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 25511 invoked from network); 31 Mar 1999 18:30:21 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 31 Mar 1999 18:30:21 -0000 Received: from postoffice.sarnoff.com (postoffice.sarnoff.com [130.33.10.147]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA31433 for ; Wed, 31 Mar 1999 13:13:49 -0500 Received: from sarnoff.com ([130.33.14.232]) by postoffice.sarnoff.com (Netscape Messaging Server 3.5) with ESMTP id AAA5097; Wed, 31 Mar 1999 13:13:47 -0500 Message-ID: <37026639.86DCFD34@sarnoff.com> Date: Wed, 31 Mar 1999 13:15:21 -0500 From: "AARON MARKS" Reply-To: amarks@sarnoff.com Organization: Sarnoff Corporation X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: linux-kernel@vger.rutgers.edu, axp-list@redhat.com Subject: vremap and memcpy_to_fs in 2.2.x? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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