projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
597f6b5
)
fix initialization of eeprom subdevice
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 1 Aug 2004 23:18:42 +0000
(23:18 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 1 Aug 2004 23:18:42 +0000
(23:18 +0000)
comedi/drivers/cb_pcidas64.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/cb_pcidas64.c
b/comedi/drivers/cb_pcidas64.c
index 212627224ab3e56d3d6924ef2b448b17e17ef1a0..cb798459a3f4ffb197501f5d3c0dd5b214f9b9ec 100644
(file)
--- 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;