diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-12-10 19:03:48 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-10 21:42:34 -0500 |
commit | c96bede657510cfb171c0fd86fc710582a1c5a5f (patch) | |
tree | 4ee10904b73336dbde6771d0599f5143dd35d1ac | |
parent | cb993029094ed61f286793819d3aaa1deea5b252 (diff) |
[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>
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index 69364f3dc5c6..7e74aa2bfbaa 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c | |||
@@ -581,12 +581,8 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) | |||
581 | /* Decide whether to display the domain number in /proc */ | 581 | /* Decide whether to display the domain number in /proc */ |
582 | int pci_proc_domain(struct pci_bus *bus) | 582 | int pci_proc_domain(struct pci_bus *bus) |
583 | { | 583 | { |
584 | if (firmware_has_feature(FW_FEATURE_ISERIES)) | 584 | struct pci_controller *hose = pci_bus_to_host(bus); |
585 | return 0; | 585 | return hose->buid != 0; |
586 | else { | ||
587 | struct pci_controller *hose = pci_bus_to_host(bus); | ||
588 | return hose->buid != 0; | ||
589 | } | ||
590 | } | 586 | } |
591 | 587 | ||
592 | void __devinit pci_process_bridge_OF_ranges(struct pci_controller *hose, | 588 | void __devinit pci_process_bridge_OF_ranges(struct pci_controller *hose, |