Re: pci bus enumeration



"rafi" <katherrafi.i@xxxxxxxxx> wrote in
news:1153116460.192861.149280@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:

Hi all,

I want to know the PCI fundas
1. How the PCI Buses are enumerated while booting linux?
2. How it detects the Vendor ID,Device ID,etc., and make the device
structure for various cards?
3. What Happens if two or more same cards which are having same DEVICE
ID,VENDOR ID,and
SUB-SYSTEM ID connected to the slots.I mean to say,
Are they having same IRQs,same IRQ_FLAGS(SA_INTERRUPT/SA_SHIRQ)?
4.In the prev case, Is kernel allocate any different adderss space
for each (same kind of) cards ?
Please reply me ASAP
Thanks
Rafi.



You can't have two devices with the same PCI ID and device ID simply
because you can't plug two cards in the same PCI slot. The numbering
isn't done by linux, it's done by the bios and the pci controller.

--
(setq (chuck nil) car(chuck) )
.