Commit 57bcdafc authored by Ben Dooks's avatar Ben Dooks Committed by Russell King

[ARM] 3765/1: S3C24XX: cleanup include/asm-arm/arch-s3c2410/dma.h

Patch from Ben Dooks

Cleanup for include/asm-arma/arch-s3c2410/dma.h,
by using tab characters to indent items, remove the
now un-necessary changelog, and update the copyright
information.
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent f105a7df
/* linux/include/asm-arm/arch-bast/dma.h /* linux/include/asm-arm/arch-s3c2410/dma.h
* *
* Copyright (C) 2003,2004 Simtec Electronics * Copyright (C) 2003,2004,2006 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk> * Ben Dooks <ben@simtec.co.uk>
* *
* Samsung S3C2410X DMA support * Samsung S3C241XX DMA support
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
*
* Changelog:
* ??-May-2003 BJD Created file
* ??-Jun-2003 BJD Added more dma functionality to go with arch
* 10-Nov-2004 BJD Added sys_device support
*/ */
#ifndef __ASM_ARCH_DMA_H #ifndef __ASM_ARCH_DMA_H
...@@ -21,15 +16,13 @@ ...@@ -21,15 +16,13 @@
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include "hardware.h" #include "hardware.h"
/* /*
* This is the maximum DMA address(physical address) that can be DMAd to. * This is the maximum DMA address(physical address) that can be DMAd to.
* *
*/ */
#define MAX_DMA_ADDRESS 0x20000000 #define MAX_DMA_ADDRESS 0x40000000
#define MAX_DMA_TRANSFER_SIZE 0x100000 /* Data Unit is half word */ #define MAX_DMA_TRANSFER_SIZE 0x100000 /* Data Unit is half word */
/* we have 4 dma channels */ /* we have 4 dma channels */
#define S3C2410_DMA_CHANNELS (4) #define S3C2410_DMA_CHANNELS (4)
...@@ -83,7 +76,6 @@ enum s3c2410_dma_buffresult { ...@@ -83,7 +76,6 @@ enum s3c2410_dma_buffresult {
S3C2410_RES_ABORT S3C2410_RES_ABORT
}; };
enum s3c2410_dmasrc { enum s3c2410_dmasrc {
S3C2410_DMASRC_HW, /* source is memory */ S3C2410_DMASRC_HW, /* source is memory */
S3C2410_DMASRC_MEM /* source is hardware */ S3C2410_DMASRC_MEM /* source is hardware */
...@@ -190,7 +182,7 @@ struct s3c2410_dma_chan { ...@@ -190,7 +182,7 @@ struct s3c2410_dma_chan {
/* driver handles */ /* driver handles */
s3c2410_dma_cbfn_t callback_fn; /* buffer done callback */ s3c2410_dma_cbfn_t callback_fn; /* buffer done callback */
s3c2410_dma_opfn_t op_fn; /* channel operation callback */ s3c2410_dma_opfn_t op_fn; /* channel op callback */
/* stats gathering */ /* stats gathering */
struct s3c2410_dma_stats *stats; struct s3c2410_dma_stats *stats;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment