Re: [PATCH] [3/3] PCI segment support

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Mon, 9 Jun 2003 15:26:16 +0400


On Mon, Jun 09, 2003 at 12:17:39PM +0100, Matthew Wilcox wrote:
> hmm, yes, well. There's a certain amount of sloppiness allowed with
> it being a macro, in that bus->sysdata and dev->sysdata have the same
> value so it works both ways.

Well, it's true for many architectures, but not for all.
IIRC, bus->sysdata != dev->sysdata on sparc and parisc.

> Of course, this prohibits any architecture
> from implementing it as a function, so we really should make up our minds
> which it is to be. It sounds like bus is more generally useful than dev,
> so I'll make that explicit.

Great.

Ivan.
-
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/