projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6b31f
)
fixed read of G_Status_Register for m-series.
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 8 Jan 2007 20:49:31 +0000
(20:49 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 8 Jan 2007 20:49:31 +0000
(20:49 +0000)
comedi/drivers/ni_pcimio.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_pcimio.c
b/comedi/drivers/ni_pcimio.c
index 5fb2e374cbaab1a6c23feaad106230bebf6028e5..46d9ab84a3da7fe15576584014a74147db4a8259 100644
(file)
--- a/
comedi/drivers/ni_pcimio.c
+++ b/
comedi/drivers/ni_pcimio.c
@@
-1266,6
+1266,9
@@
static uint16_t m_series_stc_readw(comedi_device *dev, int reg)
case Joint_Status_2_Register:
offset = M_Offset_Joint_Status_2;
break;
+ case G_Status_Register:
+ offset = M_Offset_G01_Status;
+ break;
default:
rt_printk("%s: bug! unhandled register=0x%x in switch.\n", __FUNCTION__, reg);
BUG();