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

Ivan Kokshaysky
2003-06-09T11:13:07Z

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.