<div dir="ltr"><div><div>Hi,<br><br></div>Thank you for taking interest. I see no chance of that happening as I'm only two down stream ports of my pci switch. Upstream, I only use one port to connect the host pci bridge. Internally, it divides into multiple bridges. I'm thinking of walking downstream only _up_to_ the entry pci bridge of the switch and not any further.<br>
<br></div><div>Please see chart for clearer explanation of topology I'm working on.<br><br><a href="http://www.electronicproducts.com/images2/FAJH_PLX_3_Nov2008.gif">http://www.electronicproducts.com/images2/FAJH_PLX_3_Nov2008.gif</a><br>
</div><div><br><br></div>~amerei<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 17, 2014 at 12:47 PM, <span dir="ltr"><<a href="mailto:Valdis.Kletnieks@vt.edu" target="_blank">Valdis.Kletnieks@vt.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Thu, 17 Jul 2014 05:58:03 +0800, Amerei Acuna said:<br>
<br>
> I'm writing a custom PCI driver for a hobby endpoint. Due to some<br>
> "special", possibly unique, circumstance, I need to determine if two<br>
> devices form a pair. As I'm using a PCI switch to connect these two<br>
> devices, I'm thinking on the possibility of checking if the two devices<br>
> share a common pci-pci bridge (or finding the least common ancestor in a<br>
> directed graph).<br>
<br>
</div>What happens if your two devices and a totally unrelated PCI device<br>
are all three downstream of the same PCI bridge?<br>
<br>
</blockquote></div><br></div>