]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-powerpc/ppc-pci.h
[POWERPC] Improve MPIC driver auto-configuration from DT
[karo-tx-linux.git] / include / asm-powerpc / ppc-pci.h
index cf79bc7ebb5551dec638c987f605eb77e052b58d..8894d1d4226b33ff443eacfa5331a847377f398e 100644 (file)
@@ -47,7 +47,6 @@ unsigned long get_phb_buid (struct device_node *);
 
 /* From pSeries_pci.h */
 extern void pSeries_final_fixup(void);
-extern void pSeries_irq_bus_setup(struct pci_bus *bus);
 
 extern unsigned long pci_probe_only;
 
@@ -68,6 +67,17 @@ struct pci_dev *pci_get_device_by_addr(unsigned long addr);
  */
 void eeh_slot_error_detail (struct pci_dn *pdn, int severity);
 
+/**
+ * rtas_pci_enableo - enable IO transfers for this slot
+ * @pdn:       pci device node
+ * @function:  either EEH_THAW_MMIO or EEH_THAW_DMA 
+ *
+ * Enable I/O transfers to this slot 
+ */
+#define EEH_THAW_MMIO 2
+#define EEH_THAW_DMA  3
+int rtas_pci_enable(struct pci_dn *pdn, int function);
+
 /**
  * rtas_set_slot_reset -- unfreeze a frozen slot
  *