linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What is the difference between number and secondary in pci_bus?
@ 2012-04-01  8:38 Richard Yang
  2012-04-02 23:30 ` Bjorn Helgaas
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Yang @ 2012-04-01  8:38 UTC (permalink / raw)
  To: linux-pci

All

In the structure of pci_bus.
There is number, primary, secondary and subordinate.

primary and subordinate are easy to understand, while the number and
secondary confused me. 

I think secondary means the current bus number.
Then what number stands for?

In pci_alloc_child_bus(), 
child->number = child->secondary = busnr;
So they are the same? 
Then we need two different field?

I search the git log while find these code is imported as the first
commit. So I don't see the history.

-- 
Richard Yang
Help you, Help me


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-03 15:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-01  8:38 What is the difference between number and secondary in pci_bus? Richard Yang
2012-04-02 23:30 ` Bjorn Helgaas
2012-04-03 15:17   ` Richard Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).