--- linux/include/asm-ia64/dma.h +++ linux/include/asm-ia64/dma.h 2001/06/18 18:40:57 @@ -12,6 +12,10 @@ extern unsigned long MAX_DMA_ADDRESS; +/* These are in kernel/dma.c: */ +extern int request_dma(unsigned int dmanr, const char * device_id); /* reserve a DMA channel */ +extern void free_dma(unsigned int dmanr); /* release it again */ + #ifdef CONFIG_PCI extern int isa_dma_bridge_buggy; #else --- linux/include/asm-ia64/pci.h.~1~ Sun Nov 4 16:44:52 2001 +++ linux/include/asm-ia64/pci.h Sun Nov 4 16:45:14 2001 @@ -46,6 +46,11 @@ #define pci_dma_sync_sg platform_pci_dma_sync_sg #define sg_dma_address platform_pci_dma_address +/* The PCI address space does equal the physical memory address space. + The networking and block device layers use this boolean for bounce buffer + decisions. */ +#define PCI_DMA_BUS_IS_PHYS 1 + /* * Return whether the given PCI device DMA address mask can be supported properly. For * example, if your device can only drive the low 24-bits during PCI bus mastering, then --- linux/include/asm-ia64/types.h.~1~ Sun Nov 4 16:27:55 2001 +++ linux/include/asm-ia64/types.h Sun Nov 4 16:28:02 2001 @@ -63,6 +63,7 @@ /* DMA addresses are 64-bits wide, in general. */ typedef u64 dma_addr_t; +typedef u64 dma64_addr_t; # endif /* __KERNEL__ */ #endif /* !__ASSEMBLY__ */