Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax
In directory usw-pr-cvs1:/tmp/cvs-serv31609/include/asm-vax
Modified Files:
dma.h
Log Message:
implement DMA memory zone for ISA heritage peripherals.
Tell vaxlance.c to use memory in DMA zone for now.
Index: dma.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/dma.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dma.h 2001/01/17 16:18:52 1.1
+++ dma.h 2001/06/16 14:05:30 1.2
@@ -1,9 +1,10 @@
#ifndef _VAX_DMA_H
#define _VAX_DMA_H 1
-/* FIXME: this is just here to get dma.c to compile.*/
+/* Some peripherals are limited by their PC/ISA designs/heritage. */
-#define MAX_DMA_ADDRESS PAGE_OFFSET
+/* max dma address is 16mb used in mm/init.c*/
+#define MAX_DMA_ADDRESS (PAGE_OFFSET+0x1000000)
#define MAX_DMA_CHANNELS 8
extern int request_dma(unsigned int dmanr, const char * device_id); /* reserve a DMA channel */
|