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
nexedi
linux
Commits
ee8bc02e
Commit
ee8bc02e
authored
Apr 03, 2002
by
Jean Tourrilhes
Committed by
Linus Torvalds
Apr 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IrDA: Fix w83977af_ir FIR drivers for new DMA API
parent
5e4b5079
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/irda/w83977af_ir.c
drivers/net/irda/w83977af_ir.c
+2
-2
No files found.
drivers/net/irda/w83977af_ir.c
View file @
ee8bc02e
...
...
@@ -612,7 +612,7 @@ static void w83977af_dma_write(struct w83977af_ir *self, int iobase)
disable_dma
(
self
->
io
.
dma
);
clear_dma_ff
(
self
->
io
.
dma
);
set_dma_mode
(
self
->
io
.
dma
,
DMA_MODE_READ
);
set_dma_addr
(
self
->
io
.
dma
,
virt_to_bus
(
self
->
tx_buff
.
data
));
set_dma_addr
(
self
->
io
.
dma
,
isa_
virt_to_bus
(
self
->
tx_buff
.
data
));
set_dma_count
(
self
->
io
.
dma
,
self
->
tx_buff
.
len
);
#else
setup_dma
(
self
->
io
.
dma
,
self
->
tx_buff
.
data
,
self
->
tx_buff
.
len
,
...
...
@@ -770,7 +770,7 @@ int w83977af_dma_receive(struct w83977af_ir *self)
disable_dma
(
self
->
io
.
dma
);
clear_dma_ff
(
self
->
io
.
dma
);
set_dma_mode
(
self
->
io
.
dma
,
DMA_MODE_READ
);
set_dma_addr
(
self
->
io
.
dma
,
virt_to_bus
(
self
->
rx_buff
.
data
));
set_dma_addr
(
self
->
io
.
dma
,
isa_
virt_to_bus
(
self
->
rx_buff
.
data
));
set_dma_count
(
self
->
io
.
dma
,
self
->
rx_buff
.
truesize
);
#else
setup_dma
(
self
->
io
.
dma
,
self
->
rx_buff
.
data
,
self
->
rx_buff
.
truesize
,
...
...
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