Subject: Re: Enumerating PCI busses and pci_machdep code.
To: None <tech-ports@NetBSD.org>
From: Peter Seebach <seebs@plethora.net>
List: tech-ports
Date: 03/03/2006 23:35:08
In message <mtuacc6ojqg.fsf@contents-vnder-pressvre.mit.edu>, "Nathan J. Willia
ms" writes:
>              A   B   C   D
> idsel 17    26  27  28  29
> idsel 18    27  28  29  26
> idsel 19    28  29  26  27
>...

>So the mapping for "bus != 0" is just 26 + (((dev - 17) + swiz + pin) % 4).
>(Check my math. It's late at night...)

OH!

I bet that's precisely it, because that coincidentally gives me, I think,
the same value I was getting now.  I'll experiment with it sometime soon.

Thanks!  As always, your explanations are complete and informative.

-s