From acce6f8ea5b5f56ba12b4265bf5931909365e7c9 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 1 Aug 2004 23:18:42 +0000 Subject: [PATCH] fix initialization of eeprom subdevice --- comedi/drivers/cb_pcidas64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/cb_pcidas64.c b/comedi/drivers/cb_pcidas64.c index 21262722..cb798459 100644 --- a/comedi/drivers/cb_pcidas64.c +++ b/comedi/drivers/cb_pcidas64.c @@ -1456,7 +1456,7 @@ static int setup_subdevices(comedi_device *dev) //serial EEPROM, if present s = dev->subdevices + 8; - if(priv(dev)->plx_control_bits & CTL_EECHK) + if(readl(priv(dev)->plx9080_iobase + PLX_CONTROL_REG) & CTL_EECHK) { s->type = COMEDI_SUBD_MEMORY; s->subdev_flags = SDF_READABLE | SDF_INTERNAL; -- 2.26.2