Re: [patch] pcibus_to_node() addition to topology infrastructure

Matthew Dobson (colpatch@us.ibm.com)
Wed, 30 Oct 2002 17:14:43 -0800


Jesse Barnes wrote:
> On Wed, Oct 30, 2002 at 04:24:13PM -0800, Matthew Dobson wrote:
>
>>Ah, yes... The p-bricks, i-bricks, etc. right?
>
>
> Yup.
>
>
>>Yes, I suppose a round-robin return for the SGI version of the macro
>>would work... Certainly not ideal, but it would work. The problem is
>
>
> Can you think of any better way to do it? Perhaps make pcibus_to_node
> return a list of nodes?

Yeah... I was thinking about having it return a bitmask... It makes it
a bit of a pain to iterate through the mask, only to find that in most
cases there is only one bit set in the mask. :(

It's a bit late in the day... I'll mull this over and see if I can come
up with something good.

Cheers!

-Matt

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