On Tue, 1 May 2001, Russell King wrote:
>
> Talking around this issue, is there any chance of getting the
> official use of the first parameter to ioremap documented in
> Documentation/IO-mapping.txt please? There appears to be
> confusion as to whether it is:
>
> a) PCI bus address
> b) CPU untranslated address
It's neither.
It's a cookie that you can do arithmetic off and pass on to the
readx/writex, and nothing more. You cannot make any assumptions at all
about what it means.
In particular, you can _not_ assume that it is a PCI bus address ("WHICH
bus?") and you can absolutely not assume that it is a CPU address (many
CPU's do not "memory map" PCI at all).
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- isa_read/write not available on ppc - solution su... mike_phillips
- Re: isa_read/write not available on ppc - so... Alan Cox
- Re: isa_read/write not available on ppc ... Brian Gerst
- Re: isa_read/write not available on ppc - so... Brian Gerst
- Re: isa_read/write not available on ppc - so... Geert Uytterhoeven
- Re: isa_read/write not available on ppc - so... Arnaldo Carvalho de Melo
- Re: isa_read/write not available on ppc - so... mike_phillips
- Re: isa_read/write not available on ppc ... Linus Torvalds
- Re: isa_read/write not available on ... Russell King
- Re: isa_read/write not available... Linus Torvalds
- Re: isa_read/write not avai... Russell King
- Re: isa_read/write not ... Linus Torvalds
- Re: isa_read/write ... Jonathan Lundell
- Re: isa_read/write not available on ... Paul Mackerras
- Re: isa_read/write not available... Benjamin Herrenschmidt
- Re: isa_read/write not available on ... Geert Uytterhoeven
- Re: isa_read/write not available on ppc - so... mike_phillips
- Re: isa_read/write not available on ppc - so... mike_phillips
- Re: isa_read/write not available on ppc ... Anton Blanchard

