Subject: [PATCH 10/33] score: create head files dma.h dma-mapping.h io.h ioctl.h ioctls.h
From 0afc8cdccd048bbd8a17a38bfe4d9d2935f6d61f Mon Sep 17 00:00:00 2001
From: Chen Liqin <[email protected]>
Date: Wed, 26 Aug 2009 10:05:00 +0800
Subject: [PATCH 10/33] score: create head files dma.h dma-mapping.h io.h ioctl.h ioctls.h
Signed-off-by Chen Liqin <[email protected]>
--- arch/score/include/asm/dma-mapping.h | 6 ++++++ arch/score/include/asm/dma.h | 8 ++++++++ arch/score/include/asm/io.h | 9 +++++++++ arch/score/include/asm/ioctl.h | 6 ++++++ arch/score/include/asm/ioctls.h | 6 ++++++ 5 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 arch/score/include/asm/dma-mapping.h create mode 100644 arch/score/include/asm/dma.h create mode 100644 arch/score/include/asm/io.h create mode 100644 arch/score/include/asm/ioctl.h create mode 100644 arch/score/include/asm/ioctls.h
arch/score/include/asm/dma-mapping.h new file +6 -0
@@ -0,0 +1,6 @@ +#ifndef _ASM_SCORE_DMA_MAPPING_H +#define _ASM_SCORE_DMA_MAPPING_H + +#include <asm-generic/dma-mapping-broken.h> + +#endif /* _ASM_SCORE_DMA_MAPPING_H */
arch/score/include/asm/dma.h new file +8 -0
@@ -0,0 +1,8 @@ +#ifndef _ASM_SCORE_DMA_H +#define _ASM_SCORE_DMA_H + +#include <asm/io.h> + +#define MAX_DMA_ADDRESS (0) + +#endif /* _ASM_SCORE_DMA_H */
arch/score/include/asm/io.h new file +9 -0
@@ -0,0 +1,9 @@ +#ifndef _ASM_SCORE_IO_H +#define _ASM_SCORE_IO_H + +#include <asm-generic/io.h> + +#define virt_to_bus virt_to_phys +#define bus_to_virt phys_to_virt + +#endif /* _ASM_SCORE_IO_H */
arch/score/include/asm/ioctl.h new file +6 -0
@@ -0,0 +1,6 @@ +#ifndef _ASM_SCORE_IOCTL_H +#define _ASM_SCORE_IOCTL_H + +#include <asm-generic/ioctl.h> + +#endif /* _ASM_SCORE_IOCTL_H */
arch/score/include/asm/ioctls.h new file +6 -0
@@ -0,0 +1,6 @@ +#ifndef _ASM_SCORE_IOCTLS_H +#define _ASM_SCORE_IOCTLS_H + +#include <asm-generic/ioctls.h> + +#endif /* _ASM_SCORE_IOCTLS_H */
Signature · 1 line
1.6.2