FIXME for NI m-series (NI-6251)

Hello!

After building comedi as described in my last mail I'm now testing
it with my configuration (see below). Most demos work fine, but
when I run comedi_test I see errors in dmesg. These errors seem to
be related to this FIXME (ni_pcimio.c:1185):

/* FIXME: DIO_Parallel_Input_Register (16 bit reg) is replaced by
 * M_Offset_Static_Digital_Input (32 bit) */

comedi_test seems to block in a write after:

I: testing cmd_write_fast_1chan...

Once it also blocked in the read in I: testing cmd_read_fast_1chan...,
although now i always get "not applicable" there.

Could anyone guide me how to fix this?

Cheers,
-Edwin

software:
    Linux 2.6.15.2 patched with hal-linux-2.6.15-i386-1.2-00.patch (rtai-3.3)
    rtai-3.3
    comedi CVS
    comedilib CVS
hardware:
    NI 6251 (PCI)

[ 4773.380917] m_series_stc_readw: bug! unhandled register=0x7 in switch.
[ 4773.390812] ni_mio_common: ai error a_status=e432
[ 4773.424107] ni_mio_common: wait for dma drain timed out
[ 4773.424119] mite_bytes_in_transit=62, AI_Status1_Register=0x1000
[ 4773.606619] ni_mio_common: ai error a_status=e432
[ 4773.639932] ni_mio_common: wait for dma drain timed out
[ 4773.639944] mite_bytes_in_transit=62, AI_Status1_Register=0x1000
[ 4773.649816] ni_mio_common: ai error a_status=e432
[ 4773.683112] ni_mio_common: wait for dma drain timed out
[ 4773.683124] mite_bytes_in_transit=62, AI_Status1_Register=0x1000
[ 4773.772333] ni_mio_common: ai error a_status=a432
[ 4773.805645] ni_mio_common: wait for dma drain timed out
[ 4773.805658] mite_bytes_in_transit=62, AI_Status1_Register=0x1000

Received on 2006-02-22Z13:44:42