lkml.org 
[lkml]   [2002]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] pcibus_to_node() addition to topology infrastructure
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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.021 / U:2.860 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site