fixed bug. This driver has some other bugs/problems I intend to get to
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 20 Jun 2001 19:15:17 +0000 (19:15 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 20 Jun 2001 19:15:17 +0000 (19:15 +0000)
eventually, although I will need someone with an actual das-16 card to do
quality assurance for me.

comedi/drivers/das16.c

index 1f5c6b0e4a2522533c55e5bb6b020476f0cfa70b..2bcfb0bcfea6a58b1ddbecbef8005ca5d2fc1c62 100644 (file)
@@ -623,7 +623,7 @@ static int das16_ai_rinsn(comedi_device *dev,comedi_subdevice *s,comedi_insn *in
                outb_p(0,dev->iobase+DAS16_TRIG);
 
                for(i=0;i<DAS16_TIMEOUT;i++){
-                       if(!(inb(DAS16_STATUS)&DAS16_EOC))
+                       if(!(inb(dev->iobase + DAS16_STATUS) & DAS16_EOC))
                                break;
                }
                if(i==DAS16_TIMEOUT){