* Who decides PCI device number?
@ 2008-08-06 5:54 Rajat Jain
2008-08-06 17:49 ` Rene Herman
0 siblings, 1 reply; 2+ messages in thread
From: Rajat Jain @ 2008-08-06 5:54 UTC (permalink / raw)
To: linux-newbie, kernelnewbies
Hi,
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).
-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)?
Thanks,
Rajat
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Who decides PCI device number?
2008-08-06 5:54 Who decides PCI device number? Rajat Jain
@ 2008-08-06 17:49 ` Rene Herman
0 siblings, 0 replies; 2+ messages in thread
From: Rene Herman @ 2008-08-06 17:49 UTC (permalink / raw)
To: Rajat Jain; +Cc: linux-newbie, kernelnewbies
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-06 17:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-06 5:54 Who decides PCI device number? Rajat Jain
2008-08-06 17:49 ` Rene Herman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox