relationship between eth and pci device

vu pham vu at sivell.com
Mon Oct 13 10:34:35 PDT 2008


I am looking for which PCI device an ethernet device is. Starting with 
lspic, I have

04:00.0 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit 
Ethernet Controller (Copper) (rev 01)
04:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit 
Ethernet Controller (Copper) (rev 01)
0b:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet 
Controller (rev 06)
0b:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet 
Controller (rev 06)


Then I compare with dmesg,
0000:02:02.0: eth0: (PCI Express:2.5GB/s:Width x4) 00:1e:68:2f:59:4a
0000:02:02.0: eth0: Intel(R) PRO/1000 Network Connection
0000:02:02.0: eth0: MAC: 3, PHY: 5, PBA No: ffffff-0ff
0000:02:02.0: eth0: Link is Up 1000 Mbps Full Duplex, Flow Control: RX

Go back to lspci and find out 02:02 is the
02:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express 
Downstream Port E3 (rev 01)


How do you find it ?

Thanks,

Vu





More information about the Linux-users mailing list