[Ilugc] pci slot mappings in Linux

  • From: balu.manyam@xxxxxxxxx (Balu manyam)
  • Date: Tue Mar 25 07:28:32 2008

right - i am looking to find a way how the device names are assigned - and
in what particular order the onbaord , pci nics are scanned in linux ....if
i have no physical access to the server and if someone tells me PCI slot 4
(labeled on the server) is connected to switch A....how can i figure out
which ethN  it is .....

thanks!


What could be the need for doing such a thing?

PCI has been a plug and play bus for years now. And newer versions viz
PCI-e and PCI-X are going to be even more easy.

Why do you want to manually figure out the PCI slot?

All that a driver needs in the PCI world are three things.

a) PCI device number
b) PCI function number
c) PCI bus number (Usually this is just 0)

Anyway to answer your question

#lspci -v -v |grep Ethernet

should get you what you want.

-Girish
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Other related posts: