Commit c96bede6 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mackerras

[POWERPC] iSeries: hose->buid is always zero for iSeries

so remove a firmware feature test.
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent cb993029
...@@ -581,12 +581,8 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) ...@@ -581,12 +581,8 @@ 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)) struct pci_controller *hose = pci_bus_to_host(bus);
return 0; return hose->buid != 0;
else {
struct pci_controller *hose = pci_bus_to_host(bus);
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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment