mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
[POWERPC] iSeries: eliminate pci_dn bussubno
xlate_iomm_address() really wants the ds_addr to pass to the HV, so store that value (instead of the BAR number) when we allocate the device bars. This is not a fast path, so we can look up the device_node property there instead of using the bussubno field of the pci_dn. The other user of iseries_ds_addr() was already scanning the device tree, so looking up a property will not slow it down any more. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
b6ed42a794
commit
885b86e4e7
3 changed files with 7 additions and 11 deletions
|
|
@ -165,7 +165,6 @@ struct iommu_table;
|
|||
|
||||
struct pci_dn {
|
||||
int busno; /* pci bus number */
|
||||
int bussubno; /* pci subordinate bus number */
|
||||
int devfn; /* pci device and function number */
|
||||
|
||||
struct pci_controller *phb; /* for pci devices */
|
||||
|
|
|
|||
Loading…
Reference in a new issue