Results 1 to 3 of 3
Hi All,
I have queries related to pci device. I am having a pmc card in which i have a pci-local bridge.In local side of pci,cpld and controller device is ...
- 10-17-2011 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 21
how Pci Scanning is done
Hi All,
I have queries related to pci device. I am having a pmc card in which i have a pci-local bridge.In local side of pci,cpld and controller device is connected.
while u-boot loads, pci automatically allocates the address to pci-local bridge and also to controller which is connected locally to bus.
I am sure its because of auto config i am getting address, but i want to know how exactly pci scan the bus and fetch the device details and allocate address to it.
- 10-18-2011 #2Just Joined!
- Join Date
- Sep 2007
- Posts
- 51
PCI Bus scan
Try this command
I think that will do it for you.Code:lspci -vvv or lspci -v
If not, let me know.
Tdsan
- 10-19-2011 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,971
I think he/she was asking how the system scans the bus for PCI addresses. AFAIK, this is buried deep in the kernel when the system starts up, and is intimately connected with the BIOS boot code. IE, I'm clueless! My suggestion is to look at how the kernel works on boot up to determine exactly how. Most of the universe (myself included) don't need to know this stuff, even when we are writing kernel drivers. We can "safely" assume that by the time our code is called, the system already knows about what hardware is available.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
