Re: downstream pci walk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 17 Jul 2014 05:58:03 +0800, Amerei Acuna said:

> I'm writing a custom PCI driver for a hobby endpoint. Due to some
> "special", possibly unique, circumstance, I need to determine if two
> devices form a pair. As I'm using a PCI switch to connect these two
> devices, I'm thinking on the possibility of checking if the two devices
> share a common pci-pci bridge (or finding the least common ancestor in a
> directed graph).

What happens if your two devices and a totally unrelated PCI device
are all three downstream of the same PCI bridge?

Attachment: pgpVTmtejEybm.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux