mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[POWERPC] Generalize tsi108 PCI setup
Generalize tsi108_setup_pci to take the config space physical address and primary bus designator as a parameter. Signed-off-by: Josh Boyer <[email protected]> Acked-by: Olof Johansson <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
c1b78d05b3
commit
05ad6a9159
4 changed files with 10 additions and 8 deletions
|
|
@ -68,7 +68,6 @@
|
|||
#define TSI108_PB_ERRCS_ES (1 << 1)
|
||||
#define TSI108_PB_ISR_PBS_RD_ERR (1 << 8)
|
||||
|
||||
#define TSI108_PCI_CFG_BASE_PHYS (0xfb000000)
|
||||
#define TSI108_PCI_CFG_SIZE (0x01000000)
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
#define TSI108_PCI_PFAB_PFM3 (TSI108_PCI_OFFSET + 0x220)
|
||||
#define TSI108_PCI_PFAB_PFM4 (TSI108_PCI_OFFSET + 0x230)
|
||||
|
||||
extern int tsi108_setup_pci(struct device_node *dev);
|
||||
extern int tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary);
|
||||
extern void tsi108_pci_int_init(struct device_node *node);
|
||||
extern void tsi108_irq_cascade(unsigned int irq, struct irq_desc *desc);
|
||||
extern void tsi108_clear_pci_cfg_error(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue