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.
Frank Mori Hess [Mon, 13 Aug 2007 15:05:53 +0000 (15:05 +0000)]
NULL inttrig in do_become_nonbusy().
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.
Frank Mori Hess [Thu, 9 Aug 2007 19:17:57 +0000 (19:17 +0000)]
Added bit definitions for NI m-series correlated dio registers.
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.
Frank Mori Hess [Thu, 9 Aug 2007 13:03:37 +0000 (13:03 +0000)]
NI counters don't really support stop_src TRIG_COUNT.
Frank Mori Hess [Thu, 9 Aug 2007 12:58:26 +0000 (12:58 +0000)]
Made mite_done() update done status by reading status register.
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.
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().
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.
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.
Ian Abbott [Mon, 6 Aug 2007 11:19:19 +0000 (11:19 +0000)]
Corrected pathname in file header comment.
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
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.
Ian Abbott [Mon, 6 Aug 2007 10:07:16 +0000 (10:07 +0000)]
Changed description line.
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).
Frank Mori Hess [Wed, 1 Aug 2007 19:46:36 +0000 (19:46 +0000)]
Autogenerated ChangeLog with "cvs2cl -t"
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.
Frank Mori Hess [Wed, 1 Aug 2007 19:10:52 +0000 (19:10 +0000)]
Fixed "make uninstall". "make distcheck" passes now.
Ian Abbott [Wed, 1 Aug 2007 17:33:37 +0000 (17:33 +0000)]
Removed third parameter of calls to comedi_event().
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.
Frank Mori Hess [Wed, 1 Aug 2007 17:19:51 +0000 (17:19 +0000)]
Have "make install" respect configure prefix.
Frank Mori Hess [Wed, 1 Aug 2007 15:16:53 +0000 (15:16 +0000)]
Fixed test for rpm program.
Frank Mori Hess [Wed, 1 Aug 2007 14:55:19 +0000 (14:55 +0000)]
VPATH build works now.
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.
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.
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.
Ian Abbott [Wed, 1 Aug 2007 10:52:57 +0000 (10:52 +0000)]
Documented PCI bus/slot options.
Frank Mori Hess [Tue, 31 Jul 2007 19:53:20 +0000 (19:53 +0000)]
simplified autogen.sh
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
Frank Mori Hess [Tue, 31 Jul 2007 18:39:16 +0000 (18:39 +0000)]
Add driver docs into drivers.txt in sorted order.
Frank Mori Hess [Tue, 31 Jul 2007 14:45:16 +0000 (14:45 +0000)]
Updated Bernd Porr's email.
Frank Mori Hess [Tue, 31 Jul 2007 14:15:28 +0000 (14:15 +0000)]
Cleaned up some compiler warnings.
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.
Frank Mori Hess [Tue, 31 Jul 2007 14:04:38 +0000 (14:04 +0000)]
Disable pcmcia by default until someone fixes it.
Frank Mori Hess [Tue, 31 Jul 2007 13:53:08 +0000 (13:53 +0000)]
Don't bother running scripts on .mod.c files.
Ian Abbott [Mon, 30 Jul 2007 10:23:57 +0000 (10:23 +0000)]
Replaced 'Contributors' with 'AUTHORS' in EXTRA_DIST.
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.
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.
Frank Mori Hess [Sun, 29 Jul 2007 02:16:26 +0000 (02:16 +0000)]
Fix 1V adc range on 4020.
Frank Mori Hess [Sat, 28 Jul 2007 14:22:23 +0000 (14:22 +0000)]
Renamed Contributors file to AUTHORS.
Frank Mori Hess [Fri, 27 Jul 2007 21:00:12 +0000 (21:00 +0000)]
Got rid of useless 3rd parameter of comedi_event().
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.
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.
Ian Abbott [Fri, 27 Jul 2007 19:52:24 +0000 (19:52 +0000)]
Made s526_ports array const.
Ian Abbott [Fri, 27 Jul 2007 19:47:58 +0000 (19:47 +0000)]
Constified ranges, board structures, and miscellaneous data.
Ian Abbott [Fri, 27 Jul 2007 18:52:25 +0000 (18:52 +0000)]
Change driver name from "dummy" to "mpc8260cpm".
Ian Abbott [Fri, 27 Jul 2007 14:54:26 +0000 (14:54 +0000)]
Fixed a few compiler warnings.
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.
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.)
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.
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).
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.
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.
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!).
Ian Abbott [Tue, 24 Jul 2007 11:48:22 +0000 (11:48 +0000)]
Add jr3_pci.h to EXTRA_DIST.
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.
Ian Abbott [Tue, 24 Jul 2007 11:00:40 +0000 (11:00 +0000)]
Add comedi_fops.h to EXTRA_DIST.
Ian Abbott [Mon, 23 Jul 2007 17:13:49 +0000 (17:13 +0000)]
Corrected driver header comment for PCM-UIO96A (pcmuio96).
Ian Abbott [Mon, 23 Jul 2007 15:24:49 +0000 (15:24 +0000)]
Add pcmmio driver to Kbuild.
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.
Frank Mori Hess [Sun, 22 Jul 2007 02:30:38 +0000 (02:30 +0000)]
Added little sanity check for buffer overrun of gaindelay array.
Frank Mori Hess [Sun, 22 Jul 2007 02:23:44 +0000 (02:23 +0000)]
Fixed problems with RTI_OVERRUN bit in ai read insn.
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
Ian Abbott [Mon, 16 Jul 2007 17:39:58 +0000 (17:39 +0000)]
Fix real-time interrupt handlers for 2.6.19.
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.
Frank Mori Hess [Mon, 16 Jul 2007 14:50:43 +0000 (14:50 +0000)]
Fixed compile warning.
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.
Frank Mori Hess [Thu, 12 Jul 2007 14:55:41 +0000 (14:55 +0000)]
Added enum of digital PFI filters on m-series.
Frank Mori Hess [Thu, 12 Jul 2007 13:47:27 +0000 (13:47 +0000)]
Had edge and level gating swapped
Frank Mori Hess [Wed, 11 Jul 2007 14:27:43 +0000 (14:27 +0000)]
Added support for reading/writing Gi_DMA_Status/Config registers.
Frank Mori Hess [Tue, 10 Jul 2007 18:22:09 +0000 (18:22 +0000)]
Clear gpct mite interrupts.
Frank Mori Hess [Tue, 10 Jul 2007 15:37:07 +0000 (15:37 +0000)]
Added buf_change functions for gpct subdevices.
Frank Mori Hess [Tue, 10 Jul 2007 13:18:34 +0000 (13:18 +0000)]
Preserve state of Gi_DMA_Config register bits.
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.
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.
Frank Mori Hess [Fri, 6 Jul 2007 19:12:40 +0000 (19:12 +0000)]
Replaced magic numbers for subdevice indices with an enum. Also,
inching towards gpct command support.
Frank Mori Hess [Fri, 6 Jul 2007 17:08:58 +0000 (17:08 +0000)]
Added some ack'ing of b interrupts, and do acks before handling
interrupts, to avoid a race (which seems possible in theory).
Frank Mori Hess [Fri, 6 Jul 2007 00:05:47 +0000 (00:05 +0000)]
Patch from Anders Blomdell <anders.blomdell@control.lth.se>:
Now it compiles on 2.6.21...
Ian Abbott [Thu, 5 Jul 2007 17:15:59 +0000 (17:15 +0000)]
Replaced direct memory accesses with I/O memory access functions.
Anders Blomdell replaced bitfield types with enum types.
Frank Mori Hess [Tue, 3 Jul 2007 02:44:22 +0000 (02:44 +0000)]
New driver JR3/PCI force sensor board from Anders Blomdell
<anders.blomdell@control.lth.se>
Frank Mori Hess [Thu, 28 Jun 2007 01:20:21 +0000 (01:20 +0000)]
Patch from Anders Blomdell <anders.blomdell@control.lth.se>, fixes
quadrature encoder counting with NI M-series boards.
Ian Abbott [Wed, 27 Jun 2007 15:31:50 +0000 (15:31 +0000)]
Simplified plx9052.h and moved PCI236-specific bits into amplc_pc236.c.
Ian Abbott [Wed, 27 Jun 2007 14:37:02 +0000 (14:37 +0000)]
Allow board-specific names to be used to configure the device. For backwards
compatibility, the driver name can still be used as a wildcard to configure
any supported device.
I'll use this in future plans to support newer versions of the boards,
where a board-specific name has to be used to get at the newer features.
Ian Abbott [Wed, 27 Jun 2007 12:30:37 +0000 (12:30 +0000)]
Support PCI bus/slot configuration options.
Ian Abbott [Wed, 27 Jun 2007 12:24:30 +0000 (12:24 +0000)]
Don't bother reporting any unsupported Amplicon cards that are found.
Ian Abbott [Wed, 27 Jun 2007 12:09:39 +0000 (12:09 +0000)]
Added PCI bus/slot configuration options. Ignored if unset or zero.
Ian Abbott [Wed, 27 Jun 2007 12:00:06 +0000 (12:00 +0000)]
Changed comedi driver_name to "contec_pci_dio". "dummy" was a silly name.
Ian Abbott [Wed, 27 Jun 2007 10:54:55 +0000 (10:54 +0000)]
Replace pci_find_device with pci_get_device, and use pci_dev_get and
pci_dev_put to manage reference count for pci device.
Also, check result of kmalloc in pci_card_list_init.
Ian Abbott [Wed, 27 Jun 2007 10:37:20 +0000 (10:37 +0000)]
Don't ignore return value of comedi_request_irq().
Ian Abbott [Wed, 27 Jun 2007 10:23:44 +0000 (10:23 +0000)]
Update deprecated interrupt flags (SA_SHIRQ => IRQF_SHARED).
Frank Mori Hess [Fri, 22 Jun 2007 20:08:14 +0000 (20:08 +0000)]
A little more code intended to support counter commands eventually.
Frank Mori Hess [Mon, 18 Jun 2007 13:53:00 +0000 (13:53 +0000)]
Fixed disabling of interrupts in mite_setup().
Frank Mori Hess [Fri, 15 Jun 2007 15:29:47 +0000 (15:29 +0000)]
Added a little more on how the ni windows drivers enables mite burst
mode.
Frank Mori Hess [Fri, 15 Jun 2007 14:36:32 +0000 (14:36 +0000)]
Fixed burst mode on dma transfers on pxi-6281
Frank Mori Hess [Wed, 13 Jun 2007 20:43:45 +0000 (20:43 +0000)]
Fixed spurious warnings about AO interrupts not being acked, due to
my recent changes.
Frank Mori Hess [Wed, 13 Jun 2007 18:51:10 +0000 (18:51 +0000)]
Got rid of comedi_subdevice.cmd_cleanup after some reconsideration
(it isn't really needed). Added beginnings of support for NI
general-purpose counter commands.
Frank Mori Hess [Mon, 11 Jun 2007 19:38:26 +0000 (19:38 +0000)]
Take into account different number of dio channels on various
m-series boards.
Frank Mori Hess [Thu, 7 Jun 2007 13:30:21 +0000 (13:30 +0000)]
Added board entry for PCIe-6251, based on device id in email from
Michael Mestre <michael.mestre@free.fr>
Frank Mori Hess [Thu, 7 Jun 2007 13:26:21 +0000 (13:26 +0000)]
Changed 6413 caldac types to ad8804_debug.