comedi.git
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

22 years agoNew patch from Dan
David Schleef [Wed, 3 Jul 2002 21:48:02 +0000 (21:48 +0000)]
New patch from Dan

22 years agodisable unapproved defines
David Schleef [Wed, 3 Jul 2002 20:40:25 +0000 (20:40 +0000)]
disable unapproved defines

22 years agonew driver
David Schleef [Wed, 3 Jul 2002 20:37:57 +0000 (20:37 +0000)]
new driver

22 years agoPatch from Dan. Adds a munging list, polling.
David Schleef [Tue, 2 Jul 2002 17:53:42 +0000 (17:53 +0000)]
Patch from Dan.  Adds a munging list, polling.

22 years agoAdded support in cb_pcidas64 driver for user adjusting size of board's
Frank Mori Hess [Mon, 1 Jul 2002 04:01:10 +0000 (04:01 +0000)]
Added support in cb_pcidas64 driver for user adjusting size of board's
hardware fifo (added config insn for adjusting the desired block size for
asynchronous transfers )

22 years agoDriver from "Calin A. Culianu" <calin@ajvar.org>
David Schleef [Thu, 27 Jun 2002 16:12:24 +0000 (16:12 +0000)]
Driver from "Calin A. Culianu" <calin@ajvar.org>

22 years agodisabled hw scan counter until I work out a race with dma transfer
Frank Mori Hess [Tue, 25 Jun 2002 00:40:56 +0000 (00:40 +0000)]
disabled hw scan counter until I work out a race with dma transfer

22 years agofixed length of bitstream for ad8402 trimpot
Frank Mori Hess [Sun, 23 Jun 2002 23:27:47 +0000 (23:27 +0000)]
fixed length of bitstream for ad8402 trimpot

22 years agoadd calibration support for 1602/16 series
Frank Mori Hess [Sun, 23 Jun 2002 23:19:07 +0000 (23:19 +0000)]
add calibration support for 1602/16 series

22 years agomake sure bogus interrupts during ai insn don't cause problems
Frank Mori Hess [Sat, 22 Jun 2002 20:06:41 +0000 (20:06 +0000)]
make sure bogus interrupts during ai insn don't cause problems

22 years agorun ai_cancel() when aquisition is stopped by hardware counter
Frank Mori Hess [Sat, 22 Jun 2002 19:32:02 +0000 (19:32 +0000)]
run ai_cancel() when aquisition is stopped by hardware counter

22 years agobe more careful to avoid lockups that surfaced after adding hardware scan counter...
Frank Mori Hess [Sat, 22 Jun 2002 19:13:23 +0000 (19:13 +0000)]
be more careful to avoid lockups that surfaced after adding hardware scan counter support

22 years agofix for suse brokenness
David Schleef [Fri, 21 Jun 2002 20:01:18 +0000 (20:01 +0000)]
fix for suse brokenness

22 years agoFix ao specs for at-mio-16xe-10
David Schleef [Thu, 20 Jun 2002 18:36:15 +0000 (18:36 +0000)]
Fix ao specs for at-mio-16xe-10

22 years agoenabled trimpot subdevice
Frank Mori Hess [Mon, 17 Jun 2002 23:20:50 +0000 (23:20 +0000)]
enabled trimpot subdevice

22 years agoconverted to use amccs5933 header, and added eeprom/caldac/trimpot subdevices
Frank Mori Hess [Mon, 17 Jun 2002 23:14:34 +0000 (23:14 +0000)]
converted to use amccs5933 header, and added eeprom/caldac/trimpot subdevices

22 years agosome additions so cb_pcidas driver can use this header
Frank Mori Hess [Mon, 17 Jun 2002 15:47:33 +0000 (15:47 +0000)]
some additions so cb_pcidas driver can use this header

22 years agobitwise and should be logical and
Frank Mori Hess [Mon, 17 Jun 2002 15:47:10 +0000 (15:47 +0000)]
bitwise and should be logical and

22 years agomake comedi_buf_put automatically signal block events
Frank Mori Hess [Mon, 17 Jun 2002 15:46:03 +0000 (15:46 +0000)]
make comedi_buf_put automatically signal block events

22 years agoprevent callbacks from getting run when there is no command running
Frank Mori Hess [Mon, 17 Jun 2002 15:45:10 +0000 (15:45 +0000)]
prevent callbacks from getting run when there is no command running

22 years agoadded support for hardware scan counter
Frank Mori Hess [Mon, 17 Jun 2002 15:43:36 +0000 (15:43 +0000)]
added support for hardware scan counter

22 years agoChange subdevice 0 to DIO.
David Schleef [Thu, 13 Jun 2002 22:12:09 +0000 (22:12 +0000)]
Change subdevice 0 to DIO.

22 years agoremove -v option to tar
David Schleef [Fri, 7 Jun 2002 21:07:41 +0000 (21:07 +0000)]
remove -v option to tar

22 years agoversion bump r0_7_65
David Schleef [Fri, 7 Jun 2002 21:01:27 +0000 (21:01 +0000)]
version bump

22 years ago0.7.65
David Schleef [Fri, 7 Jun 2002 21:01:14 +0000 (21:01 +0000)]
0.7.65

22 years agoCleanups suggested by check_driver.
David Schleef [Fri, 7 Jun 2002 20:22:45 +0000 (20:22 +0000)]
Cleanups suggested by check_driver.

22 years agoChanged recently added test to warning
David Schleef [Fri, 7 Jun 2002 20:15:18 +0000 (20:15 +0000)]
Changed recently added test to warning

22 years agoAdded documentation block
David Schleef [Fri, 7 Jun 2002 20:14:46 +0000 (20:14 +0000)]
Added documentation block

22 years agoAdded Description tag
David Schleef [Fri, 7 Jun 2002 20:14:30 +0000 (20:14 +0000)]
Added Description tag

22 years agoFix driver structure, documentation
David Schleef [Fri, 7 Jun 2002 20:14:10 +0000 (20:14 +0000)]
Fix driver structure, documentation

22 years agoAdded documentation
David Schleef [Fri, 7 Jun 2002 20:13:47 +0000 (20:13 +0000)]
Added documentation

22 years ago*** empty log message ***
David Schleef [Fri, 7 Jun 2002 20:12:18 +0000 (20:12 +0000)]
*** empty log message ***

22 years agoRevert 16xe-50 caldacs to manual. Change *-xe-10 to manual.
David Schleef [Fri, 7 Jun 2002 19:55:10 +0000 (19:55 +0000)]
Revert 16xe-50 caldacs to manual.  Change *-xe-10 to manual.

22 years agoclean up warnings
David Schleef [Fri, 7 Jun 2002 19:53:57 +0000 (19:53 +0000)]
clean up warnings

22 years agoChange some caldacs to debug
David Schleef [Fri, 7 Jun 2002 00:03:00 +0000 (00:03 +0000)]
Change some caldacs to debug

22 years agoIgnore more MITE errors, and don't call disable_irq() when something
David Schleef [Fri, 7 Jun 2002 00:02:40 +0000 (00:02 +0000)]
Ignore more MITE errors, and don't call disable_irq() when something
goes wrong.  It's not nice to our neighbors.

22 years agoChange 16xe-50 caldacs to debug. Change max caldacs to 32.
David Schleef [Fri, 7 Jun 2002 00:01:52 +0000 (00:01 +0000)]
Change 16xe-50 caldacs to debug.  Change max caldacs to 32.

22 years agoOnly advertise TRIG_NONE as a stop source, since that's what we
David Schleef [Fri, 7 Jun 2002 00:01:13 +0000 (00:01 +0000)]
Only advertise TRIG_NONE as a stop source, since that's what we
support.

22 years agoFix: make sure to flag a EOS event in interrupts
David Schleef [Fri, 7 Jun 2002 00:00:07 +0000 (00:00 +0000)]
Fix: make sure to flag a EOS event in interrupts

22 years ago*** empty log message ***
David Schleef [Thu, 6 Jun 2002 23:56:14 +0000 (23:56 +0000)]
*** empty log message ***

22 years agofixed analog output insn for 4020
Frank Mori Hess [Mon, 3 Jun 2002 00:04:06 +0000 (00:04 +0000)]
fixed analog output insn for 4020

22 years agoadded pcidas-6023 support
Frank Mori Hess [Sun, 2 Jun 2002 01:27:38 +0000 (01:27 +0000)]
added pcidas-6023 support

22 years agoCOMEDI_CB_* flags are already defined in linux/comedi.h
Frank Mori Hess [Sun, 2 Jun 2002 00:48:21 +0000 (00:48 +0000)]
COMEDI_CB_* flags are already defined in linux/comedi.h

22 years agoadded check in command test for peculiar restrictions on pcidas-4020 chanlists
Frank Mori Hess [Sat, 1 Jun 2002 23:03:55 +0000 (23:03 +0000)]
added check in command test for peculiar restrictions on pcidas-4020 chanlists

22 years agoMake default mode for /dev/comediN 666 in devfs.
David Schleef [Wed, 29 May 2002 20:11:58 +0000 (20:11 +0000)]
Make default mode for /dev/comediN 666 in devfs.

22 years agoFixed AI_START trigger for PFI inputs
David Schleef [Wed, 29 May 2002 04:28:22 +0000 (04:28 +0000)]
Fixed AI_START trigger for PFI inputs

22 years agomade cb_pcidas64 external trigger configuration consistent
Frank Mori Hess [Wed, 29 May 2002 00:17:52 +0000 (00:17 +0000)]
made cb_pcidas64 external trigger configuration consistent

22 years agonew driver from Anders
David Schleef [Mon, 20 May 2002 18:38:53 +0000 (18:38 +0000)]
new driver from Anders

22 years agoAdd ni_ao_reset()
David Schleef [Fri, 17 May 2002 21:14:58 +0000 (21:14 +0000)]
Add ni_ao_reset()

22 years ago*** empty log message ***
David Schleef [Fri, 17 May 2002 20:27:57 +0000 (20:27 +0000)]
*** empty log message ***

22 years agoMostly revert CR_ALT_SOURCE changes and do it differently.
David Schleef [Fri, 17 May 2002 20:26:25 +0000 (20:26 +0000)]
Mostly revert CR_ALT_SOURCE changes and do it differently.

22 years agoMake CR_PACK less strict. Useful for comedilib.
David Schleef [Fri, 17 May 2002 02:23:54 +0000 (02:23 +0000)]
Make CR_PACK less strict.  Useful for comedilib.

22 years agotwiddling some documentation
Frank Mori Hess [Fri, 17 May 2002 01:51:43 +0000 (01:51 +0000)]
twiddling some documentation

22 years agofixed rtai operation by adding start_rt_timer() and stop_rt_timer()
Frank Mori Hess [Fri, 17 May 2002 01:44:05 +0000 (01:44 +0000)]
fixed rtai operation by adding start_rt_timer() and stop_rt_timer()

22 years agoundid some of my wrong changes to try and get analog out working again
Frank Mori Hess [Fri, 17 May 2002 00:00:35 +0000 (00:00 +0000)]
undid some of my wrong changes to try and get analog out working again

22 years agoChange inttrig error handling. Fix spelling errors.
David Schleef [Thu, 16 May 2002 22:37:02 +0000 (22:37 +0000)]
Change inttrig error handling.  Fix spelling errors.

22 years agoChange calibration channel configuration to CR_ALT_SOURCE. Add
David Schleef [Thu, 16 May 2002 22:19:47 +0000 (22:19 +0000)]
Change calibration channel configuration to CR_ALT_SOURCE.  Add
start_src=TRIG_INT to analog input.  Remove (non-working) stop_src=
TRIG_COUNT from analog output.  Fix spelling of SDF_WRITABLE.

22 years agoRemove release_mem_region()
David Schleef [Thu, 16 May 2002 22:16:59 +0000 (22:16 +0000)]
Remove release_mem_region()

22 years agoUpdate documentation
David Schleef [Thu, 16 May 2002 22:16:12 +0000 (22:16 +0000)]
Update documentation