summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-02-21 09:17:40 +0000
committerDave Airlie <airlied@linux.ie>2004-02-21 09:17:40 +0000
commitcc149b77f82da8479a3b15dff3cbf1519a289107 (patch)
tree3c5f55c1ef6bd9027a84f0ac3c490b7fc45d7d1d
parent56c6532199bb42eae2eb612ed9c3b7ebdccc08d9 (diff)
add prototypes for pci functions
-rw-r--r--linux-core/drmP.h4
-rw-r--r--linux/drmP.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index b7b346d4..06903d97 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -1040,6 +1040,10 @@ extern int DRM(ati_pcigart_cleanup)(drm_device_t *dev,
unsigned long addr,
dma_addr_t bus_addr);
+extern void *DRM(pci_alloc)(drm_device_t *dev, size_t size, size_t align,
+ dma_addr_t maxaddr, dma_addr_t *busaddr);
+extern void DRM(pci_free)(drm_device_t *dev, size_t size, void *vaddr, dma_addr_t busaddr);
+
/*@}*/
#endif /* __KERNEL__ */
diff --git a/linux/drmP.h b/linux/drmP.h
index b7b346d4..06903d97 100644
--- a/linux/drmP.h
+++ b/linux/drmP.h
@@ -1040,6 +1040,10 @@ extern int DRM(ati_pcigart_cleanup)(drm_device_t *dev,
unsigned long addr,
dma_addr_t bus_addr);
+extern void *DRM(pci_alloc)(drm_device_t *dev, size_t size, size_t align,
+ dma_addr_t maxaddr, dma_addr_t *busaddr);
+extern void DRM(pci_free)(drm_device_t *dev, size_t size, void *vaddr, dma_addr_t busaddr);
+
/*@}*/
#endif /* __KERNEL__ */