git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-xtensa
/
dma.h
diff --git
a/include/asm-xtensa/dma.h
b/include/asm-xtensa/dma.h
index
1c22b02
..
e30f3ab
100644
(file)
--- a/
include/asm-xtensa/dma.h
+++ b/
include/asm-xtensa/dma.h
@@
-11,9
+11,7
@@
#ifndef _XTENSA_DMA_H
#define _XTENSA_DMA_H
#ifndef _XTENSA_DMA_H
#define _XTENSA_DMA_H
-#include <linux/config.h>
#include <asm/io.h> /* need byte IO */
#include <asm/io.h> /* need byte IO */
-#include <xtensa/config/core.h>
/*
* This is only to be defined if we have PC-like DMA.
/*
* This is only to be defined if we have PC-like DMA.
@@
-45,7
+43,9
@@
* enters another area, and virt_to_phys() may not return
* the value desired).
*/
* enters another area, and virt_to_phys() may not return
* the value desired).
*/
-#define MAX_DMA_ADDRESS (PAGE_OFFSET + XCHAL_KSEG_CACHED_SIZE - 1)
+
+#define MAX_DMA_ADDRESS (PAGE_OFFSET + XCHAL_KIO_SIZE - 1)
+
/* Reserve and release a DMA channel */
extern int request_dma(unsigned int dmanr, const char * device_id);
/* Reserve and release a DMA channel */
extern int request_dma(unsigned int dmanr, const char * device_id);