comedi.git
23 years agoFix typo in CONFIG_AMPLC_PCI230
David Schleef [Tue, 4 Sep 2001 00:14:16 +0000 (00:14 +0000)]
Fix typo in CONFIG_AMPLC_PCI230

23 years agoUpdate from Anders
David Schleef [Mon, 3 Sep 2001 23:44:54 +0000 (23:44 +0000)]
Update from Anders

23 years agoUpdate from Allan
David Schleef [Mon, 3 Sep 2001 23:43:49 +0000 (23:43 +0000)]
Update from Allan

23 years agoUpdate from Allan.
David Schleef [Tue, 28 Aug 2001 23:23:44 +0000 (23:23 +0000)]
Update from Allan.

23 years agochanged configuration of input/output ranges to use microvolts instead of
Frank Mori Hess [Tue, 28 Aug 2001 15:26:09 +0000 (15:26 +0000)]
changed configuration of input/output ranges to use microvolts instead of
volts so fractional voltages can be specified

23 years agoupdated cb_pcidas, cb_pcidas64, das16 entries
Frank Mori Hess [Tue, 28 Aug 2001 00:02:54 +0000 (00:02 +0000)]
updated cb_pcidas, cb_pcidas64, das16 entries

23 years agosupports user configurable analog input and output ranges.
Frank Mori Hess [Mon, 27 Aug 2001 23:49:40 +0000 (23:49 +0000)]
supports user configurable analog input and output ranges.

23 years agoterminated with newline
Frank Mori Hess [Mon, 27 Aug 2001 21:36:45 +0000 (21:36 +0000)]
terminated with newline

23 years agopreventing multiple includes
Frank Mori Hess [Mon, 27 Aug 2001 21:32:19 +0000 (21:32 +0000)]
preventing multiple includes

23 years agofixed version checking for 2.2 kernels
Frank Mori Hess [Mon, 27 Aug 2001 21:05:36 +0000 (21:05 +0000)]
fixed version checking for 2.2 kernels

23 years agofixed conflict with poll.h
Frank Mori Hess [Mon, 27 Aug 2001 21:04:54 +0000 (21:04 +0000)]
fixed conflict with poll.h

23 years agoFixes for compilation on 2.0.x
David Schleef [Mon, 27 Aug 2001 09:58:00 +0000 (09:58 +0000)]
Fixes for compilation on 2.0.x

23 years agoAdded -nostdinc flag. Comedi _should_ compile with it.
David Schleef [Mon, 27 Aug 2001 09:56:57 +0000 (09:56 +0000)]
Added -nostdinc flag.  Comedi _should_ compile with it.

23 years agoFixes for compiling with 2.0.x
David Schleef [Mon, 27 Aug 2001 09:55:40 +0000 (09:55 +0000)]
Fixes for compiling with 2.0.x

23 years agoA copy of Configure.help, for use with kbuild-2.5
David Schleef [Mon, 27 Aug 2001 09:52:13 +0000 (09:52 +0000)]
A copy of Configure.help, for use with kbuild-2.5

23 years agoNew driver
David Schleef [Mon, 27 Aug 2001 08:54:16 +0000 (08:54 +0000)]
New driver

23 years agodriver supports insn now, no command support
Frank Mori Hess [Sun, 26 Aug 2001 23:23:33 +0000 (23:23 +0000)]
driver supports insn now, no command support

23 years agoskeleton of a new driver, doesn't do anything yet.
Frank Mori Hess [Sat, 25 Aug 2001 23:49:23 +0000 (23:49 +0000)]
skeleton of a new driver, doesn't do anything yet.

23 years agofixed symbol leaks noted by check_driver
Frank Mori Hess [Fri, 24 Aug 2001 20:15:29 +0000 (20:15 +0000)]
fixed symbol leaks noted by check_driver

23 years agoconverted analog out to TRIG_INT
Frank Mori Hess [Thu, 23 Aug 2001 16:51:30 +0000 (16:51 +0000)]
converted analog out to TRIG_INT

23 years agoadded a comment
Frank Mori Hess [Thu, 23 Aug 2001 16:27:25 +0000 (16:27 +0000)]
added a comment

23 years agoundid some changes i made recently to placement of interrupt clearing
Frank Mori Hess [Thu, 23 Aug 2001 09:06:23 +0000 (09:06 +0000)]
undid some changes i made recently to placement of interrupt clearing
in interrupt handlers

23 years agoupdate
David Schleef [Thu, 23 Aug 2001 05:51:37 +0000 (05:51 +0000)]
update

23 years agoDisabled non-working code
David Schleef [Thu, 23 Aug 2001 05:51:10 +0000 (05:51 +0000)]
Disabled non-working code

23 years agoCleanups.
David Schleef [Thu, 23 Aug 2001 05:50:41 +0000 (05:50 +0000)]
Cleanups.

23 years agoFixed typo
David Schleef [Thu, 23 Aug 2001 05:47:55 +0000 (05:47 +0000)]
Fixed typo

23 years agoAdded ni_670x
David Schleef [Thu, 23 Aug 2001 05:47:34 +0000 (05:47 +0000)]
Added ni_670x

23 years agoforgot to load up fifo in analog out inttrig, fixed typo in dt282x.c, accidentally
Frank Mori Hess [Thu, 23 Aug 2001 04:54:36 +0000 (04:54 +0000)]
forgot to load up fifo in analog out inttrig, fixed typo in dt282x.c, accidentally
commited unknown changes to ni_at_a2150.c I'll have to look at that :)

23 years agotweak to analog out interrupt handler
Frank Mori Hess [Thu, 23 Aug 2001 00:54:13 +0000 (00:54 +0000)]
tweak to analog out interrupt handler

23 years agoUpdated dt282x
David Schleef [Thu, 23 Aug 2001 00:24:20 +0000 (00:24 +0000)]
Updated dt282x

23 years agoconverted to start_src TRIG_INT
Frank Mori Hess [Thu, 23 Aug 2001 00:24:14 +0000 (00:24 +0000)]
converted to start_src TRIG_INT

23 years agoFixed analog output command to use TRIG_INT
David Schleef [Thu, 23 Aug 2001 00:11:14 +0000 (00:11 +0000)]
Fixed analog output command to use TRIG_INT

23 years agoRemoved buffer preloading from comedi_write_v22(). Apps must now
David Schleef [Wed, 22 Aug 2001 23:58:09 +0000 (23:58 +0000)]
Removed buffer preloading from comedi_write_v22().  Apps must now
use start_src=TRIG_INT, issue the command, then cause an internal
trigger.

23 years agoFixed streaming analog output. Converted to using start_src=TRIG_INT
David Schleef [Wed, 22 Aug 2001 23:55:31 +0000 (23:55 +0000)]
Fixed streaming analog output.  Converted to using start_src=TRIG_INT

23 years agoexperimental analog output command support for 1602 series, and fixed bug in analog...
Frank Mori Hess [Wed, 22 Aug 2001 23:36:21 +0000 (23:36 +0000)]
experimental analog output command support for 1602 series, and fixed bug in analog input insn that
i created earlier.

23 years agocleaned up id bit checking, fixed id bits for keithley das16 boards (which was
Frank Mori Hess [Tue, 21 Aug 2001 18:26:02 +0000 (18:26 +0000)]
cleaned up id bit checking, fixed id bits for keithley das16 boards (which was
assumed the same as computer boards das16, but is not).

23 years agosmall change to interrupt handler so it can be made shareable
Frank Mori Hess [Tue, 21 Aug 2001 15:31:35 +0000 (15:31 +0000)]
small change to interrupt handler so it can be made shareable

23 years agoadded support for poll(), and made a bunch of other changes for 'no good reason',
Frank Mori Hess [Mon, 20 Aug 2001 05:01:47 +0000 (05:01 +0000)]
added support for poll(), and made a bunch of other changes for 'no good reason',
although it's a bit more careful about flushing out all the data with
stop_src TRIG_EXT and dma now.  Also, disabled non-conforming interpretation
of stop_arg for TRIG_EXT.

23 years agoadded online version of linux device drivers to reference list
Frank Mori Hess [Mon, 20 Aug 2001 02:37:46 +0000 (02:37 +0000)]
added online version of linux device drivers to reference list

23 years agoadded daqcard-6024e entry
Frank Mori Hess [Mon, 20 Aug 2001 02:36:13 +0000 (02:36 +0000)]
added daqcard-6024e entry

23 years agoUpdates from Robert Schwebel. I also deleted a bunch of obsolete
David Schleef [Mon, 20 Aug 2001 00:49:11 +0000 (00:49 +0000)]
Updates from Robert Schwebel.  I also deleted a bunch of obsolete
stuff and rewrote a few bits that were only moderately wrong.

23 years agofixed clearing of irq flip flop in read insn, so wait for end of conversion
Frank Mori Hess [Sun, 19 Aug 2001 02:27:43 +0000 (02:27 +0000)]
fixed clearing of irq flip flop in read insn, so wait for end of conversion
works properly

23 years agochanges from brent baccula, and added a workaround to avoid weird gcc-2.95.2 bug
Frank Mori Hess [Wed, 15 Aug 2001 23:23:35 +0000 (23:23 +0000)]
changes from brent baccula, and added a workaround to avoid weird gcc-2.95.2 bug
that shows up when compiled against rtlinux-3.1

23 years agoDefine KILL_FASYNC()
David Schleef [Mon, 13 Aug 2001 11:08:42 +0000 (11:08 +0000)]
Define KILL_FASYNC()

23 years agoAdd check on .o file for symbol leakage
David Schleef [Mon, 13 Aug 2001 11:08:05 +0000 (11:08 +0000)]
Add check on .o file for symbol leakage

23 years agoFix symbol leaks
David Schleef [Mon, 13 Aug 2001 11:07:13 +0000 (11:07 +0000)]
Fix symbol leaks

23 years agoWant to keep comedi in comedi/, not drivers/comedi/
David Schleef [Mon, 13 Aug 2001 10:33:15 +0000 (10:33 +0000)]
Want to keep comedi in comedi/, not drivers/comedi/

23 years agoEliminated test on LINUX_V2x in favor of LINUX_VERSION_CODE tests.
David Schleef [Mon, 13 Aug 2001 10:29:19 +0000 (10:29 +0000)]
Eliminated test on LINUX_V2x in favor of LINUX_VERSION_CODE tests.

23 years agoRemove kern_compat, because it isn't used anymore.
David Schleef [Mon, 13 Aug 2001 10:27:54 +0000 (10:27 +0000)]
Remove kern_compat, because it isn't used anymore.
Fixed COMEDI_RELEASE.  Pendantry.

23 years agoAdd error to check if included directly
David Schleef [Mon, 13 Aug 2001 10:26:57 +0000 (10:26 +0000)]
Add error to check if included directly

23 years agoInclude comedidev instead of comedi_rt
David Schleef [Mon, 13 Aug 2001 10:26:28 +0000 (10:26 +0000)]
Include comedidev instead of comedi_rt

23 years agoFix Linux version dependencies
David Schleef [Mon, 13 Aug 2001 10:25:28 +0000 (10:25 +0000)]
Fix Linux version dependencies

23 years agoInitial priority IRQ support
David Schleef [Mon, 13 Aug 2001 10:23:35 +0000 (10:23 +0000)]
Initial priority IRQ support

23 years agoKeep comedi in same directory for now
David Schleef [Mon, 13 Aug 2001 10:21:34 +0000 (10:21 +0000)]
Keep comedi in same directory for now

23 years agoMove header file to the place where header files belong
David Schleef [Mon, 13 Aug 2001 10:01:00 +0000 (10:01 +0000)]
Move header file to the place where header files belong

23 years agoFix include of comedidev.h
David Schleef [Mon, 13 Aug 2001 09:41:27 +0000 (09:41 +0000)]
Fix include of comedidev.h

23 years agoMove define_bool for CONFIG_COMEDI
David Schleef [Mon, 13 Aug 2001 09:39:50 +0000 (09:39 +0000)]
Move define_bool for CONFIG_COMEDI

23 years agoAdded support for kbuild-2.5
David Schleef [Mon, 13 Aug 2001 09:35:33 +0000 (09:35 +0000)]
Added support for kbuild-2.5

23 years agoAdd board code for 6711, remove boards that will never be supported
David Schleef [Fri, 10 Aug 2001 22:29:28 +0000 (22:29 +0000)]
Add board code for 6711, remove boards that will never be supported

23 years agoAdd board code for DAQCard-6024E
David Schleef [Fri, 10 Aug 2001 22:28:42 +0000 (22:28 +0000)]
Add board code for DAQCard-6024E

23 years agoReplace pci_enable_device and add pci_set_master
David Schleef [Fri, 10 Aug 2001 22:28:07 +0000 (22:28 +0000)]
Replace pci_enable_device and add pci_set_master

23 years agoMoved some stuff to comedilib sgml doc
David Schleef [Fri, 10 Aug 2001 22:27:16 +0000 (22:27 +0000)]
Moved some stuff to comedilib sgml doc

23 years ago*** empty log message ***
David Schleef [Fri, 10 Aug 2001 22:26:46 +0000 (22:26 +0000)]
*** empty log message ***

23 years agotook into account possibility of pci_enable_device() failing
Frank Mori Hess [Thu, 9 Aug 2001 23:37:09 +0000 (23:37 +0000)]
took into account possibility of pci_enable_device() failing

23 years agoadded analog out insn for 1602 series
Frank Mori Hess [Thu, 9 Aug 2001 23:36:18 +0000 (23:36 +0000)]
added analog out insn for 1602 series

23 years agofixed pci autodetection that could have been confused by a second computer
Frank Mori Hess [Thu, 9 Aug 2001 17:20:41 +0000 (17:20 +0000)]
fixed pci autodetection that could have been confused by a second computer
boards card being present that was not supported by this driver.

23 years agofix for 2.4 kernels, fix uninitialized use of 'range' variable in pci230_ai_cmd()
Frank Mori Hess [Thu, 9 Aug 2001 16:45:27 +0000 (16:45 +0000)]
fix for 2.4 kernels, fix uninitialized use of 'range' variable in pci230_ai_cmd()

23 years agofixes for amplc_pci230.c
David Schleef [Thu, 9 Aug 2001 09:10:19 +0000 (09:10 +0000)]
fixes for amplc_pci230.c

23 years agoNew driver
David Schleef [Thu, 9 Aug 2001 08:18:52 +0000 (08:18 +0000)]
New driver

23 years agoA new driver from Allan Willcox.
David Schleef [Thu, 9 Aug 2001 08:18:42 +0000 (08:18 +0000)]
A new driver from Allan Willcox.

23 years agoadded pcidas-1602/16/jr entry
Frank Mori Hess [Mon, 6 Aug 2001 21:58:30 +0000 (21:58 +0000)]
added pcidas-1602/16/jr entry

23 years agoadded analog out insn for 1000 and 1200 series
Frank Mori Hess [Mon, 6 Aug 2001 21:48:05 +0000 (21:48 +0000)]
added analog out insn for 1000 and 1200 series

23 years agofix for 16 bit cards with smaller 512 sample fifo. some preparations for adding
Frank Mori Hess [Fri, 3 Aug 2001 20:37:55 +0000 (20:37 +0000)]
fix for 16 bit cards with smaller 512 sample fifo.  some preparations for adding
analog out support

23 years agofixed bug in cmdtest level 2
Frank Mori Hess [Thu, 2 Aug 2001 18:06:57 +0000 (18:06 +0000)]
fixed bug in cmdtest level 2

23 years agoremoved a bunch of unnecessary address-of operators which seem logically wrong, although
Frank Mori Hess [Thu, 2 Aug 2001 02:05:22 +0000 (02:05 +0000)]
removed a bunch of unnecessary address-of operators which seem logically wrong, although
this don't have any actual effect since gcc just seems to ignore them anyways.

23 years agomaking the common 'subdevice does not support commands' debugging message
Frank Mori Hess [Thu, 2 Aug 2001 01:33:45 +0000 (01:33 +0000)]
making the common 'subdevice does not support commands' debugging message
slightly more informative

23 years agoRearrange flags used for both cmd and trig. Added COMEDI_EV flags.
David Schleef [Wed, 1 Aug 2001 12:25:49 +0000 (12:25 +0000)]
Rearrange flags used for both cmd and trig.  Added COMEDI_EV flags.

23 years agoEnabled PCIDMA by default. Moved various functions into #ifdefs
David Schleef [Wed, 1 Aug 2001 12:13:16 +0000 (12:13 +0000)]
Enabled PCIDMA by default.  Moved various functions into #ifdefs
on PCIDMA.  Code cleanup.  Changed sign bit fixing sequences to
be addition.  Removed interrupt enabling in ni_ai_insn_read().

23 years agoversion bump
David Schleef [Wed, 1 Aug 2001 12:09:00 +0000 (12:09 +0000)]
version bump

23 years agoRemoved TRY_BLOCK code.
David Schleef [Wed, 1 Aug 2001 10:08:38 +0000 (10:08 +0000)]
Removed TRY_BLOCK code.

23 years agoAdded beginning of analog trigger support.
David Schleef [Wed, 1 Aug 2001 10:06:23 +0000 (10:06 +0000)]
Added beginning of analog trigger support.
Fixed dithering and deglitching.
Changed some board struct elements to boolean.

23 years agoA bunch of hopefully idempotent changes.
David Schleef [Wed, 1 Aug 2001 10:03:24 +0000 (10:03 +0000)]
A bunch of hopefully idempotent changes.

23 years agoA bunch of hopfully idempotent changes, mostly cleanups. A few
David Schleef [Wed, 1 Aug 2001 10:01:44 +0000 (10:01 +0000)]
A bunch of hopfully idempotent changes, mostly cleanups.  A few
minor bugfixes.

23 years agoFix typo
David Schleef [Mon, 30 Jul 2001 20:36:29 +0000 (20:36 +0000)]
Fix typo

23 years agoadded more dumping of debugging info
Frank Mori Hess [Mon, 30 Jul 2001 18:52:22 +0000 (18:52 +0000)]
added more dumping of debugging info

23 years agoMITE DMA works with any size acquisition and any size buffer, although
Tim Ousley [Sat, 28 Jul 2001 19:48:01 +0000 (19:48 +0000)]
MITE DMA works with any size acquisition and any size buffer, although
large buffers are still best.

23 years agoadded a pci_enable_device() call
Frank Mori Hess [Sat, 28 Jul 2001 14:50:18 +0000 (14:50 +0000)]
added a pci_enable_device() call

23 years agogetting rid of premature interrupt that occurs during attach, disabling
Frank Mori Hess [Fri, 27 Jul 2001 20:35:10 +0000 (20:35 +0000)]
getting rid of premature interrupt that occurs during attach, disabling
burst mode unless the chanlist actually has more than a single entry

23 years agoremoved nulling of s->busy in driver
Frank Mori Hess [Fri, 27 Jul 2001 18:54:37 +0000 (18:54 +0000)]
removed nulling of s->busy in driver

23 years agosilly me forgot to initialize software count of number of conversions
Frank Mori Hess [Fri, 27 Jul 2001 16:01:29 +0000 (16:01 +0000)]
silly me forgot to initialize software count of number of conversions

23 years agorounded up minimum conversion periods so cmd test doesn't get stuck between returning...
Frank Mori Hess [Fri, 27 Jul 2001 15:34:36 +0000 (15:34 +0000)]
rounded up minimum conversion periods so cmd test doesn't get stuck between returning 3 and 4

23 years agoUpdated with my least favorite questions to answer. r0_7_60
David Schleef [Thu, 26 Jul 2001 22:43:40 +0000 (22:43 +0000)]
Updated with my least favorite questions to answer.

23 years agoMake note of Red Hat kernel doc
David Schleef [Thu, 26 Jul 2001 22:28:43 +0000 (22:28 +0000)]
Make note of Red Hat kernel doc

23 years agoMore info
David Schleef [Thu, 26 Jul 2001 22:26:11 +0000 (22:26 +0000)]
More info

23 years agoFix for PowerPC. I'd bet it breaks i386.
David Schleef [Thu, 26 Jul 2001 13:16:15 +0000 (13:16 +0000)]
Fix for PowerPC.  I'd bet it breaks i386.

23 years agoFixes for RTAI. Change RT_TASK to be kmalloc'ed instead of
David Schleef [Thu, 26 Jul 2001 13:14:02 +0000 (13:14 +0000)]
Fixes for RTAI.  Change RT_TASK to be kmalloc'ed instead of
part of the devpriv structure because of alignment issues.
Switched to one-shot mode (for RTAI).  Changed task priority
to not conflict with RTAI watchdog.  More careful about
task init failure.

23 years agoFix to pull in the RTAI config.h
David Schleef [Thu, 26 Jul 2001 13:05:22 +0000 (13:05 +0000)]
Fix to pull in the RTAI config.h

23 years agoChange from Michal Dobes. Enables shared interrupt for rtc, so multiple interrupt
Frank Mori Hess [Thu, 26 Jul 2001 00:39:43 +0000 (00:39 +0000)]
Change from Michal Dobes.  Enables shared interrupt for rtc, so multiple interrupt
handlers can be attached to its interrupt.  It's wierd, but what the heck.

23 years agofix to prevent use of rt interrupt with shared interrupt
Frank Mori Hess [Wed, 25 Jul 2001 23:21:02 +0000 (23:21 +0000)]
fix to prevent use of rt interrupt with shared interrupt

23 years agofixed analog input insn wait for end of conversion, fixed external start trigger,
Frank Mori Hess [Tue, 24 Jul 2001 16:35:10 +0000 (16:35 +0000)]
fixed analog input insn wait for end of conversion, fixed external start trigger,
tweaked interrupt clearing.