Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax
In directory usw-pr-cvs1:/tmp/cvs-serv1902
Modified Files:
dma.h
Log Message:
DA: backport 2.5 qbus support to 2.4 for SIMH
Index: dma.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/dma.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dma.h 16 Jun 2001 14:05:30 -0000 1.2
+++ dma.h 25 Oct 2002 14:09:09 -0000 1.3
@@ -1,6 +1,19 @@
#ifndef _VAX_DMA_H
#define _VAX_DMA_H 1
+
+/* This structure is used to keep track of bug map register
+ * allocations. You get one from a bus driver's alloc_mapreg
+ * function and release it by calling the bus driver's unmap
+ * function. */
+
+struct vax_dmamap {
+ unsigned int reg;
+ unsigned int pagelets;
+ void *virtaddr;
+ unsigned int busaddr;
+};
+
/* Some peripherals are limited by their PC/ISA designs/heritage. */
/* max dma address is 16mb used in mm/init.c*/
|