Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: axp-list@redhat.com
Subject: Re: Voodoo2 Status
Date: Tue, 11 Apr 2000 12:15:19 -0700	[thread overview]
Message-ID: <20000411121519.C14695@twiddle.net> (raw)
In-Reply-To: <Pine.OSF.3.96.1000331085729.15478B-100000@perf.zko.dec.com>

On Fri, Mar 31, 2000 at 09:09:57AM -0500, Phillip Ezolt wrote:
> 	Given a PCI base address of a framebuffer (say 0x9003000), 
> 	what is the right way to translate that into something that 
> 	remap_page_range can understand?
> 
> 	__pa(ADDR + dense_mem(ADDR))

That works.  Though some will tell you __pa is deprecated in 
favour of virt_to_phys.



r~


      parent reply	other threads:[~2000-04-11 19:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-31 14:09 Voodoo2 Status Phillip Ezolt
2000-03-31 14:19 ` Dr. David Gilbert
2000-03-31 14:43   ` Phillip Ezolt
2000-04-11 19:15 ` Richard Henderson [this message]
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