From: Hein Roehrig <roehrig@mpi-sb.mpg.de>
Subject: PCI mapping question
Date: Fri, 2 May 1997 00:08:24 +0200 (MET DST) [thread overview]
Message-ID: <199705012208.AAA01982@batman.ag1.mpi-sb.mpg.de> (raw)
Hi all,
I got rather confused trying to understand how I access PCI memory
from kernel resp. user mode.
Say, I have a 32-bit PCI address. How do I get the corresponding
physical address that I can use for ioremap resp. mmap on /dev/mem ?
For the LCA, bus_to_virt substracts 1G from the bus address -- thats
weird, if it is meant to translate PCI addresses to virtual addresses,
esp. since bios32.c layouts the PCI bus to start at 16M... Obviously,
I must be missing something!?
TIA,
Hein
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-05-01 22:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-01 22:08 Hein Roehrig [this message]
1997-05-01 15:16 ` PCI mapping question jestabro
[not found] <199705020016.UAA00790@alpha0.estabrook.org>
1997-05-02 7:04 ` Harald Koenig
1997-05-02 18:17 ` Nikita Schmidt
-- strict thread matches above, loose matches on Subject: below --
1997-05-02 8:18 Kari Davidsson
[not found] <19970502090409.14032@tat.physik.uni-tuebingen.de>
1997-05-02 13:55 ` jestabro
1997-05-02 14:18 Paul Anderson
[not found] <3369F8E8.2781@agapesystems.com>
1997-05-02 14:22 ` Philip Blundell
1997-05-02 14:23 Paul Anderson
[not found] <Pine.SOL.3.96.970502152151.28130b-100000@hammer.thor.cam.ac.uk>
1997-05-02 14:35 ` Michal Jaegermann
1997-05-02 14:52 Tim Miller
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