comedi.git
23 years agoRemove duplicate code
David Schleef [Thu, 5 Jul 2001 05:34:47 +0000 (05:34 +0000)]
Remove duplicate code

23 years agoRewrote checking in comedi_fop_open(), fixed spinlock init
David Schleef [Thu, 5 Jul 2001 05:33:16 +0000 (05:33 +0000)]
Rewrote checking in comedi_fop_open(), fixed spinlock init
problem.

23 years agoFix Oops when reporting 0 boards.
David Schleef [Thu, 5 Jul 2001 05:29:18 +0000 (05:29 +0000)]
Fix Oops when reporting 0 boards.

23 years agoadded pc104 board definitions, fixed das16/330 definition
Frank Mori Hess [Wed, 4 Jul 2001 20:36:56 +0000 (20:36 +0000)]
added pc104 board definitions, fixed das16/330 definition

23 years ago2.4.6 kernel linux/mm.h does not define GFP_BUFFER...
Frank Mori Hess [Wed, 4 Jul 2001 19:12:36 +0000 (19:12 +0000)]
2.4.6 kernel linux/mm.h does not define GFP_BUFFER...

23 years agonew driver, untested
Frank Mori Hess [Tue, 3 Jul 2001 21:11:18 +0000 (21:11 +0000)]
new driver, untested

23 years agoCheck for dos-like end of line
David Schleef [Tue, 3 Jul 2001 00:31:38 +0000 (00:31 +0000)]
Check for dos-like end of line

23 years agoI'm gunna hafta start kickin' some asses if files are checked in
David Schleef [Tue, 3 Jul 2001 00:04:44 +0000 (00:04 +0000)]
I'm gunna hafta start kickin' some asses if files are checked in
with CR/LF end-of-lines.

23 years agomasked flags in divisor functions, so argument doesn't need to be masked before passi...
Frank Mori Hess [Mon, 2 Jul 2001 23:59:04 +0000 (23:59 +0000)]
masked flags in divisor functions, so argument doesn't need to be masked before passing to functions

23 years agoAdded ivan
David Schleef [Mon, 2 Jul 2001 23:57:58 +0000 (23:57 +0000)]
Added ivan

23 years agoremoved some unnecessary lines from command tests
Frank Mori Hess [Mon, 2 Jul 2001 23:57:36 +0000 (23:57 +0000)]
removed some unnecessary lines from command tests

23 years agorandom todo checkin
David Schleef [Mon, 2 Jul 2001 23:57:03 +0000 (23:57 +0000)]
random todo checkin

23 years agooops, small mistake won't make any difference but might as well be correct
Frank Mori Hess [Mon, 2 Jul 2001 03:33:38 +0000 (03:33 +0000)]
oops, small mistake won't make any difference but might as well be correct

23 years agofix for possible weirdness in ai read insn
Frank Mori Hess [Mon, 2 Jul 2001 03:16:49 +0000 (03:16 +0000)]
fix for possible weirdness in ai read insn

23 years agoUpdate from Ivan
David Schleef [Sun, 1 Jul 2001 00:02:11 +0000 (00:02 +0000)]
Update from Ivan

23 years agoHeh. revert change to config.in and apply to config.dist
David Schleef [Thu, 28 Jun 2001 23:33:11 +0000 (23:33 +0000)]
Heh.  revert change to config.in and apply to config.dist

23 years agoUpdate
David Schleef [Thu, 28 Jun 2001 23:31:51 +0000 (23:31 +0000)]
Update

23 years agoFix compilation for PCI code
David Schleef [Thu, 28 Jun 2001 23:31:16 +0000 (23:31 +0000)]
Fix compilation for PCI code

23 years agoAdded TRIG_OTHER
David Schleef [Thu, 28 Jun 2001 22:22:20 +0000 (22:22 +0000)]
Added TRIG_OTHER

23 years agoChange MOD_INSTALL_PATH to INSTALL_MOD_PATH
David Schleef [Wed, 27 Jun 2001 22:07:43 +0000 (22:07 +0000)]
Change MOD_INSTALL_PATH to INSTALL_MOD_PATH

23 years agoUpdates for cb_pcidda driver
David Schleef [Wed, 27 Jun 2001 19:08:27 +0000 (19:08 +0000)]
Updates for cb_pcidda driver

23 years agoNew driver from Ivan Martinez
David Schleef [Wed, 27 Jun 2001 19:06:48 +0000 (19:06 +0000)]
New driver from Ivan Martinez

23 years agominor updates
Frank Mori Hess [Wed, 27 Jun 2001 17:27:22 +0000 (17:27 +0000)]
minor updates

23 years agofix for stop_src == TRIG_NONE
Frank Mori Hess [Wed, 27 Jun 2001 16:29:27 +0000 (16:29 +0000)]
fix for stop_src == TRIG_NONE

23 years agoadded support for external triggering/pacing and burst mode
Frank Mori Hess [Tue, 26 Jun 2001 18:38:40 +0000 (18:38 +0000)]
added support for external triggering/pacing and burst mode

23 years agofixed include that prevented compile
Frank Mori Hess [Tue, 26 Jun 2001 16:27:35 +0000 (16:27 +0000)]
fixed include that prevented compile

23 years agofixed typo for pcm3730
Frank Mori Hess [Tue, 26 Jun 2001 16:26:18 +0000 (16:26 +0000)]
fixed typo for pcm3730

23 years agoscapped autoprobe, which was ultimately unable to distinguish boards, changed
Frank Mori Hess [Tue, 26 Jun 2001 01:27:25 +0000 (01:27 +0000)]
scapped autoprobe, which was ultimately unable to distinguish boards, changed
it into just a check that id bits are consistent with user's board selection.

23 years agoI recently stumbled across an explanation of why you clear the dma flip-flop...
Frank Mori Hess [Mon, 25 Jun 2001 22:36:16 +0000 (22:36 +0000)]
I recently stumbled across an explanation of why you clear the dma flip-flop...

23 years agoFix typo.
David Schleef [Mon, 25 Jun 2001 19:37:51 +0000 (19:37 +0000)]
Fix typo.

23 years agoupdated some entries for das16 and cb_pcidas
Frank Mori Hess [Mon, 25 Jun 2001 19:23:05 +0000 (19:23 +0000)]
updated some entries for das16 and cb_pcidas

23 years agofixes for burst mode, added das1201 das1202 entries. Autoprobing of board
Frank Mori Hess [Mon, 25 Jun 2001 18:46:23 +0000 (18:46 +0000)]
fixes for burst mode, added das1201 das1202 entries.  Autoprobing of board
types is weak, that needs to be fixed.

23 years agoupdated das16 and cb-pcidas info
Frank Mori Hess [Mon, 25 Jun 2001 17:18:04 +0000 (17:18 +0000)]
updated das16 and cb-pcidas info

23 years agoadded support for das1600 burst mode
Frank Mori Hess [Mon, 25 Jun 2001 17:05:40 +0000 (17:05 +0000)]
added support for das1600 burst mode

23 years agofixed error, added some comments
Frank Mori Hess [Mon, 25 Jun 2001 17:05:16 +0000 (17:05 +0000)]
fixed error, added some comments

23 years agofixed a bug I created
Frank Mori Hess [Sun, 24 Jun 2001 01:45:03 +0000 (01:45 +0000)]
fixed a bug I created

23 years agoadded preliminary comedi_cmd support. Untested.
Frank Mori Hess [Sun, 24 Jun 2001 01:32:44 +0000 (01:32 +0000)]
added preliminary comedi_cmd support.  Untested.

23 years agoentered correct max conversion rates
Frank Mori Hess [Sun, 24 Jun 2001 01:18:03 +0000 (01:18 +0000)]
entered correct max conversion rates

23 years agofixed settings of master clock speed through options
Frank Mori Hess [Sat, 23 Jun 2001 21:56:27 +0000 (21:56 +0000)]
fixed settings of master clock speed through options

23 years agofixed bugs with master clock speed in hertz instead of nanosec, added
Frank Mori Hess [Sat, 23 Jun 2001 18:11:37 +0000 (18:11 +0000)]
fixed bugs with master clock speed in hertz instead of nanosec, added
isa dma initialization code that I forgot to put in

23 years agooverhaul of comedi_cmd support. Needs more work, but ready for initial
Frank Mori Hess [Fri, 22 Jun 2001 23:34:17 +0000 (23:34 +0000)]
overhaul of comedi_cmd support.  Needs more work, but ready for initial
testing (Chris Baugher said he'd give it a test run.)

23 years agodma is no longer disabled in das1800 driver when rt suppport is configured
Frank Mori Hess [Fri, 22 Jun 2001 15:50:42 +0000 (15:50 +0000)]
dma is no longer disabled in das1800 driver when rt suppport is configured
for comedi.  dma is instead disabled on a cmd by cmd basis when the TRIG_RT
flag is received.

23 years agoFix header
David Schleef [Thu, 21 Jun 2001 22:43:42 +0000 (22:43 +0000)]
Fix header

23 years agoCheck for CONFIG_ in Makefile and Config.in
David Schleef [Thu, 21 Jun 2001 22:43:22 +0000 (22:43 +0000)]
Check for CONFIG_ in Makefile and Config.in

23 years agoAdd PCM3730, which should have been there all along
David Schleef [Thu, 21 Jun 2001 22:42:49 +0000 (22:42 +0000)]
Add PCM3730, which should have been there all along

23 years ago*** empty log message ***
David Schleef [Thu, 21 Jun 2001 22:42:02 +0000 (22:42 +0000)]
*** empty log message ***

23 years agoMajor documentation update.
David Schleef [Thu, 21 Jun 2001 21:54:37 +0000 (21:54 +0000)]
Major documentation update.

23 years agochanged a bunch of #include <blah.h> to #include "blah.h" so that make dep
Frank Mori Hess [Thu, 21 Jun 2001 20:59:50 +0000 (20:59 +0000)]
changed a bunch of #include <blah.h> to #include "blah.h" so that make dep
catches the dependencies

23 years agoadded memory-mapped io version of i8254_load(), made i8253_cascade_ns_to_timer_2div()
Frank Mori Hess [Thu, 21 Jun 2001 20:58:36 +0000 (20:58 +0000)]
added memory-mapped io version of i8254_load(), made i8253_cascade_ns_to_timer_2div()
return early if everything is already correct instead of going through loop again

23 years agoAdd some documentation checks
David Schleef [Thu, 21 Jun 2001 20:53:04 +0000 (20:53 +0000)]
Add some documentation checks

23 years agoadded a little das16m1 documentation
Frank Mori Hess [Thu, 21 Jun 2001 18:23:19 +0000 (18:23 +0000)]
added a little das16m1 documentation

23 years agoAdded COMEDI_INSN ioctl()
David Schleef [Thu, 21 Jun 2001 17:53:48 +0000 (17:53 +0000)]
Added COMEDI_INSN ioctl()

23 years ago*** empty log message ***
David Schleef [Thu, 21 Jun 2001 17:53:11 +0000 (17:53 +0000)]
*** empty log message ***

23 years agoupdate
David Schleef [Thu, 21 Jun 2001 17:43:27 +0000 (17:43 +0000)]
update

23 years agoCleanups.
David Schleef [Thu, 21 Jun 2001 17:42:46 +0000 (17:42 +0000)]
Cleanups.

23 years agoChanged wording w.r.t. mailing list
David Schleef [Thu, 21 Jun 2001 17:42:08 +0000 (17:42 +0000)]
Changed wording w.r.t. mailing list

23 years agoadded some external triggering support
Frank Mori Hess [Wed, 20 Jun 2001 23:41:03 +0000 (23:41 +0000)]
added some external triggering support

23 years agofixed digital input and output insns
Frank Mori Hess [Wed, 20 Jun 2001 21:58:27 +0000 (21:58 +0000)]
fixed digital input and output insns

23 years agoimplemented insns, everything seems to work okay so far
Frank Mori Hess [Wed, 20 Jun 2001 20:19:47 +0000 (20:19 +0000)]
implemented insns, everything seems to work okay so far

23 years agofixed bug. This driver has some other bugs/problems I intend to get to
Frank Mori Hess [Wed, 20 Jun 2001 19:15:17 +0000 (19:15 +0000)]
fixed bug.  This driver has some other bugs/problems I intend to get to
eventually, although I will need someone with an actual das-16 card to do
quality assurance for me.

23 years agoDoesn't crash computer anymore, and asynchronous analog input seems to work now
Frank Mori Hess [Wed, 20 Jun 2001 16:05:06 +0000 (16:05 +0000)]
Doesn't crash computer anymore, and asynchronous analog input seems to work now

23 years agoadded das16m1 driver, compiles with warnings but completely untested. insns
Frank Mori Hess [Tue, 19 Jun 2001 23:28:00 +0000 (23:28 +0000)]
added das16m1 driver, compiles with warnings but completely untested.  insns
not yet implemented.

23 years agoput generic i8254_load function in 8253.h for loading a 8254 counter
Frank Mori Hess [Tue, 19 Jun 2001 19:35:33 +0000 (19:35 +0000)]
put generic i8254_load function in 8253.h for loading a 8254 counter

23 years agofixed bit mangling in analog input read insn for 16 bit das802/16
Frank Mori Hess [Tue, 19 Jun 2001 16:16:35 +0000 (16:16 +0000)]
fixed bit mangling in analog input read insn for 16 bit das802/16

23 years agodeclared some variables as volatile to be safe
Frank Mori Hess [Mon, 18 Jun 2001 22:32:27 +0000 (22:32 +0000)]
declared some variables as volatile to be safe

23 years agominor corrections
Frank Mori Hess [Wed, 13 Jun 2001 21:25:35 +0000 (21:25 +0000)]
minor corrections

23 years agoRewrote INSTALL and README
David Schleef [Wed, 13 Jun 2001 10:22:20 +0000 (10:22 +0000)]
Rewrote INSTALL and README

23 years agofix to bug in fifo overflow check I created with last revision
Frank Mori Hess [Mon, 11 Jun 2001 22:38:34 +0000 (22:38 +0000)]
fix to bug in fifo overflow check I created with last revision

23 years agoswitched to use async->event and comedi_event(), and to use comedi_buf_put() and
Frank Mori Hess [Mon, 11 Jun 2001 20:36:10 +0000 (20:36 +0000)]
switched to use async->event and comedi_event(), and to use comedi_buf_put() and
comedi_buf_get()

23 years agoswitched to use of async->events and comedi_event(), started using comedi_buf_put,
Frank Mori Hess [Mon, 11 Jun 2001 18:58:00 +0000 (18:58 +0000)]
switched to use of async->events and comedi_event(), started using comedi_buf_put,
fixed bug when using dma where number of points remaining to be taken was decremented
twice for each point taken

23 years agomoved fifo overflow check back outside of loop where it belongs, switched over
Frank Mori Hess [Mon, 11 Jun 2001 18:44:11 +0000 (18:44 +0000)]
moved fifo overflow check back outside of loop where it belongs, switched over
to use of async->events and comedi_event(), started using generic comedi_buf_put()
to transfer data

23 years agoReplace TRIG_INVALID
David Schleef [Mon, 11 Jun 2001 07:53:09 +0000 (07:53 +0000)]
Replace TRIG_INVALID

23 years agochanged prototype of comedi_buf_get a bit
Frank Mori Hess [Sun, 10 Jun 2001 22:56:21 +0000 (22:56 +0000)]
changed prototype of comedi_buf_get a bit

23 years agodefined generic inline functions for writing/reading a data point to/from comedi...
Frank Mori Hess [Sun, 10 Jun 2001 20:32:53 +0000 (20:32 +0000)]
defined generic inline functions for writing/reading a data point to/from comedi's buffer

23 years agoremoved spurious warning that would have occured with cio-das802/16. Sidenote: earlier
Frank Mori Hess [Sun, 10 Jun 2001 16:01:58 +0000 (16:01 +0000)]
removed spurious warning that would have occured with cio-das802/16.  Sidenote: earlier
revision 1.30 that I made to fix a race condition was unnecessay, race only existed in
an intermediate form of the code which was never commited.

23 years agoadded cards from rtd520 driver
Frank Mori Hess [Sat, 9 Jun 2001 22:36:21 +0000 (22:36 +0000)]
added cards from rtd520 driver

23 years agoadded support for cio-das802/16 to das800 driver
Frank Mori Hess [Sat, 9 Jun 2001 22:24:59 +0000 (22:24 +0000)]
added support for cio-das802/16 to das800 driver

23 years agofixed race between conversions and fifo overflow check
Frank Mori Hess [Sat, 9 Jun 2001 20:07:57 +0000 (20:07 +0000)]
fixed race between conversions and fifo overflow check

23 years agoversion bump
David Schleef [Fri, 8 Jun 2001 22:38:40 +0000 (22:38 +0000)]
version bump

23 years agoFix sed line for version update
David Schleef [Fri, 8 Jun 2001 22:38:18 +0000 (22:38 +0000)]
Fix sed line for version update

23 years ago/proc/comedi dumps out the device names recognized for each driver
David Schleef [Fri, 8 Jun 2001 22:37:08 +0000 (22:37 +0000)]
/proc/comedi dumps out the device names recognized for each driver

23 years agoMore busy-talk about counters
David Schleef [Fri, 8 Jun 2001 22:36:34 +0000 (22:36 +0000)]
More busy-talk about counters

23 years agoAdded internal trigger support, various reformatting
David Schleef [Fri, 8 Jun 2001 22:35:51 +0000 (22:35 +0000)]
Added internal trigger support, various reformatting

23 years agoAdded make check rule.
David Schleef [Fri, 8 Jun 2001 22:34:41 +0000 (22:34 +0000)]
Added make check rule.

23 years agoAdded internal trigger support
David Schleef [Fri, 8 Jun 2001 22:33:44 +0000 (22:33 +0000)]
Added internal trigger support

23 years agofixes for kcomedilib with trigger support off. comedi_dio_config() was using
Frank Mori Hess [Fri, 8 Jun 2001 21:43:18 +0000 (21:43 +0000)]
fixes for kcomedilib with trigger support off.  comedi_dio_config() was using
trigger code instead of insn, I assumed there was no good reason for this such
as the insn code not working.

23 years agoAdded comments about 2.0
David Schleef [Fri, 8 Jun 2001 00:06:41 +0000 (00:06 +0000)]
Added comments about 2.0

23 years agoattempting to fix 2.0 kernels that don't seem to define KERNEL_VERSION(a,b,c)
Frank Mori Hess [Thu, 7 Jun 2001 23:36:37 +0000 (23:36 +0000)]
attempting to fix 2.0 kernels that don't seem to define KERNEL_VERSION(a,b,c)

23 years agotweak to make rt_task clean itself up without one scan delay
Frank Mori Hess [Thu, 7 Jun 2001 17:52:22 +0000 (17:52 +0000)]
tweak to make rt_task clean itself up without one scan delay

23 years agoReverted the variable timeout part of the last change.
David Schleef [Mon, 4 Jun 2001 22:42:19 +0000 (22:42 +0000)]
Reverted the variable timeout part of the last change.

23 years agoPatch for das08jr/16 from Luke Stras <stras@eyetap.org>
David Schleef [Mon, 4 Jun 2001 22:30:34 +0000 (22:30 +0000)]
Patch for das08jr/16 from Luke Stras <stras@eyetap.org>

23 years agomerged input and output scan tasks, kept more careful track of status of rt tasks
Frank Mori Hess [Mon, 4 Jun 2001 22:03:06 +0000 (22:03 +0000)]
merged input and output scan tasks, kept more careful track of status of rt tasks

23 years agofixed conversion timing check for TRIG_NOW case
Frank Mori Hess [Mon, 4 Jun 2001 02:16:30 +0000 (02:16 +0000)]
fixed conversion timing check for TRIG_NOW case

23 years agoadded check on conversion timing
Frank Mori Hess [Mon, 4 Jun 2001 02:13:26 +0000 (02:13 +0000)]
added check on conversion timing

23 years agoswitched priorities of scan_task and rt_task to prevent strange 5 millisec timing...
Frank Mori Hess [Mon, 4 Jun 2001 01:45:49 +0000 (01:45 +0000)]
switched priorities of scan_task and rt_task to prevent strange 5 millisec timing errors
that would occassionaly occur

23 years agoremoved redundant unlock
Frank Mori Hess [Sat, 2 Jun 2001 23:54:16 +0000 (23:54 +0000)]
removed redundant unlock

23 years agomoved creation/deletion of real time tasks from comedi_cmd code to attach/detach
Frank Mori Hess [Sat, 2 Jun 2001 22:32:15 +0000 (22:32 +0000)]
moved creation/deletion of real time tasks from comedi_cmd code to attach/detach

23 years agofixes, chucked rt_pend_call(), added check for good scan timing and increased allowab...
Frank Mori Hess [Sat, 2 Jun 2001 04:04:17 +0000 (04:04 +0000)]
fixes, chucked rt_pend_call(), added check for good scan timing and increased allowable frequency

23 years agoconversion frequency and scan frequency can now be set independently
Frank Mori Hess [Fri, 1 Jun 2001 16:07:50 +0000 (16:07 +0000)]
conversion frequency and scan frequency can now be set independently

23 years agotweak
Frank Mori Hess [Thu, 31 May 2001 23:24:10 +0000 (23:24 +0000)]
tweak