From 33a9a210199d1f5cfc264dd9c01ed6e827153e62 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 20 Feb 2006 14:51:55 +0000 Subject: [PATCH] Fixed read of parallel port data lines, as reported by Franco Minutiello --- comedi/drivers/comedi_parport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/comedi_parport.c b/comedi/drivers/comedi_parport.c index 6bfa5189..e6cf461a 100644 --- a/comedi/drivers/comedi_parport.c +++ b/comedi/drivers/comedi_parport.c @@ -119,7 +119,7 @@ static int parport_insn_a(comedi_device *dev,comedi_subdevice *s, outb(devpriv->a_data,dev->iobase+PARPORT_A); } - data[1] = inb(devpriv->a_data); + data[1] = inb(dev->iobase + PARPORT_A); return 2; } -- 2.26.2