On 06-08-08 07:54, Rajat Jain wrote:
In the PCI addess (domain + PCI bus num + PCI Device num + function num)
of a PCI device, who decides the PCI device number assigned to a PCI
device?
- Is it hard wired for a particular PCI slot? (So that any PCI card
plugged into this slot will always have a particular PCI device number).
Yes, for a definition of "hard-wired" which if I'm not mistaken (which I
might be, but believe I remember reading that once) includes the
possibility for busses to change numbering depending on bridge detection
order.
But yes, the "dd" in the DDDD:bb:dd.f lspci -D output indeed signifies
the slot, not the card -- exchange two PCI cards in your system and see
them change numbering around as well.
-Or is it hardwired on the PCI card? (So that this card if plugged on
any slot in any machine will have the same PCI device number)?
No.
Rene.
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs