projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23f8381
)
Duh. Compilation fixes.
author
David Schleef
<ds@schleef.org>
Wed, 9 Feb 2000 02:20:26 +0000
(
02:20
+0000)
committer
David Schleef
<ds@schleef.org>
Wed, 9 Feb 2000 02:20:26 +0000
(
02:20
+0000)
comedi/drivers/dt2801.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/dt2801.c
b/comedi/drivers/dt2801.c
index 322516ac271f20c9d212eb411fedbd5d2ee02443..f811b0ceeefa54566838f0ca6e05691e834777cf 100644
(file)
--- a/
comedi/drivers/dt2801.c
+++ b/
comedi/drivers/dt2801.c
@@
-251,6
+251,7
@@
static int dt2801_writecmd(comedi_device * dev, int command)
static int dt2801_reset(comedi_device *dev)
{
int board_code=0;
+ int i;
printk("dt2801: resetting board...\n");
@@
-270,7
+271,7
@@
static int dt2801_reset(comedi_device *dev)
//dt2801_writecmd(dev,DT_C_RESET);
for(i=10000;i>0;i--){
- if(!(inb_p(dev->iobase+DT2801_STATUS)&
READY_BIT
))
+ if(!(inb_p(dev->iobase+DT2801_STATUS)&
DT_S_READY
))
break;
}
printk("dt2801: reset ready wait timeout %d\n",i);