From: Frank Mori Hess Date: Mon, 8 Jan 2007 20:49:31 +0000 (+0000) Subject: fixed read of G_Status_Register for m-series. X-Git-Tag: r0_7_74~118 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c5ff6c258e593c91af3dffa61a9bc218a4bbf62;p=comedi.git fixed read of G_Status_Register for m-series. --- diff --git a/comedi/drivers/ni_pcimio.c b/comedi/drivers/ni_pcimio.c index 5fb2e374..46d9ab84 100644 --- 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();