comedi.git
23 years agoTim Ousley 4/10/01: MITE DMA now works correctly for finite acquisitions
Tim Ousley [Tue, 10 Apr 2001 16:45:58 +0000 (16:45 +0000)]
Tim Ousley 4/10/01: MITE DMA now works correctly for finite acquisitions
smaller than the prealloc bufsz.  uncomment #define PCIDMA in ni_pcimio.c

23 years agoversion bump
David Schleef [Tue, 10 Apr 2001 11:46:07 +0000 (11:46 +0000)]
version bump

23 years agoChange from trig to insn r0_7_58
David Schleef [Mon, 9 Apr 2001 09:29:13 +0000 (09:29 +0000)]
Change from trig to insn

23 years agofixed call of request_region() with uninitialized dev->iobase
David Schleef [Mon, 9 Apr 2001 06:19:42 +0000 (06:19 +0000)]
fixed call of request_region() with uninitialized dev->iobase

23 years agodas1600 name change
David Schleef [Mon, 9 Apr 2001 06:15:28 +0000 (06:15 +0000)]
das1600 name change

23 years agoFix for das1600 name change
David Schleef [Mon, 9 Apr 2001 06:15:12 +0000 (06:15 +0000)]
Fix for das1600 name change

23 years agoadded (commented) definition of USE_PCIDMA
David Schleef [Mon, 9 Apr 2001 05:46:02 +0000 (05:46 +0000)]
added (commented) definition of USE_PCIDMA

23 years agoTried to integrate patch from Tim Ousley
David Schleef [Mon, 9 Apr 2001 05:32:37 +0000 (05:32 +0000)]
Tried to integrate patch from Tim Ousley

23 years agoFix linking of rt_pend_tq
David Schleef [Mon, 9 Apr 2001 05:03:46 +0000 (05:03 +0000)]
Fix linking of rt_pend_tq

23 years agoadded buffer overrun check to bufinfo ioctl
Frank Mori Hess [Sun, 8 Apr 2001 22:22:02 +0000 (22:22 +0000)]
added buffer overrun check to bufinfo ioctl

23 years ago converted some left over irq.h to spinlock.h
Frank Mori Hess [Sun, 8 Apr 2001 22:08:09 +0000 (22:08 +0000)]
 converted some left over irq.h to spinlock.h

23 years agopatch from Michal
David Schleef [Sun, 8 Apr 2001 01:48:16 +0000 (01:48 +0000)]
patch from Michal

23 years agoSpinlocks were moved to linux/spinlock.h.
David Schleef [Sun, 8 Apr 2001 01:41:24 +0000 (01:41 +0000)]
Spinlocks were moved to linux/spinlock.h.

23 years agoadded explicit initialization of devpriv->spinlock
Frank Mori Hess [Fri, 6 Apr 2001 23:24:19 +0000 (23:24 +0000)]
added explicit initialization of devpriv->spinlock

23 years agoadded buffer info ioctl
Frank Mori Hess [Fri, 6 Apr 2001 23:13:30 +0000 (23:13 +0000)]
added buffer info ioctl

23 years agoEnabled more drivers
David Schleef [Fri, 6 Apr 2001 22:57:46 +0000 (22:57 +0000)]
Enabled more drivers

23 years agoMite additions from Tim Ousley
David Schleef [Fri, 6 Apr 2001 22:55:53 +0000 (22:55 +0000)]
Mite additions from Tim Ousley

23 years agoI think this fixes building rt_pend_tq repeatedly
David Schleef [Fri, 6 Apr 2001 22:54:16 +0000 (22:54 +0000)]
I think this fixes building rt_pend_tq repeatedly

23 years agoFixed some stuff discovered by check_driver
David Schleef [Tue, 3 Apr 2001 23:48:23 +0000 (23:48 +0000)]
Fixed some stuff discovered by check_driver

23 years agomade comedi_spinlock functions do some type checking for standard linux and rtlinux...
Frank Mori Hess [Tue, 3 Apr 2001 23:45:56 +0000 (23:45 +0000)]
made comedi_spinlock functions do some type checking for standard linux and rtlinux spinlocks

23 years agoremoved two repeated #include directives
Frank Mori Hess [Tue, 3 Apr 2001 23:37:31 +0000 (23:37 +0000)]
removed two repeated #include directives

23 years agomoved file, since that's where it's expected.
David Schleef [Tue, 3 Apr 2001 09:59:00 +0000 (09:59 +0000)]
moved file, since that's where it's expected.

23 years agoNew driver from Michal Dobes
David Schleef [Tue, 3 Apr 2001 09:32:32 +0000 (09:32 +0000)]
New driver from Michal Dobes

23 years agoPatch from Michal Dobes
David Schleef [Tue, 3 Apr 2001 09:30:57 +0000 (09:30 +0000)]
Patch from Michal Dobes

23 years agoFixed insn_write bug.
David Schleef [Tue, 3 Apr 2001 09:24:22 +0000 (09:24 +0000)]
Fixed insn_write bug.

23 years agoFixed request_region() being called with uninitialized value.
David Schleef [Tue, 3 Apr 2001 09:23:38 +0000 (09:23 +0000)]
Fixed request_region() being called with uninitialized value.

23 years agoFix bug in ao code related to warning about return value !=
David Schleef [Tue, 3 Apr 2001 09:23:01 +0000 (09:23 +0000)]
Fix bug in ao code related to warning about return value !=
insn.n.  Also fixed ao range to be +/- 5V.

23 years agoMore checks of dubious relevance
David Schleef [Tue, 3 Apr 2001 09:21:01 +0000 (09:21 +0000)]
More checks of dubious relevance

23 years agofixed the spinlock code for the way it is _supposed_ to be.
David Schleef [Tue, 3 Apr 2001 09:20:26 +0000 (09:20 +0000)]
fixed the spinlock code for the way it is _supposed_ to be.
If it doesn't work, it needs to be fixed elsewhere. (I think)

23 years agoFixes for comedi_rt_timer. Still needs work; doesn't even
David Schleef [Tue, 3 Apr 2001 09:19:10 +0000 (09:19 +0000)]
Fixes for comedi_rt_timer.  Still needs work; doesn't even
compile right now.

23 years agofixed previous over-eager to change things that dont need to change patch, real probl...
Frank Mori Hess [Fri, 30 Mar 2001 20:31:59 +0000 (20:31 +0000)]
fixed previous over-eager to change things that dont need to change patch, real problem was just one line

23 years agofixed bug that was preventing read insn from being emulated by insn_emulate_bits()
Frank Mori Hess [Fri, 30 Mar 2001 20:18:14 +0000 (20:18 +0000)]
fixed bug that was preventing read insn from being emulated by insn_emulate_bits()

23 years agofixed up FIXME's regarding spinlock/cli
Frank Mori Hess [Fri, 30 Mar 2001 19:09:44 +0000 (19:09 +0000)]
fixed up FIXME's regarding spinlock/cli

23 years agotweaked previous fix to be extra safe
Frank Mori Hess [Sat, 24 Mar 2001 00:42:49 +0000 (00:42 +0000)]
tweaked previous fix to be extra safe

23 years agofixed problem with spurious interrupts occuring when hardware conversions were disabled
Frank Mori Hess [Sat, 24 Mar 2001 00:07:24 +0000 (00:07 +0000)]
fixed problem with spurious interrupts occuring when hardware conversions were disabled

23 years agoreplaced free_irq() for RTL
David Schleef [Fri, 23 Mar 2001 23:37:03 +0000 (23:37 +0000)]
replaced free_irq() for RTL

23 years agoremoved redundant rt_pend_tq.h from comedi directory since it was moved to comedi...
Frank Mori Hess [Fri, 23 Mar 2001 02:12:12 +0000 (02:12 +0000)]
removed redundant rt_pend_tq.h from comedi directory since it was moved to comedi/rt_pend_tq directory

23 years agochanged includes to prevent multiple definitions of __module_kernel_version and __mod...
Frank Mori Hess [Fri, 23 Mar 2001 02:05:06 +0000 (02:05 +0000)]
changed includes to prevent multiple definitions of __module_kernel_version and __module_using_checksums (defined in linux/module.h which is also included by rtl.h) on link to comedi_ksyms.o

23 years agomore cleanup
David Schleef [Thu, 22 Mar 2001 22:42:44 +0000 (22:42 +0000)]
more cleanup

23 years agoremoved iosize
David Schleef [Thu, 22 Mar 2001 22:32:09 +0000 (22:32 +0000)]
removed iosize

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