comedi.git
23 years agocleaned up interrupt handling
David Schleef [Thu, 22 Mar 2001 22:31:53 +0000 (22:31 +0000)]
cleaned up interrupt handling

23 years agoadded events to async structure
David Schleef [Thu, 22 Mar 2001 21:06:42 +0000 (21:06 +0000)]
added events to async structure

23 years agoFix to make rt_pend_tq work correctly on RTAI.
David Schleef [Thu, 22 Mar 2001 20:55:18 +0000 (20:55 +0000)]
Fix to make rt_pend_tq work correctly on RTAI.

23 years agoAdded install_dev target
David Schleef [Thu, 22 Mar 2001 20:53:52 +0000 (20:53 +0000)]
Added install_dev target

23 years agopatch for cb_pcidas info
David Schleef [Thu, 22 Mar 2001 20:48:41 +0000 (20:48 +0000)]
patch for cb_pcidas info

23 years ago*** empty log message ***
David Schleef [Thu, 22 Mar 2001 00:58:23 +0000 (00:58 +0000)]
*** empty log message ***

23 years agoremoved dev->iosize
David Schleef [Thu, 22 Mar 2001 00:09:54 +0000 (00:09 +0000)]
removed dev->iosize

23 years agomoved vd_timer to drivers/comedi_rt_timer
David Schleef [Thu, 22 Mar 2001 00:09:22 +0000 (00:09 +0000)]
moved vd_timer to drivers/comedi_rt_timer

23 years agoremoved dev->iosize
David Schleef [Thu, 22 Mar 2001 00:02:37 +0000 (00:02 +0000)]
removed dev->iosize

23 years agochanged driver from trig to insn
David Schleef [Thu, 22 Mar 2001 00:01:41 +0000 (00:01 +0000)]
changed driver from trig to insn

23 years agoMoved real-time timer code from comedi/realtime/vd_timer.c
David Schleef [Wed, 21 Mar 2001 23:59:46 +0000 (23:59 +0000)]
Moved real-time timer code from comedi/realtime/vd_timer.c

23 years agofix for reversed arguments to win_out(), from Tim Ousley
David Schleef [Wed, 21 Mar 2001 23:41:16 +0000 (23:41 +0000)]
fix for reversed arguments to win_out(), from Tim Ousley

23 years agochanged some stuff so I could get a clean compile with 2.2.18-rtl kernel and rtlinux...
Frank Mori Hess [Mon, 19 Mar 2001 19:34:00 +0000 (19:34 +0000)]
changed some stuff so I could get a clean compile with 2.2.18-rtl kernel and rtlinux v3.0 final

23 years agofix use of cmd->data
David Schleef [Sat, 17 Mar 2001 03:56:09 +0000 (03:56 +0000)]
fix use of cmd->data

23 years agochanged driver names
David Schleef [Sat, 17 Mar 2001 03:47:35 +0000 (03:47 +0000)]
changed driver names

23 years agochanged driver names
David Schleef [Sat, 17 Mar 2001 03:45:35 +0000 (03:45 +0000)]
changed driver names

23 years agoChanged names on drivers
David Schleef [Sat, 17 Mar 2001 03:44:08 +0000 (03:44 +0000)]
Changed names on drivers

23 years agoRemoved dependency on s->async->cur_trig in all the drivers.
David Schleef [Sat, 17 Mar 2001 03:38:12 +0000 (03:38 +0000)]
Removed dependency on s->async->cur_trig in all the drivers.
Only dependency is in comedi_fops.c, where it could be replaced
by a local variable.  Also cleaned up the buffer code in many
of the drivers.

Probably broke a lot of code that was techinically already broken.

23 years agorandom todo checkin
David Schleef [Sat, 17 Mar 2001 03:34:59 +0000 (03:34 +0000)]
random todo checkin

23 years agoadded new tests
David Schleef [Sat, 17 Mar 2001 03:34:06 +0000 (03:34 +0000)]
added new tests

23 years ago8255 shouldn't use async structure because it doesn't get allocated.
David Schleef [Fri, 16 Mar 2001 19:32:22 +0000 (19:32 +0000)]
8255 shouldn't use async structure because it doesn't get allocated.

23 years agoOriginal source from author. Probably will be moved/fixed.
David Schleef [Fri, 16 Mar 2001 19:20:41 +0000 (19:20 +0000)]
Original source from author.  Probably will be moved/fixed.

23 years agoTM's original patch
David Schleef [Tue, 13 Mar 2001 09:31:19 +0000 (09:31 +0000)]
TM's original patch

23 years agoadded rt_pend_tq support from Tomasz, plus my mods
David Schleef [Tue, 13 Mar 2001 09:28:09 +0000 (09:28 +0000)]
added rt_pend_tq support from Tomasz, plus my mods

23 years agoadded comedi_poll()
David Schleef [Tue, 13 Mar 2001 09:25:45 +0000 (09:25 +0000)]
added comedi_poll()

23 years agomore ->poll support
David Schleef [Tue, 13 Mar 2001 09:25:27 +0000 (09:25 +0000)]
more ->poll support

23 years agoremoved unused recognize stuff from pci driver
Frank Mori Hess [Thu, 8 Mar 2001 17:34:19 +0000 (17:34 +0000)]
removed unused recognize stuff from pci driver

23 years agoConversion of drivers from trig to insn/cmd.
David Schleef [Thu, 8 Mar 2001 09:21:03 +0000 (09:21 +0000)]
Conversion of drivers from trig to insn/cmd.

23 years agofixed problem with segfault on rmmod when you load mite with no supported cards insta...
Frank Mori Hess [Mon, 5 Mar 2001 21:12:10 +0000 (21:12 +0000)]
fixed problem with segfault on rmmod when you load mite with no supported cards installed in your computer

23 years agomade comedi_report_boards() report the driver name if num_names == 0
Frank Mori Hess [Mon, 5 Mar 2001 21:02:34 +0000 (21:02 +0000)]
made comedi_report_boards() report the driver name if num_names == 0

23 years agofixes for bugs suggested by check_driver
David Schleef [Sun, 4 Mar 2001 10:55:52 +0000 (10:55 +0000)]
fixes for bugs suggested by check_driver

23 years agoenabled all boards
David Schleef [Sun, 4 Mar 2001 08:45:47 +0000 (08:45 +0000)]
enabled all boards

23 years agocleaned up commenting for async structure
David Schleef [Sun, 4 Mar 2001 08:45:21 +0000 (08:45 +0000)]
cleaned up commenting for async structure
removed dev->board

23 years agochanged to use comedi_recognize that uses board_name and offset, to
David Schleef [Sun, 4 Mar 2001 08:44:03 +0000 (08:44 +0000)]
changed to use comedi_recognize that uses board_name and offset, to
pull the name pointer directly out of the board structures

23 years agofixed pcl726 info, needs more work
David Schleef [Sun, 4 Mar 2001 08:42:57 +0000 (08:42 +0000)]
fixed pcl726 info, needs more work

23 years ago*** empty log message ***
David Schleef [Sun, 4 Mar 2001 08:42:24 +0000 (08:42 +0000)]
*** empty log message ***

23 years agoconverted all drivers to use comedi_recognize() with name info
David Schleef [Sun, 4 Mar 2001 08:39:26 +0000 (08:39 +0000)]
converted all drivers to use comedi_recognize() with name info
pulled from board structures.
removed dev->board in all drivers in favor of dev->board_ptr
8255: removed way-old strcmp()
cb_pcidas: fixed PCI code for 2.4
mpc8260cpm: removed comments, replaced skel with mpc8260cpm
pcl726: changed way subdevices are allocated
pcl818: changed way subdevices are allocated

23 years agoscript to check random craziness in drivers
David Schleef [Sun, 4 Mar 2001 06:57:40 +0000 (06:57 +0000)]
script to check random craziness in drivers

23 years agoadded recognize replacement
Frank Mori Hess [Sat, 3 Mar 2001 15:56:15 +0000 (15:56 +0000)]
added recognize replacement

23 years agoremoved unnecessary recognize function that just recognized name of driver
Frank Mori Hess [Sat, 3 Mar 2001 15:43:06 +0000 (15:43 +0000)]
removed unnecessary recognize function that just recognized name of driver

23 years agofix warning r0_7_57
David Schleef [Fri, 2 Mar 2001 17:55:57 +0000 (17:55 +0000)]
fix warning

23 years agochanges for dt2811
David Schleef [Fri, 2 Mar 2001 17:21:02 +0000 (17:21 +0000)]
changes for dt2811

23 years agoFix previous vm changes for 2.2 (I think)
David Schleef [Fri, 2 Mar 2001 06:43:48 +0000 (06:43 +0000)]
Fix previous vm changes for 2.2 (I think)

23 years agoadded ao interrupt debugging
David Schleef [Fri, 2 Mar 2001 06:00:21 +0000 (06:00 +0000)]
added ao interrupt debugging
now checks ao interrupt flag
remove incorrect comment in ni_mio_cs

23 years agoremoved comedi_file_private
David Schleef [Fri, 2 Mar 2001 05:31:40 +0000 (05:31 +0000)]
removed comedi_file_private
added comedi_unmap and comedi_vm_ops
added callback when vma is unmapped
fixed subdevice index range check in do_bufconfig_ioctl()

23 years agochanges to bufconfig structure
David Schleef [Thu, 1 Mar 2001 22:25:38 +0000 (22:25 +0000)]
changes to bufconfig structure

23 years agoadded recognize replacement
Frank Mori Hess [Thu, 1 Mar 2001 19:05:55 +0000 (19:05 +0000)]
added recognize replacement

23 years agoadded recognize replacement, integrated ai range table into das1800_board struct
Frank Mori Hess [Thu, 1 Mar 2001 18:35:04 +0000 (18:35 +0000)]
added recognize replacement, integrated ai range table into das1800_board struct

23 years agoupdated some comments
Frank Mori Hess [Thu, 1 Mar 2001 18:33:21 +0000 (18:33 +0000)]
updated some comments

23 years agoreplaced kill_async with KILL_ASYNC from compatability header linux/fs.h so I could...
Frank Mori Hess [Thu, 1 Mar 2001 18:30:24 +0000 (18:30 +0000)]
replaced kill_async with KILL_ASYNC from compatability header linux/fs.h so I could compile

23 years agoadd install to pcmcia subdir
David Schleef [Thu, 1 Mar 2001 05:03:23 +0000 (05:03 +0000)]
add install to pcmcia subdir

23 years agoadded compatibility for kill_fasync()
David Schleef [Thu, 1 Mar 2001 05:02:57 +0000 (05:02 +0000)]
added compatibility for kill_fasync()

23 years agorange changes for limited-8
David Schleef [Thu, 1 Mar 2001 04:59:33 +0000 (04:59 +0000)]
range changes for limited-8
fixes related to sample timing in a scan
fix for async structure being allocated on boards without AO
fix for DAQCard using wrong gain info

23 years agochanged comedi_driver member num_boards to num_names as this is more accurate
Frank Mori Hess [Wed, 28 Feb 2001 18:00:16 +0000 (18:00 +0000)]
changed comedi_driver member num_boards to num_names as this is more accurate

23 years agorecognize replacement now provides simpler interface to drivers
Frank Mori Hess [Tue, 27 Feb 2001 23:23:07 +0000 (23:23 +0000)]
recognize replacement now provides simpler interface to drivers

23 years agoversion bump
David Schleef [Mon, 26 Feb 2001 22:03:38 +0000 (22:03 +0000)]
version bump

23 years agoprotected indirect addressing with comedi_spin_lock_irqsave()
Frank Mori Hess [Wed, 21 Feb 2001 17:25:28 +0000 (17:25 +0000)]
protected indirect addressing with comedi_spin_lock_irqsave()

23 years agoAdded driver for DIO pins on MPC8260 CPM. Not working.
David Schleef [Mon, 19 Feb 2001 22:50:21 +0000 (22:50 +0000)]
Added driver for DIO pins on MPC8260 CPM.  Not working.

23 years agoAdded fasync/SIGIO support.
David Schleef [Mon, 19 Feb 2001 22:47:04 +0000 (22:47 +0000)]
Added fasync/SIGIO support.

23 years agoadded fl512 driver
David Schleef [Mon, 19 Feb 2001 22:41:58 +0000 (22:41 +0000)]
added fl512 driver

23 years ago*** empty log message ***
David Schleef [Mon, 19 Feb 2001 22:41:07 +0000 (22:41 +0000)]
*** empty log message ***

23 years agofixed reversal of ni_writeb parameters in 8255 callback
David Schleef [Mon, 19 Feb 2001 22:39:23 +0000 (22:39 +0000)]
fixed reversal of ni_writeb parameters in 8255 callback
fixed TRIG_EXT support
added level/edge, hi/lo support for TRIG_EXT
added selection of trigger line for TRIG_EXT
(maybe) fixed dual-channel AO

23 years agofixups for driver
David Schleef [Mon, 19 Feb 2001 21:18:28 +0000 (21:18 +0000)]
fixups for driver

23 years agoDriver from Anders Gnustrup <ex18@kalman.iau.dtu.dk>
David Schleef [Mon, 19 Feb 2001 20:56:25 +0000 (20:56 +0000)]
Driver from Anders Gnustrup <ex18@kalman.iau.dtu.dk>

23 years agofixed up postconfig() error handling
Frank Mori Hess [Wed, 14 Feb 2001 02:36:56 +0000 (02:36 +0000)]
fixed up postconfig() error handling

23 years agoadded handling of memory allocation failures in postconfig()
Frank Mori Hess [Tue, 13 Feb 2001 20:24:20 +0000 (20:24 +0000)]
added handling of memory allocation failures in postconfig()

23 years agofixed NULL dereference problem in do_become_nonbusy() caused by async changes
Frank Mori Hess [Tue, 13 Feb 2001 20:14:43 +0000 (20:14 +0000)]
fixed NULL dereference problem in do_become_nonbusy() caused by async changes

23 years agoremoved direct references to prealloc_buf from das800 and das1800 drivers
Frank Mori Hess [Tue, 13 Feb 2001 17:06:45 +0000 (17:06 +0000)]
removed direct references to prealloc_buf from das800 and das1800 drivers

23 years agoremove unnecessary comedi_subdevice *subdev from comedi_async_struct
Frank Mori Hess [Tue, 13 Feb 2001 16:57:50 +0000 (16:57 +0000)]
remove unnecessary comedi_subdevice *subdev from comedi_async_struct

23 years agosplit asyncronous stuff off of comedi_subdevice_struct
Frank Mori Hess [Tue, 13 Feb 2001 03:51:43 +0000 (03:51 +0000)]
split asyncronous stuff off of comedi_subdevice_struct

23 years agofixed typo that prevented compile
Frank Mori Hess [Tue, 13 Feb 2001 02:52:00 +0000 (02:52 +0000)]
fixed typo that prevented compile

23 years agomade bufconfig ioctl always write back buffer sizes even if they were not changed
Frank Mori Hess [Thu, 8 Feb 2001 02:00:36 +0000 (02:00 +0000)]
made bufconfig ioctl always write back buffer sizes even if they were not changed

23 years agoadded some tabs to make das800 entries line up better
Frank Mori Hess [Mon, 5 Feb 2001 22:10:52 +0000 (22:10 +0000)]
added some tabs to make das800 entries line up better

23 years agonew driver
David Schleef [Mon, 5 Feb 2001 18:09:31 +0000 (18:09 +0000)]
new driver

23 years agochange to len_chanlist
David Schleef [Mon, 5 Feb 2001 18:09:11 +0000 (18:09 +0000)]
change to len_chanlist

23 years agoversion bump r0_7_56
David Schleef [Mon, 5 Feb 2001 03:09:10 +0000 (03:09 +0000)]
version bump

23 years agothe release script.
David Schleef [Mon, 5 Feb 2001 03:07:52 +0000 (03:07 +0000)]
the release script.

23 years agorandom cruft that needs to be merged, or not
David Schleef [Mon, 5 Feb 2001 03:06:22 +0000 (03:06 +0000)]
random cruft that needs to be merged, or not

23 years agomerged part of patch from Brad Keryan
David Schleef [Mon, 5 Feb 2001 02:58:40 +0000 (02:58 +0000)]
merged part of patch from Brad Keryan

23 years agoremoved irrelevant comment
David Schleef [Mon, 5 Feb 2001 02:39:20 +0000 (02:39 +0000)]
removed irrelevant comment

23 years agointerface change: INSN_WAIT now takes nanoseconds instead of
David Schleef [Mon, 5 Feb 2001 02:17:05 +0000 (02:17 +0000)]
interface change: INSN_WAIT now takes nanoseconds instead of
microseconds.

23 years agocleanup, fixes for real-time
David Schleef [Mon, 5 Feb 2001 02:09:19 +0000 (02:09 +0000)]
cleanup, fixes for real-time

23 years agoadded command support
David Schleef [Mon, 5 Feb 2001 02:07:59 +0000 (02:07 +0000)]
added command support

23 years agoadded command support, removed SDF_RT code, bugfix for insn_bits
David Schleef [Mon, 5 Feb 2001 02:07:45 +0000 (02:07 +0000)]
added command support, removed SDF_RT code, bugfix for insn_bits

23 years agofixes for RTAI, good for rtai4 cvs, not checked for rtai-22
David Schleef [Mon, 5 Feb 2001 02:06:46 +0000 (02:06 +0000)]
fixes for RTAI, good for rtai4 cvs, not checked for rtai-22

23 years agocleanup, fix to make callback work with non-rt
David Schleef [Mon, 5 Feb 2001 02:05:54 +0000 (02:05 +0000)]
cleanup, fix to make callback work with non-rt

23 years agoadded support for using the interrupt pin
David Schleef [Mon, 5 Feb 2001 02:01:46 +0000 (02:01 +0000)]
added support for using the interrupt pin

23 years agotesting CVS permissions. No change
David Schleef [Sat, 3 Feb 2001 21:29:15 +0000 (21:29 +0000)]
testing CVS permissions.  No change

23 years agoI like .keepme better, anyway.
David Schleef [Sat, 3 Feb 2001 21:28:22 +0000 (21:28 +0000)]
I like .keepme better, anyway.

23 years agoI like .keepme better, anyway
David Schleef [Sat, 3 Feb 2001 21:19:07 +0000 (21:19 +0000)]
I like .keepme better, anyway

23 years agoremoved redundant .keepme file since dave added place_holder
Frank Mori Hess [Thu, 1 Feb 2001 23:33:27 +0000 (23:33 +0000)]
removed redundant .keepme file since dave added place_holder

23 years agoplace holder so CVS doesn't delete the directory
David Schleef [Thu, 1 Feb 2001 03:43:11 +0000 (03:43 +0000)]
place holder so CVS doesn't delete the directory

23 years agoadded dummy file so include/modbuild directory gets created
Frank Mori Hess [Wed, 31 Jan 2001 17:21:58 +0000 (17:21 +0000)]
added dummy file so include/modbuild directory gets created

23 years agoadded a bunch of if(!dev->attached) sanity checks
Frank Mori Hess [Wed, 31 Jan 2001 01:26:34 +0000 (01:26 +0000)]
added a bunch of if(!dev->attached) sanity checks

23 years agofixed memory leak due to last change
Frank Mori Hess [Tue, 30 Jan 2001 20:24:57 +0000 (20:24 +0000)]
fixed memory leak due to last change

23 years agofixed up counting of mmaps by using struct file->private_data to keep
Frank Mori Hess [Tue, 30 Jan 2001 20:19:39 +0000 (20:19 +0000)]
fixed up counting of mmaps by using struct file->private_data to keep
track of mmap count

23 years agofixed NI document numbers
David Schleef [Mon, 29 Jan 2001 23:43:08 +0000 (23:43 +0000)]
fixed NI document numbers

23 years agocommented out #ifdef that broke comedi_spin_lock_irqsave for rtlinux version 2
Frank Mori Hess [Mon, 29 Jan 2001 18:38:56 +0000 (18:38 +0000)]
commented out #ifdef that broke comedi_spin_lock_irqsave for rtlinux version 2

23 years agofixed null dereference problems caused by last change
Frank Mori Hess [Mon, 29 Jan 2001 06:37:40 +0000 (06:37 +0000)]
fixed null dereference problems caused by last change

23 years agomoved das1800_probe() back in das1800_attach() to insure no io to ports
Frank Mori Hess [Mon, 29 Jan 2001 05:01:48 +0000 (05:01 +0000)]
moved das1800_probe() back in das1800_attach() to insure no io to ports
happens until after io addresses have been requested