PCI slot number identification

  • Thread starter Thread starter Sergey Alekseev
  • Start date Start date
S

Sergey Alekseev

Dear Sirs,

I have the following question. I have two equal PCI cards. How can I get the
information about numbers of PCI slots, in which these cards are switched
in, using only driver facilities?

Best regards,

Sergey Alekseev
 
PCI bridge configuration include knowledge about slot/bus numbers.

"PCI bus" in general has several hardware buses connected through
PCI-PCI bridges.
Each hardware bus can have as many slots as bridge support ("present"
signal).
Every slot has hardrired "DevSel" signal used for device enumeration.
Driver of particular PCI device knows nothing about which slot is its
device in.
 
If the card has a world wide name, ask it for it. Other than that, physical
position in the perepheral slots may or may not have any commonality between
motherboards. Besides which, this subject has been discussed here ad
nauseum, with the general consensus that dependence on slot number is not
good.
 
Back
Top