Re: [PATCH v6 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 11:48:55 +, Liviu Dudau wrote: > Make it easier to discover the domain number of a bus by storing > the number in pci_host_bridge for the root bus. Several architectures > have their own way of storing this information, so it makes sense > to try to unify the code. While at

[PATCH v6 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-03-05 Thread Liviu Dudau
Make it easier to discover the domain number of a bus by storing the number in pci_host_bridge for the root bus. Several architectures have their own way of storing this information, so it makes sense to try to unify the code. While at this, add a new function that creates a root bus in a given dom