comedi.git
22 years agoadded bit about INSN_CONFIGTIMER_1
Frank Mori Hess [Tue, 8 Oct 2002 04:54:19 +0000 (04:54 +0000)]
added bit about INSN_CONFIGTIMER_1

22 years agoadded INSN_CONFIG_TIMER_1
Frank Mori Hess [Tue, 8 Oct 2002 04:53:29 +0000 (04:53 +0000)]
added INSN_CONFIG_TIMER_1

22 years agodon't generate events when there are none
Frank Mori Hess [Thu, 3 Oct 2002 02:27:35 +0000 (02:27 +0000)]
don't generate events when there are none

22 years agotrying to decrease time dma channel is disabled for sake of jr cards
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.

22 years agoFix 671x ao munging (again). This time, with feeling. (Or, correct
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)

22 years agoFix documentation
David Schleef [Mon, 30 Sep 2002 23:21:18 +0000 (23:21 +0000)]
Fix documentation

22 years agoone-liner to fix analog triggering
David Schleef [Mon, 30 Sep 2002 23:20:59 +0000 (23:20 +0000)]
one-liner to fix analog triggering

22 years agoMakes non-DMA mode efficient enough for 620khz input on a 400Mhz K6-2
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

22 years agoAdd meilhaus PCI ID
David Schleef [Wed, 25 Sep 2002 02:31:25 +0000 (02:31 +0000)]
Add meilhaus PCI ID

22 years agoremove #ifdef CONFIG_PCMCIA, since they're wrong (need CONFIG_PCMCIA_MODULE)
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

22 years agofix warning
David Schleef [Wed, 25 Sep 2002 02:24:40 +0000 (02:24 +0000)]
fix warning

22 years agonew drivers
David Schleef [Wed, 25 Sep 2002 02:14:56 +0000 (02:14 +0000)]
new drivers

22 years agoAdd new drivers from Michael Hillmann
David Schleef [Wed, 25 Sep 2002 02:14:47 +0000 (02:14 +0000)]
Add new drivers from Michael Hillmann

22 years agoUpdate buffer code to CVS
David Schleef [Wed, 25 Sep 2002 01:56:00 +0000 (01:56 +0000)]
Update buffer code to CVS

22 years agoFix EOS event
David Schleef [Wed, 25 Sep 2002 01:55:42 +0000 (01:55 +0000)]
Fix EOS event

22 years agoAdd new amplicon drivers
David Schleef [Wed, 25 Sep 2002 01:55:21 +0000 (01:55 +0000)]
Add new amplicon drivers

22 years agonew driver from Ian Abbott <abbotti@mev.co.uk>
David Schleef [Wed, 25 Sep 2002 01:50:43 +0000 (01:50 +0000)]
new driver from Ian Abbott <abbotti@mev.co.uk>

22 years agoWhere the hell was Biggles when we needed him last Saturday?
David Schleef [Wed, 25 Sep 2002 01:35:38 +0000 (01:35 +0000)]
Where the hell was Biggles when we needed him last Saturday?

22 years agochange from bin/sh to bin/bash
David Schleef [Wed, 25 Sep 2002 01:34:34 +0000 (01:34 +0000)]
change from bin/sh to bin/bash

22 years agoChange a 4 to a COMEDI_NDEVICES. Prolong the static allocation
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.

22 years agoupdate documentation list
David Schleef [Wed, 25 Sep 2002 01:33:02 +0000 (01:33 +0000)]
update documentation list

22 years agofix stupid typo. (from someone, don't remember whom)
David Schleef [Wed, 25 Sep 2002 01:31:37 +0000 (01:31 +0000)]
fix stupid typo.  (from someone, don't remember whom)

22 years agoAdd MODULE_LICENSE.
David Schleef [Tue, 24 Sep 2002 19:31:24 +0000 (19:31 +0000)]
Add MODULE_LICENSE.

22 years agoFix Devices line
David Schleef [Fri, 13 Sep 2002 19:47:25 +0000 (19:47 +0000)]
Fix Devices line

22 years agorevert last checkin
David Schleef [Mon, 9 Sep 2002 22:10:43 +0000 (22:10 +0000)]
revert last checkin

22 years agotest to see if 16e-4 has incorrectly documented caldac
David Schleef [Mon, 9 Sep 2002 21:27:42 +0000 (21:27 +0000)]
test to see if 16e-4 has incorrectly documented caldac

22 years agoFix bad bus number comparison.
David Schleef [Mon, 9 Sep 2002 19:00:09 +0000 (19:00 +0000)]
Fix bad bus number comparison.

22 years agoMove buffer info ioctl to new buffer code
David Schleef [Wed, 4 Sep 2002 21:47:03 +0000 (21:47 +0000)]
Move buffer info ioctl to new buffer code

22 years agoChange unused[0] to settling_time_0 to subdevice info structure.
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.

22 years agoend-of-range fix in ao cmdtest, and ao chanlist should be 2.
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.

22 years agoadd timer_open
David Schleef [Wed, 4 Sep 2002 21:42:27 +0000 (21:42 +0000)]
add timer_open

22 years agoack
David Schleef [Wed, 4 Sep 2002 21:41:43 +0000 (21:41 +0000)]
ack

22 years agoremember to reserve buffer after allocating it
David Schleef [Wed, 4 Sep 2002 21:41:08 +0000 (21:41 +0000)]
remember to reserve buffer after allocating it

22 years agomore linux version fixes
David Schleef [Fri, 30 Aug 2002 23:05:17 +0000 (23:05 +0000)]
more linux version fixes

22 years agoCorrect fix for zero-length arrays in gcc-3.0
David Schleef [Fri, 30 Aug 2002 22:50:53 +0000 (22:50 +0000)]
Correct fix for zero-length arrays in gcc-3.0

22 years agoUse make-kpkg's idea of the kernel version, since it doesn't modify
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

22 years agoFix zero-length array
David Schleef [Fri, 30 Aug 2002 22:26:32 +0000 (22:26 +0000)]
Fix zero-length array

22 years agoChange default buffer size to 64kB
David Schleef [Fri, 30 Aug 2002 22:24:26 +0000 (22:24 +0000)]
Change default buffer size to 64kB

22 years agoAllocate 4*PAGE_SIZE for write space instead of 2 pages
David Schleef [Fri, 30 Aug 2002 22:23:50 +0000 (22:23 +0000)]
Allocate 4*PAGE_SIZE for write space instead of 2 pages

22 years agoFix installing to correct directory
David Schleef [Fri, 30 Aug 2002 21:36:39 +0000 (21:36 +0000)]
Fix installing to correct directory

22 years agopatch from Dan Christian.
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

22 years agoPatch for cleaner analog output underrun handling from Ray Kelm
David Schleef [Wed, 28 Aug 2002 23:56:37 +0000 (23:56 +0000)]
Patch for cleaner analog output underrun handling from Ray Kelm

22 years agoonly release regions if we requested them.
Frank Mori Hess [Thu, 8 Aug 2002 00:37:17 +0000 (00:37 +0000)]
only release regions if we requested them.

22 years agofixed freeing of mite resources in detach for pci-1200, re-added allocation
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).

22 years agomaking sure there are no races wrt ai_cmd_running status flag
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

22 years agoswitched to use new COMEDI_CB_OVERFLOW flag
Frank Mori Hess [Fri, 26 Jul 2002 00:24:21 +0000 (00:24 +0000)]
switched to use new COMEDI_CB_OVERFLOW flag

22 years agoremove async->data_len and async->data
David Schleef [Thu, 25 Jul 2002 23:46:09 +0000 (23:46 +0000)]
remove async->data_len and async->data

22 years agoRemove async->data_len globally
David Schleef [Thu, 25 Jul 2002 23:45:33 +0000 (23:45 +0000)]
Remove async->data_len globally

22 years agoStop running on error conditions.
David Schleef [Thu, 25 Jul 2002 23:33:20 +0000 (23:33 +0000)]
Stop running on error conditions.

22 years agoDeprecate a few things, add COMEDI_CB_OVERFLOW
David Schleef [Thu, 25 Jul 2002 23:32:39 +0000 (23:32 +0000)]
Deprecate a few things, add COMEDI_CB_OVERFLOW

22 years agoUpdate DMA code for recent buffer changes
David Schleef [Thu, 25 Jul 2002 23:31:45 +0000 (23:31 +0000)]
Update DMA code for recent buffer changes

22 years agoMigrated COMEDI_CB_ERROR to OVERFLOW where necessary
David Schleef [Thu, 25 Jul 2002 23:31:13 +0000 (23:31 +0000)]
Migrated COMEDI_CB_ERROR to OVERFLOW where necessary

22 years agoFixed n_aochan for 6110
David Schleef [Thu, 25 Jul 2002 20:27:10 +0000 (20:27 +0000)]
Fixed n_aochan for 6110

22 years agoRemove SDF_RT
David Schleef [Thu, 25 Jul 2002 20:07:26 +0000 (20:07 +0000)]
Remove SDF_RT

22 years agoremove comedi_buf_copy_from
David Schleef [Thu, 25 Jul 2002 19:57:49 +0000 (19:57 +0000)]
remove comedi_buf_copy_from

22 years agoremove usage of comedi_buf_copy_from()
David Schleef [Thu, 25 Jul 2002 19:57:32 +0000 (19:57 +0000)]
remove usage of comedi_buf_copy_from()

22 years agoremove dead code
David Schleef [Thu, 25 Jul 2002 19:45:48 +0000 (19:45 +0000)]
remove dead code

22 years agoAdd comedi_debug symbol and make DPRINTK() conditional on it.
David Schleef [Thu, 25 Jul 2002 19:37:18 +0000 (19:37 +0000)]
Add comedi_debug symbol and make DPRINTK() conditional on it.

22 years agoFix spelling error
David Schleef [Thu, 25 Jul 2002 19:36:37 +0000 (19:36 +0000)]
Fix spelling error

22 years agoAdd comedi_debug symbol.
David Schleef [Thu, 25 Jul 2002 19:36:11 +0000 (19:36 +0000)]
Add comedi_debug symbol.

22 years agoAdd 611x-specific changes for STC/board configuration
David Schleef [Wed, 24 Jul 2002 00:59:53 +0000 (00:59 +0000)]
Add 611x-specific changes for STC/board configuration

22 years agoChange "mystery numbers" to defines in ni_stc.h
David Schleef [Wed, 24 Jul 2002 00:23:15 +0000 (00:23 +0000)]
Change "mystery numbers" to defines in ni_stc.h

22 years agoexport cfc_handle_events
Frank Mori Hess [Fri, 19 Jul 2002 20:09:43 +0000 (20:09 +0000)]
export cfc_handle_events

22 years agofixed initialization of external trigger sources for pcidas-4020, reduced
Frank Mori Hess [Fri, 19 Jul 2002 19:41:29 +0000 (19:41 +0000)]
fixed initialization of external trigger sources for pcidas-4020, reduced
use of preprocessor, started to split some functions out of large ai_cmd()
function

22 years agoadded error handling for failed writes to buffer
Frank Mori Hess [Wed, 17 Jul 2002 21:55:33 +0000 (21:55 +0000)]
added error handling for failed writes to buffer

22 years agocleaning up logic for dealing with 8 bit dma transfers that get interrupted
Frank Mori Hess [Wed, 17 Jul 2002 21:18:19 +0000 (21:18 +0000)]
cleaning up logic for dealing with 8 bit dma transfers that get interrupted
halfway through a sample

22 years agoreplaced prealloc_bufsz with data_len so functions can be used with user-specified
Frank Mori Hess [Wed, 17 Jul 2002 19:10:03 +0000 (19:10 +0000)]
replaced prealloc_bufsz with data_len so functions can be used with user-specified
buffers

22 years agodon't let people run at RT priority
Frank Mori Hess [Wed, 17 Jul 2002 18:53:35 +0000 (18:53 +0000)]
don't let people run at RT priority

22 years agotrying to fix problems people are having with commands working fine, then
Frank Mori Hess [Wed, 17 Jul 2002 00:45:55 +0000 (00:45 +0000)]
trying to fix problems people are having with commands working fine, then
failing when interrupt is set to RT priority.

22 years agoFix conditional for ni_670x driver
David Schleef [Mon, 15 Jul 2002 21:06:05 +0000 (21:06 +0000)]
Fix conditional for ni_670x driver

22 years agoPatch from Christian.Werner@t-online.de (Christian Werner) to add
David Schleef [Mon, 15 Jul 2002 20:59:22 +0000 (20:59 +0000)]
Patch from Christian.Werner@t-online.de (Christian Werner) to add
scan_begin_src=TRIG_EXT support.

22 years agofixed ambiguity in return value of dma_transfer_size() query
Frank Mori Hess [Sun, 14 Jul 2002 22:44:35 +0000 (22:44 +0000)]
fixed ambiguity in return value of dma_transfer_size() query

22 years agofixing end of scan events in some drivers
Frank Mori Hess [Sun, 14 Jul 2002 22:33:37 +0000 (22:33 +0000)]
fixing end of scan events in some drivers

22 years agoMore buffer fixes. AI and AO work now.
David Schleef [Tue, 9 Jul 2002 03:35:16 +0000 (03:35 +0000)]
More buffer fixes.  AI and AO work now.

22 years agoFixes for more buffer changes
David Schleef [Tue, 9 Jul 2002 02:58:45 +0000 (02:58 +0000)]
Fixes for more buffer changes

22 years agoclean up warning
David Schleef [Tue, 9 Jul 2002 01:58:48 +0000 (01:58 +0000)]
clean up warning

22 years agoMove buffer inlines to comedi/drivers.c. Rewrite as consistent
David Schleef [Tue, 9 Jul 2002 00:31:41 +0000 (00:31 +0000)]
Move buffer inlines to comedi/drivers.c.  Rewrite as consistent
primitives.  Change buf_dirty_count to buf_free_count.

22 years agomoo
David Schleef [Tue, 9 Jul 2002 00:27:49 +0000 (00:27 +0000)]
moo

22 years agoRemove timer_poll.
David Schleef [Tue, 9 Jul 2002 00:25:55 +0000 (00:25 +0000)]
Remove timer_poll.

22 years agomoved inc/dec of use count from comedi_lock/unlock() to comedi_open/close().
Frank Mori Hess [Tue, 9 Jul 2002 00:15:30 +0000 (00:15 +0000)]
moved inc/dec of use count from comedi_lock/unlock() to comedi_open/close().
Added a comedi_switch_to_non_rt() in comedi_cancel()

22 years agofix warnings
David Schleef [Tue, 9 Jul 2002 00:15:16 +0000 (00:15 +0000)]
fix warnings

22 years agoRemove bogus warning
David Schleef [Mon, 8 Jul 2002 23:59:21 +0000 (23:59 +0000)]
Remove bogus warning

22 years agonone
David Schleef [Mon, 8 Jul 2002 21:53:04 +0000 (21:53 +0000)]
none

22 years agonone
David Schleef [Mon, 8 Jul 2002 21:50:07 +0000 (21:50 +0000)]
none

22 years agotest
David Schleef [Mon, 8 Jul 2002 21:33:41 +0000 (21:33 +0000)]
test

22 years agofix integer overflow with mite_bytes_transferred()
Frank Mori Hess [Sun, 7 Jul 2002 05:54:07 +0000 (05:54 +0000)]
fix integer overflow with mite_bytes_transferred()

22 years agogot rid of useless attempt to avoid handling spurious interrupt during attach
Frank Mori Hess [Sun, 7 Jul 2002 04:52:38 +0000 (04:52 +0000)]
got rid of useless attempt to avoid handling spurious interrupt during attach

22 years agoFirst pass at revised buffer system, hopefully didn't create too many new
Frank Mori Hess [Fri, 5 Jul 2002 23:01:50 +0000 (23:01 +0000)]
First pass at revised buffer system, hopefully didn't create too many new
bugs.  Tested analog input command with comedi_test module, haven't tried
analog output.

22 years agoconverted to use comedi_buf_put()
Frank Mori Hess [Fri, 5 Jul 2002 22:23:26 +0000 (22:23 +0000)]
converted to use comedi_buf_put()

22 years agoconverted to use comedi_buf_put()
Frank Mori Hess [Fri, 5 Jul 2002 22:16:56 +0000 (22:16 +0000)]
converted to use comedi_buf_put()

22 years agoconverted to comedi_buf_put() and got rid of bogus range switching in interrupt
Frank Mori Hess [Fri, 5 Jul 2002 22:08:32 +0000 (22:08 +0000)]
converted to comedi_buf_put() and got rid of bogus range switching in interrupt

22 years agoconverted to use comedi_buf_put()
Frank Mori Hess [Fri, 5 Jul 2002 22:00:57 +0000 (22:00 +0000)]
converted to use comedi_buf_put()

22 years agopartial conversion to comedi_buf_put/get()
Frank Mori Hess [Fri, 5 Jul 2002 21:20:39 +0000 (21:20 +0000)]
partial conversion to comedi_buf_put/get()

22 years agoconverted to use comedi_buf_put()
Frank Mori Hess [Fri, 5 Jul 2002 20:10:40 +0000 (20:10 +0000)]
converted to use comedi_buf_put()

22 years agoconverted to use comedi_buf_put()
Frank Mori Hess [Fri, 5 Jul 2002 19:52:00 +0000 (19:52 +0000)]
converted to use comedi_buf_put()

22 years agoUpdate from Calin
David Schleef [Fri, 5 Jul 2002 18:55:58 +0000 (18:55 +0000)]
Update from Calin

22 years agoRevert last check in
David Schleef [Fri, 5 Jul 2002 18:51:02 +0000 (18:51 +0000)]
Revert last check in

22 years agoFix for unresolved symbols with RTLinux
David Schleef [Fri, 5 Jul 2002 18:45:47 +0000 (18:45 +0000)]
Fix for unresolved symbols with RTLinux

22 years agoFix munging on 671x boards
David Schleef [Fri, 5 Jul 2002 18:23:01 +0000 (18:23 +0000)]
Fix munging on 671x boards

22 years agodealt with possible race in using plx dma control/status register
Frank Mori Hess [Fri, 5 Jul 2002 00:35:45 +0000 (00:35 +0000)]
dealt with possible race in using plx dma control/status register