Messages in this thread | | | From | Christian Gmeiner <> | Date | Thu, 15 Dec 2011 10:41:14 +0100 | Subject | PCI(e) enumeration |
| |
Hi all,
I maintain a debian based linux RFS in my company and my college does the same for windows. Now we run into a problem that windows and linux use a different network interface as eth0. In our target system there are two identical NICs installed.
So I am now looking to find out, how linux does the PCI enumeration and in which order the PCI driver gets called to do the initialization. Can somebody tell me if a depth-first search or a breadth-first search is done on the PCI bus.
For instance look at this lspci output:
00:01.0 Host bridge: Advanced Micro Devices [AMD] CS5536 [Geode companion] Host Bridge (rev 33) 00:01.1 VGA compatible controller: Advanced Micro Devices [AMD] Geode LX Video 00:01.2 Entertainment encryption device: Advanced Micro Devices [AMD] Geode LX AES Security Block 00:04.0 Ethernet controller: Intel Corporation 8255xER/82551IT Fast Ethernet Controller (rev 10) 00:0f.0 ISA bridge: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA (rev 03) 00:0f.2 IDE interface: Advanced Micro Devices [AMD] CS5536 [Geode companion] IDE (rev 01) 00:0f.3 Multimedia audio controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] Audio (rev 01) 00:0f.4 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC (rev 02) 00:0f.5 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC (rev 02) 00:0f.7 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] UOC (rev 02)
How will linux does the enumeration?
thanks -- Christian Gmeiner, MSc
| |