projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b65d7ca
)
writew() had its arguments reversed.
author
David Schleef
<ds@schleef.org>
Fri, 13 Apr 2001 10:31:19 +0000
(10:31 +0000)
committer
David Schleef
<ds@schleef.org>
Fri, 13 Apr 2001 10:31:19 +0000
(10:31 +0000)
comedi/drivers/daqboard2000.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/daqboard2000.c
b/comedi/drivers/daqboard2000.c
index 04700e2034d5a918bd9d512f2813efe70094b161..0aa61dfab3dd6dc649ac00a4377181a7fa9bd08a 100644
(file)
--- a/
comedi/drivers/daqboard2000.c
+++ b/
comedi/drivers/daqboard2000.c
@@
-632,7
+632,7
@@
static int daqboard2000_8255_cb(int dir, int port, int data, void *arg)
int result = 0;
unsigned long ioaddr=(unsigned long)arg;
if(dir){
- writew(
ioaddr+port,data
);
+ writew(
data,ioaddr+port
);
result = 0;
}else{
result = readw(ioaddr+port);