|
@@ -186,6 +186,16 @@ static inline void pci_ioremap_set_mem_type(int mem_type) {}
|
|
|
|
|
|
extern int pci_ioremap_io(unsigned int offset, phys_addr_t phys_addr);
|
|
|
|
|
|
+/*
|
|
|
+ * PCI configuration space mapping function.
|
|
|
+ *
|
|
|
+ * The PCI specification does not allow configuration write
|
|
|
+ * transactions to be posted. Add an arch specific
|
|
|
+ * pci_remap_cfgspace() definition that is implemented
|
|
|
+ * through strongly ordered memory mappings.
|
|
|
+ */
|
|
|
+#define pci_remap_cfgspace pci_remap_cfgspace
|
|
|
+void __iomem *pci_remap_cfgspace(resource_size_t res_cookie, size_t size);
|
|
|
/*
|
|
|
* Now, pick up the machine-defined IO definitions
|
|
|
*/
|