Hi! Please give me a comment on this patch. I'm currently tryin' to make the HAL2 driver work (yes, I've got my Indy out of the edge again and I'm going to use it as my desktop machine). It fixes a compilation problem on dmabuf.c. There, DMA_AUTOINIT isn't defined. As ./include/asm-mips/dma.h looks like the asm-i386 file in general, I've copied the #define from the i386 port (and reformated the passus...). If you think it'o okay, please apply it (and drop me a note:-p) MfG, JBG Index: include/asm-mips/dma.h =================================================================== RCS file: /cvs/linux/include/asm-mips/dma.h,v retrieving revision 1.8 diff -u -r1.8 dma.h --- include/asm-mips/dma.h 2001/09/06 13:12:02 1.8 +++ include/asm-mips/dma.h 2002/06/29 18:23:37 @@ -138,10 +138,11 @@ #define DMA_PAGE_6 0x89 #define DMA_PAGE_7 0x8A -#define DMA_MODE_READ 0x44 /* I/O to memory, no autoinit, increment, single mode */ -#define DMA_MODE_WRITE 0x48 /* memory to I/O, no autoinit, increment, single mode */ -#define DMA_MODE_CASCADE 0xC0 /* pass thru DREQ->HRQ, DACK<-HLDA only */ +#define DMA_MODE_READ 0x44 /* I/O to memory, no autoinit, increment, single mode */ +#define DMA_MODE_WRITE 0x48 /* memory to I/O, no autoinit, increment, single mode */ +#define DMA_MODE_CASCADE 0xC0 /* pass thru DREQ->HRQ, DACK<-HLDA only */ +#define DMA_AUTOINIT 0x10 extern spinlock_t dma_spin_lock; -- Jan-Benedict Glaw . jbglaw@lug-owl.de . +49-172-7608481 -- New APT-Proxy written in shell script -- http://lug-owl.de/~jbglaw/software/ap2/
Attachment:
pgp00203.pgp
Description: PGP signature