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
66467abe
Commit
66467abe
authored
Sep 16, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Kill dump_dma_regs, unused.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
71fc77af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
drivers/sbus/dvma.c
drivers/sbus/dvma.c
+0
-11
No files found.
drivers/sbus/dvma.c
View file @
66467abe
...
...
@@ -17,14 +17,6 @@
struct
sbus_dma
*
dma_chain
;
/* Print out the current values in the DMA control registers */
extern
__inline__
void
dump_dma_regs
(
unsigned
long
dregs
)
{
printk
(
"DMA CONTROL<%08x> ADDR<%08x> CNT<%08x> TEST<%08x>
\n
"
,
sbus_readl
(
dregs
+
DMA_CSR
),
sbus_readl
(
dregs
+
DMA_ADDR
),
sbus_readl
(
dregs
+
DMA_COUNT
),
sbus_readl
(
dregs
+
DMA_TEST
));
}
void
__init
init_one_dvma
(
struct
sbus_dma
*
dma
,
int
num_dma
)
{
printk
(
"dma%d: "
,
num_dma
);
...
...
@@ -64,9 +56,6 @@ void __init init_one_dvma(struct sbus_dma *dma, int num_dma)
break
;
}
printk
(
"
\n
"
);
#if 0 /* Clutters up the screen */
dump_dma_regs(dma->regs);
#endif
}
/* Probe this SBus DMA module(s) */
...
...
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