Skip to content

Commit

Permalink
[POWERPC] iSeries: hose->buid is always zero for iSeries
Browse files Browse the repository at this point in the history
so remove a firmware feature test.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Dec 11, 2007
1 parent cb99302 commit c96bede
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions arch/powerpc/kernel/pci_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,12 +581,8 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
/* Decide whether to display the domain number in /proc */
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);
return hose->buid != 0;
}
struct pci_controller *hose = pci_bus_to_host(bus);
return hose->buid != 0;
}

void __devinit pci_process_bridge_OF_ranges(struct pci_controller *hose,
Expand Down

0 comments on commit c96bede

Please sign in to comment.