comedi.git
25 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()

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

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

25 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

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

25 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

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

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

25 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

25 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

25 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

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

25 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()

25 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.

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

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

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

25 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

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

25 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>

25 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

25 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()

25 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

25 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

25 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

25 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

25 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

25 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

25 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

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

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

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

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

25 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

25 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

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

25 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.

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

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

25 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

25 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

25 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

25 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

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

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

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

25 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

25 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

25 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

25 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

25 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

25 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

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

25 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

25 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

25 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

25 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()

25 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

25 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

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

25 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

25 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

25 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

25 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

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

25 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

25 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

25 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

25 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

25 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

25 years agofixed corruption of chanlist pointer in cmdtest ioctl, made cmd ioctl
Frank Mori Hess [Sat, 27 Jan 2001 19:33:00 +0000 (19:33 +0000)]
fixed corruption of chanlist pointer in cmdtest ioctl, made cmd ioctl
leave chanlist pointer alone instead of nulling it.

25 years agofixed buffer overrun race in comedi_read_v22
Frank Mori Hess [Thu, 25 Jan 2001 21:36:15 +0000 (21:36 +0000)]
fixed buffer overrun race in comedi_read_v22

25 years agotrivial changes
Frank Mori Hess [Thu, 25 Jan 2001 01:01:10 +0000 (01:01 +0000)]
trivial changes

25 years agoadded bufconfig struct and ioctl
Frank Mori Hess [Thu, 25 Jan 2001 00:43:37 +0000 (00:43 +0000)]
added bufconfig struct and ioctl

25 years agoadded bufconfig ioctl
Frank Mori Hess [Thu, 25 Jan 2001 00:41:17 +0000 (00:41 +0000)]
added bufconfig ioctl

25 years agoremoved spurious comment to test commit access
Frank Mori Hess [Wed, 24 Jan 2001 19:33:10 +0000 (19:33 +0000)]
removed spurious comment to test commit access

25 years ago*** empty log message ***
David Schleef [Wed, 24 Jan 2001 00:44:50 +0000 (00:44 +0000)]
*** empty log message ***

25 years agochanges to Configure for modbuild, and update to config.dist
David Schleef [Wed, 24 Jan 2001 00:44:23 +0000 (00:44 +0000)]
changes to Configure for modbuild, and update to config.dist

25 years agofix from Luke Stras
David Schleef [Wed, 24 Jan 2001 00:41:06 +0000 (00:41 +0000)]
fix from Luke Stras

25 years agocopied over verbatim 2.2.17 Configure
David Schleef [Wed, 24 Jan 2001 00:07:44 +0000 (00:07 +0000)]
copied over verbatim 2.2.17 Configure

25 years agoadded CVS info
David Schleef [Tue, 23 Jan 2001 18:59:14 +0000 (18:59 +0000)]
added CVS info

25 years ago*** empty log message ***
David Schleef [Tue, 23 Jan 2001 18:47:06 +0000 (18:47 +0000)]
*** empty log message ***

25 years agoremoved circular dependency
David Schleef [Tue, 23 Jan 2001 18:34:55 +0000 (18:34 +0000)]
removed circular dependency

25 years agocompile fix
David Schleef [Tue, 23 Jan 2001 18:34:31 +0000 (18:34 +0000)]
compile fix

25 years agoadded insn support
David Schleef [Tue, 23 Jan 2001 18:34:01 +0000 (18:34 +0000)]
added insn support

25 years agofixes, debug
David Schleef [Tue, 23 Jan 2001 18:33:40 +0000 (18:33 +0000)]
fixes, debug

25 years agofixes, debugging
David Schleef [Tue, 23 Jan 2001 18:33:18 +0000 (18:33 +0000)]
fixes, debugging

25 years agorandom cleanup, attempt at ISAPNP
David Schleef [Tue, 23 Jan 2001 18:32:15 +0000 (18:32 +0000)]
random cleanup, attempt at ISAPNP

25 years agorandom cleanup
David Schleef [Tue, 23 Jan 2001 18:31:21 +0000 (18:31 +0000)]
random cleanup

25 years ago*** empty log message ***
David Schleef [Tue, 23 Jan 2001 18:30:58 +0000 (18:30 +0000)]
*** empty log message ***

25 years agoremove make dep
David Schleef [Tue, 23 Jan 2001 18:30:41 +0000 (18:30 +0000)]
remove make dep

25 years agobugfix
David Schleef [Wed, 17 Jan 2001 22:05:25 +0000 (22:05 +0000)]
bugfix

25 years agoremove module.h
David Schleef [Wed, 17 Jan 2001 18:01:55 +0000 (18:01 +0000)]
remove module.h

25 years agoclear struct after malloc
David Schleef [Wed, 17 Jan 2001 18:01:30 +0000 (18:01 +0000)]
clear struct after malloc

25 years agofixed adbits for dt2824
David Schleef [Wed, 17 Jan 2001 18:00:43 +0000 (18:00 +0000)]
fixed adbits for dt2824

25 years agobunch of changes for kcomedilib r0_7_55
David Schleef [Tue, 16 Jan 2001 22:21:29 +0000 (22:21 +0000)]
bunch of changes for kcomedilib

25 years ago*** empty log message ***
David Schleef [Tue, 16 Jan 2001 22:20:17 +0000 (22:20 +0000)]
*** empty log message ***

25 years agodriver was choking on ni_atmio name
David Schleef [Tue, 16 Jan 2001 22:01:04 +0000 (22:01 +0000)]
driver was choking on ni_atmio name

25 years agofix error message
David Schleef [Tue, 16 Jan 2001 22:00:37 +0000 (22:00 +0000)]
fix error message

25 years agofix accidental compilation of kcomedilib
David Schleef [Tue, 16 Jan 2001 19:26:13 +0000 (19:26 +0000)]
fix accidental compilation of kcomedilib