comedi.git
17 years agoUpdated to 2.6.23 pcmcia interface. Compiles, otherwise untested.
Frank Mori Hess [Mon, 15 Oct 2007 01:02:12 +0000 (01:02 +0000)]
Updated to 2.6.23 pcmcia interface.  Compiles, otherwise untested.

17 years agoMore linux 2.6.23 pcmcia fixes.
Frank Mori Hess [Mon, 15 Oct 2007 00:43:18 +0000 (00:43 +0000)]
More linux 2.6.23 pcmcia fixes.

17 years agoUpdated to 2.6.23 kernel pcmcia interface. It compiles now, don't know
Frank Mori Hess [Mon, 15 Oct 2007 00:08:27 +0000 (00:08 +0000)]
Updated to 2.6.23 kernel pcmcia interface.  It compiles now, don't know
if it actually works.

17 years agoPruned obsolete lseek code.
Frank Mori Hess [Fri, 12 Oct 2007 19:04:43 +0000 (19:04 +0000)]
Pruned obsolete lseek code.

17 years agoAdded regshift parameter after base address in i8254_load(), i8254_mm_load(),
Ian Abbott [Thu, 11 Oct 2007 14:23:09 +0000 (14:23 +0000)]
Added regshift parameter after base address in i8254_load(), i8254_mm_load(),
i8254_read(), i8254_mm_read(), i8254_write(), i8254_mm_write(),
i8254_set_mode(), i8254_mm_set_mode(), i8254_status(), i8254_mm_status().
The offsets to the four 8253/8254 registers will be shifted left by this
amount.  This is to cater for cards where the four registers do not occupy
consecutive bytes.

17 years agoSupport DESTDIR for module install/uninstall.
Frank Mori Hess [Sun, 30 Sep 2007 14:42:11 +0000 (14:42 +0000)]
Support DESTDIR for module install/uninstall.

17 years agoFixed use of ai channels >= 64 on 6225. Based on patch from
Frank Mori Hess [Sat, 29 Sep 2007 00:01:47 +0000 (00:01 +0000)]
Fixed use of ai channels >= 64 on 6225.  Based on patch from
Ingmar Schoegl <ischoegl@mail.utexas.edu>.

17 years agoEliminated the possibility of the ao dma channel getting allocated
Frank Mori Hess [Fri, 28 Sep 2007 18:40:55 +0000 (18:40 +0000)]
Eliminated the possibility of the ao dma channel getting allocated
more than once, when ni_ao_inttrig gets called a second time after
returning an error.

17 years agoAdd slab.h compatibility header.
Ian Abbott [Fri, 14 Sep 2007 12:33:47 +0000 (12:33 +0000)]
Add slab.h compatibility header.

17 years agoAdd kzalloc and kcalloc kernel compatibility functions.
Ian Abbott [Fri, 14 Sep 2007 12:32:49 +0000 (12:32 +0000)]
Add kzalloc and kcalloc kernel compatibility functions.

17 years agoCorrected calculation of board name offset. Fixes segmentation violation
Ian Abbott [Fri, 7 Sep 2007 17:04:27 +0000 (17:04 +0000)]
Corrected calculation of board name offset.  Fixes segmentation violation
when reading /proc/comedi for comedi drivers that have num_names > 1.

17 years agoChange $(GREP) to $(EGREP), since we really only do a AC_PROG_EGREP
Frank Mori Hess [Thu, 6 Sep 2007 03:22:51 +0000 (03:22 +0000)]
Change $(GREP) to $(EGREP), since we really only do a AC_PROG_EGREP
in configure, and apparently GREP isn't always defined, as reported
by Anders Blomdell.

17 years agoAdded files I forgot to cvs add from patch by
Frank Mori Hess [Wed, 5 Sep 2007 12:37:43 +0000 (12:37 +0000)]
Added files I forgot to cvs add from patch by
Anders Blomdell <anders.blomdell@control.lth.se>

17 years agoPatch from Anders Blomdell <anders.blomdell@control.lth.se> which makes
Frank Mori Hess [Tue, 4 Sep 2007 03:22:08 +0000 (03:22 +0000)]
Patch from Anders Blomdell <anders.blomdell@control.lth.se> which makes
some of the addi-data drivers useable:

Since I need to use a driver for apci3106, I guess that I'll have to do some
cleanup of the addi-data drivers, but after downloading the drivers from
addi-data (http://www.addi-data.com/treiber/linux/comedi/comedi_Driver.tar.gz,
v_1.13), and comparing them with cvs, I'm at a loss about which drivers to use
as a starting point. I have enclosed a [tentative] patch against CVS
(patch.addi-data.20070828), that seems to work with apci3106-16-4. There is also
the patch against the CVS from late 2005 (patch.addi.2005-11-11) that I sent to
weber.serge@addi-data.com, asking him to do additional cleanup and then submit
it to the CVS maintainers, obviously this never happened :-( (and hence the last
batch of cards was of another brand).

17 years agoFixed some calculations of number of bytes per scan when doing
Frank Mori Hess [Fri, 24 Aug 2007 18:44:38 +0000 (18:44 +0000)]
Fixed some calculations of number of bytes per scan when doing
digital io commands.

17 years agoSanity check drivers setting do_cmd without setting do_cmdtest.
Ian Abbott [Tue, 21 Aug 2007 09:47:21 +0000 (09:47 +0000)]
Sanity check drivers setting do_cmd without setting do_cmdtest.

17 years agoread acknowledges irq bit does have an effect on a 6601.
Frank Mori Hess [Fri, 17 Aug 2007 20:54:52 +0000 (20:54 +0000)]
read acknowledges irq bit does have an effect on a 6601.

17 years agoAdded interrupt handler and enabled interrupts. Added initialization of output routin...
Frank Mori Hess [Fri, 17 Aug 2007 19:56:37 +0000 (19:56 +0000)]
Added interrupt handler and enabled interrupts. Added initialization of output routing for pfi pins to reasonable defaults.

17 years agoFixed missing initialization of some counter registers (and their software copies...
Frank Mori Hess [Fri, 17 Aug 2007 19:53:39 +0000 (19:53 +0000)]
Fixed missing initialization of some counter registers (and their software copies).  Made ni_tio_cancel() safe to call in interrupt context without possibly corrupting software copies of registers.

17 years agoAdded enum for setting output routing of pfi pins on 660x boards.
Frank Mori Hess [Fri, 17 Aug 2007 19:49:48 +0000 (19:49 +0000)]
Added enum for setting output routing of pfi pins on 660x boards.

17 years agoFixed failure to unlock spinlock after locking it. Fixed possibly
Frank Mori Hess [Thu, 16 Aug 2007 21:52:43 +0000 (21:52 +0000)]
Fixed failure to unlock spinlock after locking it.  Fixed possibly
bogus perm_stale_data result from ni_tio_acknowledge_and_confirm().
Added (unused) support for accessing joint status register 1.

17 years agoMoved some interrupt enable/disable and interrupt handling
Frank Mori Hess [Wed, 15 Aug 2007 21:22:49 +0000 (21:22 +0000)]
Moved some interrupt enable/disable and interrupt handling
stuff from client drivers into ni_tio.c.
ni_stc.h:
Added some stuff for correlated digital output waveforms
that I missed in earlier commit.
ni_660x.c:
Added beginnings of support for buffered input counting (untested,
definitely doesn't work yet due to empty interrupt handler).
Added INSN_CONFIG_SET/GET_ROUTING support,
to allow switching of output signals between
counter outputs and static digital output.  Fixed channel mix-ups
on input/output selection for static dio.  Fixed static digital
output to work on full 32 bits.  Replaced some preprocessor macros
with inline functions.

17 years agoAdded comment describing purpose of comedi_set_hw_dev().
Frank Mori Hess [Wed, 15 Aug 2007 21:20:57 +0000 (21:20 +0000)]
Added comment describing purpose of comedi_set_hw_dev().

17 years agoAdded support for dio write commands with NI M-series.
Frank Mori Hess [Mon, 13 Aug 2007 21:17:20 +0000 (21:17 +0000)]
Added support for dio write commands with NI M-series.

17 years agoDisable all of a channel's interrupts when it is released.
Frank Mori Hess [Mon, 13 Aug 2007 15:12:27 +0000 (15:12 +0000)]
Disable all of a channel's interrupts when it is released.

17 years agoNULL inttrig in do_become_nonbusy().
Frank Mori Hess [Mon, 13 Aug 2007 15:05:53 +0000 (15:05 +0000)]
NULL inttrig in do_become_nonbusy().

17 years agoCheck for stale data error on counter input command if reloading
Frank Mori Hess [Thu, 9 Aug 2007 20:15:30 +0000 (20:15 +0000)]
Check for stale data error on counter input command if reloading
on gate is enabled.

17 years agoAdded bit definitions for NI m-series correlated dio registers.
Frank Mori Hess [Thu, 9 Aug 2007 19:17:57 +0000 (19:17 +0000)]
Added bit definitions for NI m-series correlated dio registers.

17 years agoAdded definitions for possible scan_begin_srcs on NI m-series
Frank Mori Hess [Thu, 9 Aug 2007 17:55:01 +0000 (17:55 +0000)]
Added definitions for possible scan_begin_srcs on NI m-series
with upcoming correlated dio command support.

17 years agoNI counters don't really support stop_src TRIG_COUNT.
Frank Mori Hess [Thu, 9 Aug 2007 13:03:37 +0000 (13:03 +0000)]
NI counters don't really support stop_src TRIG_COUNT.

17 years agoMade mite_done() update done status by reading status register.
Frank Mori Hess [Thu, 9 Aug 2007 12:58:26 +0000 (12:58 +0000)]
Made mite_done() update done status by reading status register.

17 years agoWe need to use dma_free_coherent() instead of kfree() in mite_free_ring()
Frank Mori Hess [Thu, 9 Aug 2007 00:22:00 +0000 (00:22 +0000)]
We need to use dma_free_coherent() instead of kfree() in mite_free_ring()
now.

17 years agoSet SRF_RUNNING and SRF_ERROR together atomically in comedi_event().
Frank Mori Hess [Tue, 7 Aug 2007 20:06:29 +0000 (20:06 +0000)]
Set SRF_RUNNING and SRF_ERROR together atomically in comedi_event().

17 years agoPorted allocation of mite dma rings to modern kernel dma api.
Frank Mori Hess [Tue, 7 Aug 2007 19:04:01 +0000 (19:04 +0000)]
Ported allocation of mite dma rings to modern kernel dma api.

17 years agoSet missing SDF_LSAMPL on NI GPCT subdevices. Made command
Frank Mori Hess [Tue, 7 Aug 2007 16:22:22 +0000 (16:22 +0000)]
Set missing SDF_LSAMPL on NI GPCT subdevices.  Made command
test for gpct command actually check something.  Made
some of the command sources for gpct command actually
have an effect.

17 years agoCorrected pathname in file header comment.
Ian Abbott [Mon, 6 Aug 2007 11:19:19 +0000 (11:19 +0000)]
Corrected pathname in file header comment.

17 years agoMoved description of configuration options so it will appear in drivers.txt
Ian Abbott [Mon, 6 Aug 2007 11:05:41 +0000 (11:05 +0000)]
Moved description of configuration options so it will appear in drivers.txt

17 years agoStripped file extension from 'Driver:' line. Most had .o, some had .ko or .c.
Ian Abbott [Mon, 6 Aug 2007 10:47:40 +0000 (10:47 +0000)]
Stripped file extension from 'Driver:' line.  Most had .o, some had .ko or .c.
Also corrected pathnames in file header comments.

17 years agoChanged description line.
Ian Abbott [Mon, 6 Aug 2007 10:07:16 +0000 (10:07 +0000)]
Changed description line.

17 years agoGot rid of use of $(builddir), since it isn't defined by some versions
Frank Mori Hess [Thu, 2 Aug 2007 14:06:36 +0000 (14:06 +0000)]
Got rid of use of $(builddir), since it isn't defined by some versions
of auto* tools.  Tweaked some obscure rules (used some gnu make extensions,
but I don't really care).

17 years agoAutogenerated ChangeLog with "cvs2cl -t" r0_7_74
Frank Mori Hess [Wed, 1 Aug 2007 19:46:36 +0000 (19:46 +0000)]
Autogenerated ChangeLog with "cvs2cl -t"

17 years agoFix problems apparently caused by builddir not being set by older versions
Frank Mori Hess [Wed, 1 Aug 2007 19:41:39 +0000 (19:41 +0000)]
Fix problems apparently caused by builddir not being set by older versions
of auto* tools.

17 years agoFixed "make uninstall". "make distcheck" passes now.
Frank Mori Hess [Wed, 1 Aug 2007 19:10:52 +0000 (19:10 +0000)]
Fixed "make uninstall".  "make distcheck" passes now.

17 years agoRemoved third parameter of calls to comedi_event().
Ian Abbott [Wed, 1 Aug 2007 17:33:37 +0000 (17:33 +0000)]
Removed third parameter of calls to comedi_event().

17 years agoAdded some missing headers to distribution tarball, bumped version for
Frank Mori Hess [Wed, 1 Aug 2007 17:21:59 +0000 (17:21 +0000)]
Added some missing headers to distribution tarball, bumped version for
upcoming release.

17 years agoHave "make install" respect configure prefix.
Frank Mori Hess [Wed, 1 Aug 2007 17:19:51 +0000 (17:19 +0000)]
Have "make install" respect configure prefix.

17 years agoFixed test for rpm program.
Frank Mori Hess [Wed, 1 Aug 2007 15:16:53 +0000 (15:16 +0000)]
Fixed test for rpm program.

17 years agoVPATH build works now.
Frank Mori Hess [Wed, 1 Aug 2007 14:55:19 +0000 (14:55 +0000)]
VPATH build works now.

17 years agoSet SRF_RUNNING in runflags instead of SDF_RUNNING in subdev_flags.
Frank Mori Hess [Wed, 1 Aug 2007 13:19:14 +0000 (13:19 +0000)]
Set SRF_RUNNING in runflags instead of SDF_RUNNING in subdev_flags.

17 years agoDon't bother running 'rpm -qa' to see whether querying packages works, as
Ian Abbott [Wed, 1 Aug 2007 12:48:03 +0000 (12:48 +0000)]
Don't bother running 'rpm -qa' to see whether querying packages works, as
it's quicker just to query for specific packages.

17 years agoBrought PCI resource handling up to scratch.
Ian Abbott [Wed, 1 Aug 2007 11:21:59 +0000 (11:21 +0000)]
Brought PCI resource handling up to scratch.
Cleaned up 8255 subdevices.
Made board data const.
Corrected driver name in a couple of printk calls.

17 years agoDocumented PCI bus/slot options.
Ian Abbott [Wed, 1 Aug 2007 10:52:57 +0000 (10:52 +0000)]
Documented PCI bus/slot options.

17 years agosimplified autogen.sh
Frank Mori Hess [Tue, 31 Jul 2007 19:53:20 +0000 (19:53 +0000)]
simplified autogen.sh

17 years agoFixed some issues in "Devices:" comment lines used to generate devices.txt
Frank Mori Hess [Tue, 31 Jul 2007 19:02:42 +0000 (19:02 +0000)]
Fixed some issues in "Devices:" comment lines used to generate devices.txt

17 years agoAdd driver docs into drivers.txt in sorted order.
Frank Mori Hess [Tue, 31 Jul 2007 18:39:16 +0000 (18:39 +0000)]
Add driver docs into drivers.txt in sorted order.

17 years agoUpdated Bernd Porr's email.
Frank Mori Hess [Tue, 31 Jul 2007 14:45:16 +0000 (14:45 +0000)]
Updated Bernd Porr's email.

17 years agoCleaned up some compiler warnings.
Frank Mori Hess [Tue, 31 Jul 2007 14:15:28 +0000 (14:15 +0000)]
Cleaned up some compiler warnings.

17 years agoNew driver from Yoshiya Matsuzaka <matsuzay@mail.tains.tohoku.ac.jp>
Frank Mori Hess [Tue, 31 Jul 2007 14:08:15 +0000 (14:08 +0000)]
New driver from Yoshiya Matsuzaka <matsuzay@mail.tains.tohoku.ac.jp>
for Measurement Computing PCI-DIOxx series.

17 years agoDisable pcmcia by default until someone fixes it.
Frank Mori Hess [Tue, 31 Jul 2007 14:04:38 +0000 (14:04 +0000)]
Disable pcmcia by default until someone fixes it.

17 years agoDon't bother running scripts on .mod.c files.
Frank Mori Hess [Tue, 31 Jul 2007 13:53:08 +0000 (13:53 +0000)]
Don't bother running scripts on .mod.c files.

17 years agoReplaced 'Contributors' with 'AUTHORS' in EXTRA_DIST.
Ian Abbott [Mon, 30 Jul 2007 10:23:57 +0000 (10:23 +0000)]
Replaced 'Contributors' with 'AUTHORS' in EXTRA_DIST.

17 years agoFixed comment blocks so they are parsed correctly by dump_doc.
Frank Mori Hess [Mon, 30 Jul 2007 03:49:20 +0000 (03:49 +0000)]
Fixed comment blocks so they are parsed correctly by dump_doc.

17 years agoAdded warning output if script failed to extract a comment block from
Frank Mori Hess [Mon, 30 Jul 2007 03:48:41 +0000 (03:48 +0000)]
Added warning output if script failed to extract a comment block from
driver.

17 years agoFix 1V adc range on 4020.
Frank Mori Hess [Sun, 29 Jul 2007 02:16:26 +0000 (02:16 +0000)]
Fix 1V adc range on 4020.

17 years agoRenamed Contributors file to AUTHORS.
Frank Mori Hess [Sat, 28 Jul 2007 14:22:23 +0000 (14:22 +0000)]
Renamed Contributors file to AUTHORS.

17 years agoGot rid of useless 3rd parameter of comedi_event().
Frank Mori Hess [Fri, 27 Jul 2007 21:00:12 +0000 (21:00 +0000)]
Got rid of useless 3rd parameter of comedi_event().

17 years agoAdded read_register() and write_register() inline functions for
Frank Mori Hess [Fri, 27 Jul 2007 20:20:36 +0000 (20:20 +0000)]
Added read_register() and write_register() inline functions for
convenience.  Added some support for reading the joint status2 register.

17 years agoMoved s526_gpct_config and s526_ai_config into device private data where
Ian Abbott [Fri, 27 Jul 2007 19:57:00 +0000 (19:57 +0000)]
Moved s526_gpct_config and s526_ai_config into device private data where
they belong.

17 years agoMade s526_ports array const.
Ian Abbott [Fri, 27 Jul 2007 19:52:24 +0000 (19:52 +0000)]
Made s526_ports array const.

17 years agoConstified ranges, board structures, and miscellaneous data.
Ian Abbott [Fri, 27 Jul 2007 19:47:58 +0000 (19:47 +0000)]
Constified ranges, board structures, and miscellaneous data.

17 years agoChange driver name from "dummy" to "mpc8260cpm".
Ian Abbott [Fri, 27 Jul 2007 18:52:25 +0000 (18:52 +0000)]
Change driver name from "dummy" to "mpc8260cpm".

17 years agoFixed a few compiler warnings.
Ian Abbott [Fri, 27 Jul 2007 14:54:26 +0000 (14:54 +0000)]
Fixed a few compiler warnings.

17 years agoTurned off verbose kernel make output to make it easier to spot compiler
Ian Abbott [Fri, 27 Jul 2007 14:25:42 +0000 (14:25 +0000)]
Turned off verbose kernel make output to make it easier to spot compiler
warnings.

17 years agoINSN_CONFIG_GET_CLOCK_SRC now returns the period in data[2] for internal
Ian Abbott [Fri, 27 Jul 2007 14:05:51 +0000 (14:05 +0000)]
INSN_CONFIG_GET_CLOCK_SRC now returns the period in data[2] for internal
clock sources.  (For external and chained clock sources it is set to 0.)

17 years agoProtected use of subdevice runflags with spinlock, since it is modified
Frank Mori Hess [Thu, 26 Jul 2007 20:36:55 +0000 (20:36 +0000)]
Protected use of subdevice runflags with spinlock, since it is modified
in comedi_event().  Replaced most usage of SDF_RUNNING in subdev_flags
with SRF_RUNNING in runflags so I don't have to protect subdev_flags
with a lock too.  Made mite_release_channel() always disarm and
reset mite channel.  Move ack/confirm of counter interrupts/errors
into ni_tio.  Added ni_tio_set_mite_channel(), which acquires
counter's spinlock before modifiying its mite channel.  Added
some missing locking of mite_channel_lock in ni_mio_common.c.

17 years agoAdded mite_done() query to ask if mite channel is currently running,
Frank Mori Hess [Tue, 24 Jul 2007 19:45:09 +0000 (19:45 +0000)]
Added mite_done() query to ask if mite channel is currently running,
handle CHSR_DONE in mite.c now (in mite_get_status() in particular).

17 years agoRemoved include/linux/devfs_fs_kernel.h
Ian Abbott [Tue, 24 Jul 2007 17:47:21 +0000 (17:47 +0000)]
Removed include/linux/devfs_fs_kernel.h
We don't need it now and it causes build to fail for kernel 2.6.23-rc1.

17 years agoDMA works for input with buffered counting on e-series now.
Frank Mori Hess [Tue, 24 Jul 2007 16:15:50 +0000 (16:15 +0000)]
DMA works for input with buffered counting on e-series now.

17 years agoClean Module.symvers in addition to Modules.symvers.
Ian Abbott [Tue, 24 Jul 2007 11:57:12 +0000 (11:57 +0000)]
Clean Module.symvers in addition to Modules.symvers.
(I think the one created depends on the kernel version, so delete both!).

17 years agoAdd jr3_pci.h to EXTRA_DIST.
Ian Abbott [Tue, 24 Jul 2007 11:48:22 +0000 (11:48 +0000)]
Add jr3_pci.h to EXTRA_DIST.

17 years agoGenerate comedi/comedi_kbuild.inc at configure time instead of make time.
Ian Abbott [Tue, 24 Jul 2007 11:37:08 +0000 (11:37 +0000)]
Generate comedi/comedi_kbuild.inc at configure time instead of make time.

17 years agoAdd comedi_fops.h to EXTRA_DIST.
Ian Abbott [Tue, 24 Jul 2007 11:00:40 +0000 (11:00 +0000)]
Add comedi_fops.h to EXTRA_DIST.

17 years agoCorrected driver header comment for PCM-UIO96A (pcmuio96).
Ian Abbott [Mon, 23 Jul 2007 17:13:49 +0000 (17:13 +0000)]
Corrected driver header comment for PCM-UIO96A (pcmuio96).

17 years agoAdd pcmmio driver to Kbuild.
Ian Abbott [Mon, 23 Jul 2007 15:24:49 +0000 (15:24 +0000)]
Add pcmmio driver to Kbuild.

17 years agoHandle removal of struct pt_regs * in 2.6.19 in same way as the other drivers.
Ian Abbott [Mon, 23 Jul 2007 15:22:09 +0000 (15:22 +0000)]
Handle removal of struct pt_regs * in 2.6.19 in same way as the other drivers.

17 years agoAdded little sanity check for buffer overrun of gaindelay array.
Frank Mori Hess [Sun, 22 Jul 2007 02:30:38 +0000 (02:30 +0000)]
Added little sanity check for buffer overrun of gaindelay array.

17 years agoFixed problems with RTI_OVERRUN bit in ai read insn.
Frank Mori Hess [Sun, 22 Jul 2007 02:23:44 +0000 (02:23 +0000)]
Fixed problems with RTI_OVERRUN bit in ai read insn.

17 years agoGot rid of unnecessary casts when initializing comedi_driver.board_name
Frank Mori Hess [Mon, 16 Jul 2007 19:26:52 +0000 (19:26 +0000)]
Got rid of unnecessary casts when initializing comedi_driver.board_name

17 years agoFix real-time interrupt handlers for 2.6.19.
Ian Abbott [Mon, 16 Jul 2007 17:39:58 +0000 (17:39 +0000)]
Fix real-time interrupt handlers for 2.6.19.

17 years agoFixed devinfo ioctl for subdevice files (/dev/comediN_subM). Made
Frank Mori Hess [Mon, 16 Jul 2007 14:59:13 +0000 (14:59 +0000)]
Fixed devinfo ioctl for subdevice files (/dev/comediN_subM).  Made
comedi subdevice type defines into an enum.

17 years agoFixed compile warning.
Frank Mori Hess [Mon, 16 Jul 2007 14:50:43 +0000 (14:50 +0000)]
Fixed compile warning.

17 years agoBuffered counting with dma works now for m-series boards.
Frank Mori Hess [Fri, 13 Jul 2007 20:27:55 +0000 (20:27 +0000)]
Buffered counting with dma works now for m-series boards.
Made attempt to read/write pfi port with e-series fail
loudly instead of silently.  Added support for digital
input filters on pfi ports for m-series.  Fixed some random
bugs.

17 years agoAdded enum of digital PFI filters on m-series.
Frank Mori Hess [Thu, 12 Jul 2007 14:55:41 +0000 (14:55 +0000)]
Added enum of digital PFI filters on m-series.

17 years agoHad edge and level gating swapped
Frank Mori Hess [Thu, 12 Jul 2007 13:47:27 +0000 (13:47 +0000)]
Had edge and level gating swapped

17 years agoAdded support for reading/writing Gi_DMA_Status/Config registers.
Frank Mori Hess [Wed, 11 Jul 2007 14:27:43 +0000 (14:27 +0000)]
Added support for reading/writing Gi_DMA_Status/Config registers.

17 years agoClear gpct mite interrupts.
Frank Mori Hess [Tue, 10 Jul 2007 18:22:09 +0000 (18:22 +0000)]
Clear gpct mite interrupts.

17 years agoAdded buf_change functions for gpct subdevices.
Frank Mori Hess [Tue, 10 Jul 2007 15:37:07 +0000 (15:37 +0000)]
Added buf_change functions for gpct subdevices.

17 years agoPreserve state of Gi_DMA_Config register bits.
Frank Mori Hess [Tue, 10 Jul 2007 13:18:34 +0000 (13:18 +0000)]
Preserve state of Gi_DMA_Config register bits.

17 years agoPut ni_gpct_device pointer in ni_gpct struct, so it doesn't have to
Frank Mori Hess [Tue, 10 Jul 2007 13:01:20 +0000 (13:01 +0000)]
Put ni_gpct_device pointer in ni_gpct struct, so it doesn't have to
be passed around everywhere as a separate parameter.

17 years agoRealized that "struct ni_gpct" needs to have a "ni_gpct_device"
Frank Mori Hess [Mon, 9 Jul 2007 20:12:56 +0000 (20:12 +0000)]
Realized that "struct ni_gpct" needs to have a "ni_gpct_device"
struct split out of it, which is shared by all counters on a board.

Need to hold mite_channel_lock in ni_mio_common when calling ni_tio
functions that use mite channel.