Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 5 Oct 2001 10:05:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 5 Oct 2001 10:05:08 -0400 Received: from smtp3.cern.ch ([137.138.131.164]:9900 "EHLO smtp3.cern.ch") by vger.kernel.org with ESMTP id ; Fri, 5 Oct 2001 10:05:01 -0400 To: Linux Bigot Cc: Kurt Ferreira , linux-kernel@vger.kernel.org Subject: Re: how to get virtual address from dma address In-Reply-To: <20011003214858.97073.qmail@web14807.mail.yahoo.com> From: Jes Sorensen Date: 05 Oct 2001 16:04:04 +0200 In-Reply-To: Linux Bigot's message of "Wed, 3 Oct 2001 14:48:58 -0700 (PDT)" Message-ID: Lines: 13 User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Linux" == Linux Bigot writes: Linux> oops! I am sorry. I did not meant "pci_unmap_single" Linux> pci_unmap_single. Linux> I meant to get a routine which does exactly opposite of what Linux> pci_map_single does, i.e., give me a virtual address for a dma Linux> address. Because it is cheaper for you to keep both addresses in the driver than it is to implement a database to keep track of it for you. Jes - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/