patch-2.3.43 linux/include/asm-ia64/dma.h

Next file: linux/include/asm-ia64/efi.h
Previous file: linux/include/asm-ia64/div64.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/include/asm-ia64/dma.h linux/include/asm-ia64/dma.h
@@ -0,0 +1,36 @@
+#ifndef _ASM_IA64_DMA_H
+#define _ASM_IA64_DMA_H
+
+/*
+ * Copyright (C) 1998, 1999 Hewlett-Packard Co
+ * Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com>
+ */
+
+#include <asm/io.h>		/* need byte IO */
+#include <linux/config.h>
+#include <linux/spinlock.h>	/* And spinlocks */
+#include <linux/delay.h>
+
+
+#ifdef HAVE_REALLY_SLOW_DMA_CONTROLLER
+#define dma_outb	outb_p
+#else
+#define dma_outb	outb
+#endif
+
+#define dma_inb		inb
+
+#define MAX_DMA_CHANNELS	8
+#define MAX_DMA_ADDRESS		(~0UL)		/* no limits on DMAing, for now */
+
+extern spinlock_t  dma_spin_lock;
+
+/* From PCI */
+
+#ifdef CONFIG_PCI
+extern int isa_dma_bridge_buggy;
+#else
+#define isa_dma_bridge_buggy 	(0)
+#endif
+
+#endif /* _ASM_IA64_DMA_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)