diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-12-20 23:50:09 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-01-16 22:57:05 -0500 |
commit | 885b86e4e7ccc360f8ce4d7fb10dfdfb6e3c8650 (patch) | |
tree | 306b7438cdce8479397ee1ae8c9f244a07f9d9f7 /include | |
parent | b6ed42a794e1ca51fb46ff2bdc562315c46dd9a8 (diff) |
[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>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/pci-bridge.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h index 29324047779d..a6ea49eb680b 100644 --- a/include/asm-powerpc/pci-bridge.h +++ b/include/asm-powerpc/pci-bridge.h | |||
@@ -165,7 +165,6 @@ struct iommu_table; | |||
165 | 165 | ||
166 | struct pci_dn { | 166 | struct pci_dn { |
167 | int busno; /* pci bus number */ | 167 | int busno; /* pci bus number */ |
168 | int bussubno; /* pci subordinate bus number */ | ||
169 | int devfn; /* pci device and function number */ | 168 | int devfn; /* pci device and function number */ |
170 | 169 | ||
171 | struct pci_controller *phb; /* for pci devices */ | 170 | struct pci_controller *phb; /* for pci devices */ |