aboutsummaryrefslogtreecommitdiffstats
path: root/xen-2.4.16/include/asm-i386/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'xen-2.4.16/include/asm-i386/pci.h')
-rw-r--r--xen-2.4.16/include/asm-i386/pci.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/xen-2.4.16/include/asm-i386/pci.h b/xen-2.4.16/include/asm-i386/pci.h
index 43fab42762..65b286213d 100644
--- a/xen-2.4.16/include/asm-i386/pci.h
+++ b/xen-2.4.16/include/asm-i386/pci.h
@@ -126,6 +126,14 @@ static inline void pci_unmap_page(struct pci_dev *hwdev, dma_addr_t dma_address,
/* Nothing to do */
}
+/* pci_unmap_{page,single} is a nop so... */
+#define DECLARE_PCI_UNMAP_ADDR(ADDR_NAME)
+#define DECLARE_PCI_UNMAP_LEN(LEN_NAME)
+#define pci_unmap_addr(PTR, ADDR_NAME) (0)
+#define pci_unmap_addr_set(PTR, ADDR_NAME, VAL) do { } while (0)
+#define pci_unmap_len(PTR, LEN_NAME) (0)
+#define pci_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0)
+
/* Map a set of buffers described by scatterlist in streaming
* mode for DMA. This is the scather-gather version of the
* above pci_map_single interface. Here the scatter gather list