Changed request/release of mite channels to use mite_channel struct
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 26 Apr 2007 17:43:44 +0000 (17:43 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 26 Apr 2007 17:43:44 +0000 (17:43 +0000)
commit79761528110304192200526dbbb050a5a19eca99
treeab19d8bc0a0549607ea04dc9bcf1795b1a6a1d46
parent6f245cdf595301a84884171370938e39b4487c01
Changed request/release of mite channels to use mite_channel struct
pointers, instead of channel indices.  Changed many mite functions
to take mite_channel argument instead of a mite_struct and a
channel index.  Added mite_dma_descriptor_ring, since drivers
need to maintain the descriptors seperatly from a channel, since
the channel is reserved/released with each use but the
descriptor ring only changes when comedi's buffer is resized.  Made
ni_mio_common.c dynamically allocate mite channels for ai/ao
when needed, instead of permanently assigning mite channels to
subdevices.
comedi/drivers/mite.c
comedi/drivers/mite.h
comedi/drivers/ni_660x.c
comedi/drivers/ni_mio_common.c
comedi/drivers/ni_pcidio.c
comedi/drivers/ni_pcimio.c
comedi/drivers/ni_stc.h
comedi/drivers/ni_tio.c
comedi/drivers/ni_tio.h