Frank Mori Hess [Wed, 20 Nov 2002 15:27:09 +0000 (15:27 +0000)]
changed all if(boardtype.reg_611x) in analog output code to if(boardtype.ao_671x)
to try and get 671x boards to work too.
Frank Mori Hess [Wed, 20 Nov 2002 00:40:59 +0000 (00:40 +0000)]
added log message on overrun
Frank Mori Hess [Tue, 19 Nov 2002 23:49:01 +0000 (23:49 +0000)]
Added capability to bufinfo ioctl for marking bytes written and renamed its members.
Changed prototype of RT version of comedi_request_irq to make dev_id a comedi_device* instead of a void*
since it is assumed to be so elsewhere in rt code. Made comedi_switch_to_rt return an int
so it is able to return error on failure. Fixes for overrun/underrun checking with dma in ni_mio_common.
David Schleef [Tue, 19 Nov 2002 20:59:19 +0000 (20:59 +0000)]
Change bit identification for CIO-DAS16/330 from 0x00 to 0xf0.
Frank Mori Hess [Tue, 19 Nov 2002 19:44:51 +0000 (19:44 +0000)]
make sure dithering is off during ai commands
Frank Mori Hess [Tue, 19 Nov 2002 13:42:29 +0000 (13:42 +0000)]
fixed disabling of dma when using TRIG_WAKE_EOS
Frank Mori Hess [Tue, 19 Nov 2002 13:24:09 +0000 (13:24 +0000)]
fixed clearing of bits in adc_control1 register
Frank Mori Hess [Mon, 18 Nov 2002 23:45:44 +0000 (23:45 +0000)]
disabled checking for supported aref
David Schleef [Mon, 18 Nov 2002 23:32:11 +0000 (23:32 +0000)]
update
David Schleef [Mon, 18 Nov 2002 23:31:49 +0000 (23:31 +0000)]
Add test for SDF aref flags
Frank Mori Hess [Mon, 18 Nov 2002 21:49:51 +0000 (21:49 +0000)]
added udelay in ai read insn while waiting for conversion, added udelay between
writing lsb and msb of analog output (stab in the dark to get daqcard-1200 to work)
Frank Mori Hess [Mon, 18 Nov 2002 17:14:48 +0000 (17:14 +0000)]
fix for external start source
Frank Mori Hess [Mon, 18 Nov 2002 17:03:06 +0000 (17:03 +0000)]
added checking for valid aref. 611x calibration support.
Frank Mori Hess [Fri, 15 Nov 2002 17:33:34 +0000 (17:33 +0000)]
Working dma analog input and output with NI 611x cards, tested 6024 to make
sure we didn't break it's analog input. DMA analog output with other boards
still needs to be tested by someone. Patch is from me, Rolf Mueller,
John Hallen, Herbert Peremans, Herman Bruyninckx.
David Schleef [Fri, 8 Nov 2002 22:15:28 +0000 (22:15 +0000)]
new tests
David Schleef [Fri, 8 Nov 2002 22:01:03 +0000 (22:01 +0000)]
Add COMEDI_INITCLEANUP_NOMODULE()
David Schleef [Fri, 8 Nov 2002 22:00:38 +0000 (22:00 +0000)]
Fix bugs noticed by check_driver
David Schleef [Fri, 8 Nov 2002 21:59:53 +0000 (21:59 +0000)]
fix symbol leakage
David Schleef [Fri, 8 Nov 2002 21:59:41 +0000 (21:59 +0000)]
change inline to static line, to fix symbol leakage
David Schleef [Fri, 8 Nov 2002 21:53:28 +0000 (21:53 +0000)]
Cleanup. Remove unused functions.
David Schleef [Fri, 8 Nov 2002 21:52:51 +0000 (21:52 +0000)]
Random cleanup. Remove (usused) AI subdevice, remove lots of
comments copied from the skel driver
David Schleef [Fri, 8 Nov 2002 21:50:18 +0000 (21:50 +0000)]
Add fingerprinting, fix outb() calls
David Schleef [Fri, 8 Nov 2002 21:49:28 +0000 (21:49 +0000)]
Add debugging
David Schleef [Fri, 8 Nov 2002 03:13:21 +0000 (03:13 +0000)]
Change insn->data[] to data[], since insn->data points to user space
David Schleef [Thu, 7 Nov 2002 19:41:24 +0000 (19:41 +0000)]
Instructions for anonymous CVS
David Schleef [Wed, 6 Nov 2002 19:20:32 +0000 (19:20 +0000)]
Move plx9052 definitions to new header
David Schleef [Wed, 6 Nov 2002 19:18:54 +0000 (19:18 +0000)]
Pull definitions for PLX-9052 from amplc_pc236.c
David Schleef [Tue, 5 Nov 2002 06:55:52 +0000 (06:55 +0000)]
Add spin locking to win_out()
David Schleef [Tue, 5 Nov 2002 06:55:24 +0000 (06:55 +0000)]
temporarily remove spinlocks
David Schleef [Tue, 5 Nov 2002 06:54:43 +0000 (06:54 +0000)]
Add specs for 6036E
David Schleef [Tue, 5 Nov 2002 06:54:02 +0000 (06:54 +0000)]
Move NI-DAQ-DIO24 into if CONFIG_PCMCIA
David Schleef [Tue, 5 Nov 2002 06:52:41 +0000 (06:52 +0000)]
new driver
David Schleef [Tue, 5 Nov 2002 06:52:06 +0000 (06:52 +0000)]
New driver
Frank Mori Hess [Mon, 4 Nov 2002 15:54:31 +0000 (15:54 +0000)]
fixed detach so it only tries to release ioports if it has allocated them
Frank Mori Hess [Sun, 3 Nov 2002 16:33:15 +0000 (16:33 +0000)]
fix possibility of endless loop when divisor > 0x80000000
David Schleef [Tue, 29 Oct 2002 00:43:41 +0000 (00:43 +0000)]
Add preliminary command support
Frank Mori Hess [Sun, 27 Oct 2002 03:30:17 +0000 (03:30 +0000)]
changed prototype of comedi_map() to prevent bogus compiler warnings
Frank Mori Hess [Sun, 27 Oct 2002 03:25:35 +0000 (03:25 +0000)]
fixed some % that were supposed to be &
Frank Mori Hess [Sat, 26 Oct 2002 04:23:52 +0000 (04:23 +0000)]
fixing shared interrupts for comedi boards when using RT patch
Frank Mori Hess [Fri, 11 Oct 2002 00:37:29 +0000 (00:37 +0000)]
fixed off by one error in calculation of fifo size, fixed TRIG_WAKE_EOS
with non 4020 boards
David Schleef [Thu, 10 Oct 2002 01:19:56 +0000 (01:19 +0000)]
Fix for not calculating buffer fullness through a counter wraparound
David Schleef [Thu, 10 Oct 2002 01:17:39 +0000 (01:17 +0000)]
Fix problem detecting DMA overflows at buffer wraparound
Frank Mori Hess [Tue, 8 Oct 2002 22:35:03 +0000 (22:35 +0000)]
added brief description for INSN_CONFIG_TIMER_1
Frank Mori Hess [Tue, 8 Oct 2002 22:34:30 +0000 (22:34 +0000)]
Added some more locking for software copies of register bits that
can be manipulated in interrupt. Fixed return of -EAGAIN when
external master clock divisor is out of valid range.
Frank Mori Hess [Tue, 8 Oct 2002 04:55:43 +0000 (04:55 +0000)]
added support for external master clock, and commited some code reorganization
that had been lying around for a while
Frank Mori Hess [Tue, 8 Oct 2002 04:54:19 +0000 (04:54 +0000)]
added bit about INSN_CONFIGTIMER_1
Frank Mori Hess [Tue, 8 Oct 2002 04:53:29 +0000 (04:53 +0000)]
added INSN_CONFIG_TIMER_1
Frank Mori Hess [Thu, 3 Oct 2002 02:27:35 +0000 (02:27 +0000)]
don't generate events when there are none
Frank Mori Hess [Tue, 1 Oct 2002 02:47:00 +0000 (02:47 +0000)]
trying to decrease time dma channel is disabled for sake of jr cards
without fifo. Also got rid of deprecated virt_to_bus() calls.
David Schleef [Mon, 30 Sep 2002 23:48:51 +0000 (23:48 +0000)]
Fix 671x ao munging (again). This time, with feeling. (Or, correct
unipolar/bipolar behavior)
David Schleef [Mon, 30 Sep 2002 23:21:18 +0000 (23:21 +0000)]
Fix documentation
David Schleef [Mon, 30 Sep 2002 23:20:59 +0000 (23:20 +0000)]
one-liner to fix analog triggering
David Schleef [Mon, 30 Sep 2002 23:20:23 +0000 (23:20 +0000)]
Makes non-DMA mode efficient enough for 620khz input on a 400Mhz K6-2
(uses "about" instead of "sample" counter)
Make DMA abort/initialization more consistent
Makes the board initialization more closely match the RTD supplied
driver
Be more consistent about error messages
Detect read buffer overflow and abort transfer
Disable DMA by default
David Schleef [Wed, 25 Sep 2002 02:31:25 +0000 (02:31 +0000)]
Add meilhaus PCI ID
David Schleef [Wed, 25 Sep 2002 02:30:49 +0000 (02:30 +0000)]
remove #ifdef CONFIG_PCMCIA, since they're wrong (need CONFIG_PCMCIA_MODULE)
and compilation is already conditional on PCMCIA
David Schleef [Wed, 25 Sep 2002 02:24:40 +0000 (02:24 +0000)]
fix warning
David Schleef [Wed, 25 Sep 2002 02:14:56 +0000 (02:14 +0000)]
new drivers
David Schleef [Wed, 25 Sep 2002 02:14:47 +0000 (02:14 +0000)]
Add new drivers from Michael Hillmann
David Schleef [Wed, 25 Sep 2002 01:56:00 +0000 (01:56 +0000)]
Update buffer code to CVS
David Schleef [Wed, 25 Sep 2002 01:55:42 +0000 (01:55 +0000)]
Fix EOS event
David Schleef [Wed, 25 Sep 2002 01:55:21 +0000 (01:55 +0000)]
Add new amplicon drivers
David Schleef [Wed, 25 Sep 2002 01:50:43 +0000 (01:50 +0000)]
new driver from Ian Abbott <abbotti@mev.co.uk>
David Schleef [Wed, 25 Sep 2002 01:35:38 +0000 (01:35 +0000)]
Where the hell was Biggles when we needed him last Saturday?
David Schleef [Wed, 25 Sep 2002 01:34:34 +0000 (01:34 +0000)]
change from bin/sh to bin/bash
David Schleef [Wed, 25 Sep 2002 01:33:40 +0000 (01:33 +0000)]
Change a 4 to a COMEDI_NDEVICES. Prolong the static allocation
dumbness.
David Schleef [Wed, 25 Sep 2002 01:33:02 +0000 (01:33 +0000)]
update documentation list
David Schleef [Wed, 25 Sep 2002 01:31:37 +0000 (01:31 +0000)]
fix stupid typo. (from someone, don't remember whom)
David Schleef [Tue, 24 Sep 2002 19:31:24 +0000 (19:31 +0000)]
Add MODULE_LICENSE.
David Schleef [Fri, 13 Sep 2002 19:47:25 +0000 (19:47 +0000)]
Fix Devices line
David Schleef [Mon, 9 Sep 2002 22:10:43 +0000 (22:10 +0000)]
revert last checkin
David Schleef [Mon, 9 Sep 2002 21:27:42 +0000 (21:27 +0000)]
test to see if 16e-4 has incorrectly documented caldac
David Schleef [Mon, 9 Sep 2002 19:00:09 +0000 (19:00 +0000)]
Fix bad bus number comparison.
David Schleef [Wed, 4 Sep 2002 21:47:03 +0000 (21:47 +0000)]
Move buffer info ioctl to new buffer code
David Schleef [Wed, 4 Sep 2002 21:44:45 +0000 (21:44 +0000)]
Change unused[0] to settling_time_0 to subdevice info structure.
Not exactly sure of the specification for it, though.
David Schleef [Wed, 4 Sep 2002 21:43:22 +0000 (21:43 +0000)]
end-of-range fix in ao cmdtest, and ao chanlist should be 2.
David Schleef [Wed, 4 Sep 2002 21:42:27 +0000 (21:42 +0000)]
add timer_open
David Schleef [Wed, 4 Sep 2002 21:41:43 +0000 (21:41 +0000)]
ack
David Schleef [Wed, 4 Sep 2002 21:41:08 +0000 (21:41 +0000)]
remember to reserve buffer after allocating it
David Schleef [Fri, 30 Aug 2002 23:05:17 +0000 (23:05 +0000)]
more linux version fixes
David Schleef [Fri, 30 Aug 2002 22:50:53 +0000 (22:50 +0000)]
Correct fix for zero-length arrays in gcc-3.0
David Schleef [Fri, 30 Aug 2002 22:27:20 +0000 (22:27 +0000)]
Use make-kpkg's idea of the kernel version, since it doesn't modify
the toplevel kernel Makefile
David Schleef [Fri, 30 Aug 2002 22:26:32 +0000 (22:26 +0000)]
Fix zero-length array
David Schleef [Fri, 30 Aug 2002 22:24:26 +0000 (22:24 +0000)]
Change default buffer size to 64kB
David Schleef [Fri, 30 Aug 2002 22:23:50 +0000 (22:23 +0000)]
Allocate 4*PAGE_SIZE for write space instead of 2 pages
David Schleef [Fri, 30 Aug 2002 21:36:39 +0000 (21:36 +0000)]
Fix installing to correct directory
David Schleef [Thu, 29 Aug 2002 00:01:11 +0000 (00:01 +0000)]
patch from Dan Christian.
- DMA support (experimental)
- Fix timing limits to properly handle single channel and multi channel cases
- Stop using the About counter, it really wasn't needed and caused problems
- The usual clean ups and doc improvements
David Schleef [Wed, 28 Aug 2002 23:56:37 +0000 (23:56 +0000)]
Patch for cleaner analog output underrun handling from Ray Kelm
Frank Mori Hess [Thu, 8 Aug 2002 00:37:17 +0000 (00:37 +0000)]
only release regions if we requested them.
Frank Mori Hess [Wed, 7 Aug 2002 17:32:51 +0000 (17:32 +0000)]
fixed freeing of mite resources in detach for pci-1200, re-added allocation
of io mem regions in mite.c (was removed earlier due to my wrong assumption
about the nature of the return value from request_mem_region).
Frank Mori Hess [Fri, 26 Jul 2002 02:21:15 +0000 (02:21 +0000)]
making sure there are no races wrt ai_cmd_running status flag
Frank Mori Hess [Fri, 26 Jul 2002 00:24:21 +0000 (00:24 +0000)]
switched to use new COMEDI_CB_OVERFLOW flag
David Schleef [Thu, 25 Jul 2002 23:46:09 +0000 (23:46 +0000)]
remove async->data_len and async->data
David Schleef [Thu, 25 Jul 2002 23:45:33 +0000 (23:45 +0000)]
Remove async->data_len globally
David Schleef [Thu, 25 Jul 2002 23:33:20 +0000 (23:33 +0000)]
Stop running on error conditions.
David Schleef [Thu, 25 Jul 2002 23:32:39 +0000 (23:32 +0000)]
Deprecate a few things, add COMEDI_CB_OVERFLOW
David Schleef [Thu, 25 Jul 2002 23:31:45 +0000 (23:31 +0000)]
Update DMA code for recent buffer changes
David Schleef [Thu, 25 Jul 2002 23:31:13 +0000 (23:31 +0000)]
Migrated COMEDI_CB_ERROR to OVERFLOW where necessary
David Schleef [Thu, 25 Jul 2002 20:27:10 +0000 (20:27 +0000)]
Fixed n_aochan for 6110
David Schleef [Thu, 25 Jul 2002 20:07:26 +0000 (20:07 +0000)]
Remove SDF_RT
David Schleef [Thu, 25 Jul 2002 19:57:49 +0000 (19:57 +0000)]
remove comedi_buf_copy_from