[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

confused about PCI addresses...



Hello!

I'm getting more and more confused about PCI addresses and related
things. Documentation/IO-mapping does not help at these questions..
Maybe anyone has got a hint or a link?

- The base address of a PCI device which i read from the config space:
Is this a bus or a physical address? (I guess a bus address)

- Does ioremap() take a physical or a bus address as an argument? (In
other words: what kind of conversion do i have to make if i want to map
the PCI device into the process' memory space?)

- What type of address is used with out[bwl]()?

- And what type is it with write[bwl]()? What is the difference to
out()? (As far as i understand out() is an IO port access - that leads
to the next question)

- What is the difference between a memory mapped address and an IO port?
I never find any explanations, only that there are these two types of
access...

bye!

Norbert
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.surriel.com/kernelnewbies.shtml