What is the difference between number and secondary in pci_bus?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux