From 26dc6a96d80ff2123998747e3e797663caa853c2 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 9 Feb 2000 02:20:26 +0000 Subject: [PATCH] Duh. Compilation fixes. --- comedi/drivers/dt2801.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comedi/drivers/dt2801.c b/comedi/drivers/dt2801.c index 322516ac..f811b0ce 100644 --- 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); -- 2.26.2