Re: [UPDATE] 2.4.10-pre2 PCI64, API changes README

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 31 Aug 2001 15:12:05 +0100 (BST)


> What addresses are in dev->resource? Physical? Bus address? Are they
> unique?

Basically its an arbitary cookie suitable only for passing to ioremap. In
practice its likely to be a bus address but not always since it may be a
combined ident (controller id<<lots|offset) or even a pointer to a struct
private to the platform

Currently I think everyone mainstrem except the pa-risc has either a bus
address or physical address in the registers. For pa the I/O port map used
to be (and might still be) a controller/offset pair.

Alan
-
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/