Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
bba10cd3
Commit
bba10cd3
authored
Oct 30, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] s3c2410: DMA uses __iomem pointers.
parent
19f77539
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
arch/arm/mach-s3c2410/dma.c
arch/arm/mach-s3c2410/dma.c
+3
-3
include/asm-arm/arch-s3c2410/dma.h
include/asm-arm/arch-s3c2410/dma.h
+1
-1
No files found.
arch/arm/mach-s3c2410/dma.c
View file @
bba10cd3
...
...
@@ -52,7 +52,7 @@
#include <asm/arch/map.h>
/* io map for dma */
static
void
*
dma_base
;
static
void
__iomem
*
dma_base
;
/* dma channel state information */
s3c2410_dma_chan_t
s3c2410_chans
[
S3C2410_DMA_CHANNELS
];
...
...
@@ -1065,7 +1065,7 @@ static int __init s3c2410_init_dma(void)
/* dma channel irqs are in order.. */
cp
->
number
=
channel
;
cp
->
irq
=
channel
+
IRQ_DMA0
;
cp
->
regs
=
(
unsigned
long
)
dma_base
+
(
channel
*
0x40
);
cp
->
regs
=
dma_base
+
(
channel
*
0x40
);
/* point current stats somewhere */
cp
->
stats
=
&
cp
->
stats_store
;
...
...
@@ -1075,7 +1075,7 @@ static int __init s3c2410_init_dma(void)
cp
->
load_timeout
=
1
<<
18
;
printk
(
"DMA channel %d at %
08lx
, irq %d
\n
"
,
printk
(
"DMA channel %d at %
p
, irq %d
\n
"
,
cp
->
number
,
cp
->
regs
,
cp
->
irq
);
}
...
...
include/asm-arm/arch-s3c2410/dma.h
View file @
bba10cd3
...
...
@@ -198,7 +198,7 @@ struct s3c2410_dma_chan_s {
unsigned
int
flags
;
/* channel flags */
/* channel's hardware position and configuration */
unsigned
long
regs
;
/* channels registers */
void
__iomem
*
regs
;
/* channels registers */
unsigned
int
irq
;
/* channel irq */
unsigned
long
addr_reg
;
/* data address register */
unsigned
long
dcon
;
/* default value of DCON */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment