Re: Enumerating PCI busses and pci_machdep code.
[email protected] (Peter Seebach) Fri, 03 Mar 2006 23:35:08 -0600
| Newsgroups | gmane.os.netbsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
In message <[email protected]>, "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