[POWERPC] iSeries: hose->buid is always zero for iSeries
so remove a firmware feature test. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
cb99302909
commit
c96bede657
@@ -581,13 +581,9 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
|
|||||||
/* Decide whether to display the domain number in /proc */
|
/* Decide whether to display the domain number in /proc */
|
||||||
int pci_proc_domain(struct pci_bus *bus)
|
int pci_proc_domain(struct pci_bus *bus)
|
||||||
{
|
{
|
||||||
if (firmware_has_feature(FW_FEATURE_ISERIES))
|
|
||||||
return 0;
|
|
||||||
else {
|
|
||||||
struct pci_controller *hose = pci_bus_to_host(bus);
|
struct pci_controller *hose = pci_bus_to_host(bus);
|
||||||
return hose->buid != 0;
|
return hose->buid != 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void __devinit pci_process_bridge_OF_ranges(struct pci_controller *hose,
|
void __devinit pci_process_bridge_OF_ranges(struct pci_controller *hose,
|
||||||
struct device_node *dev, int prim)
|
struct device_node *dev, int prim)
|
||||||
|
Reference in New Issue
Block a user