Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81022
b: refs/heads/master
c: cb99302
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Dec 11, 2007
1 parent 6a41c30 commit fffa103
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e60516e3d0bbde450acf4397b0d01b03042a7d57
refs/heads/master: cb993029094ed61f286793819d3aaa1deea5b252
3 changes: 0 additions & 3 deletions trunk/arch/powerpc/kernel/pci_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,6 @@ static int __init pcibios_init(void)
*/
ppc_md.phys_mem_access_prot = pci_phys_mem_access_prot;

if (firmware_has_feature(FW_FEATURE_ISERIES))
iSeries_pcibios_init();

printk(KERN_DEBUG "PCI: Probing PCI hardware\n");

/* Scan all of the recorded PCI controllers. */
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/powerpc/platforms/iseries/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ struct pci_dev; /* For Forward Reference */
extern void iSeries_Device_Information(struct pci_dev *PciDev, int count,
u16 bus, HvSubBusNumber subbus);
#ifdef CONFIG_PCI
extern void iSeries_pcibios_init(void);
extern void iSeries_pci_final_fixup(void);
#else
static void iSeries_pci_final_fixup(void) { }
static inline void iSeries_pcibios_init(void) { }
static inline void iSeries_pci_final_fixup(void) { }
#endif

#endif /* _PLATFORMS_ISERIES_PCI_H */
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/platforms/iseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ static void __init iSeries_setup_arch(void)
itVpdAreas.xSlicMaxLogicalProcs);
printk("Max physical processors = %d\n",
itVpdAreas.xSlicMaxPhysicalProcs);

iSeries_pcibios_init();
}

static void iSeries_show_cpuinfo(struct seq_file *m)
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-powerpc/ppc-pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ extern void init_pci_config_tokens (void);
extern unsigned long get_phb_buid (struct device_node *);
extern int rtas_setup_phb(struct pci_controller *phb);

/* From iSeries PCI */
extern void iSeries_pcibios_init(void);

extern unsigned long pci_probe_only;

/* ---- EEH internal-use-only related routines ---- */
Expand Down

0 comments on commit fffa103

Please sign in to comment.