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

23 years agomade sure all port io happens after io ports have been requested (I messed this up...
Frank Mori Hess [Mon, 29 Jan 2001 04:51:34 +0000 (04:51 +0000)]
made sure all port io happens after io ports have been requested (I messed this up with last commit when I moved das800_probe()
to an earlier place in the das800_attach()

23 years agomade comedi_mmap_v22() mark subdevice as mmapped
Frank Mori Hess [Mon, 29 Jan 2001 01:10:23 +0000 (01:10 +0000)]
made comedi_mmap_v22() mark subdevice as mmapped

23 years agoimproved sanity checks in bufconfig ioctl
Frank Mori Hess [Mon, 29 Jan 2001 01:04:49 +0000 (01:04 +0000)]
improved sanity checks in bufconfig ioctl

23 years agoadded SDF_MMAPPED flag
Frank Mori Hess [Mon, 29 Jan 2001 00:45:16 +0000 (00:45 +0000)]
added SDF_MMAPPED flag

23 years agochanged comedi_device.read_subdev and write_subdev from type unsigned int to type...
Frank Mori Hess [Mon, 29 Jan 2001 00:42:16 +0000 (00:42 +0000)]
changed comedi_device.read_subdev and write_subdev from type unsigned int to type signed int

23 years agoadded replacement for recognize that can report valid board names
Frank Mori Hess [Sun, 28 Jan 2001 20:46:16 +0000 (20:46 +0000)]
added replacement for recognize that can report valid board names

23 years agofixed bug in attach function
Frank Mori Hess [Sun, 28 Jan 2001 19:20:12 +0000 (19:20 +0000)]
fixed bug in attach function

23 years agoadded bitfield insn to di and do
Frank Mori Hess [Sat, 27 Jan 2001 21:44:27 +0000 (21:44 +0000)]
added bitfield insn to di and do

23 years ago*** empty log message ***
Frank Mori Hess [Sat, 27 Jan 2001 21:26:19 +0000 (21:26 +0000)]
*** empty log message ***

23 years agoadded bitfield insn to di and do
Frank Mori Hess [Sat, 27 Jan 2001 21:20:07 +0000 (21:20 +0000)]
added bitfield insn to di and do

23 years agoadded das800 and das1800 drivers
Frank Mori Hess [Sat, 27 Jan 2001 20:23:10 +0000 (20:23 +0000)]
added das800 and das1800 drivers

23 years agoupdated notes for das1800 and das800 drivers
Frank Mori Hess [Sat, 27 Jan 2001 20:13:05 +0000 (20:13 +0000)]
updated notes for das1800 and das800 drivers

23 years agoundid my last fix because i think it was wrong
Frank Mori Hess [Sat, 27 Jan 2001 19:46:52 +0000 (19:46 +0000)]
undid my last fix because i think it was wrong

23 years agofixed bug with initialization of buf_user_ptr and buf_user_count in
Frank Mori Hess [Sat, 27 Jan 2001 19:36:03 +0000 (19:36 +0000)]
fixed bug with initialization of buf_user_ptr and buf_user_count in
do_cmd_ioctl for writeable subdevices