David Schleef [Mon, 9 Apr 2001 06:19:42 +0000 (06:19 +0000)]
fixed call of request_region() with uninitialized dev->iobase
David Schleef [Mon, 9 Apr 2001 06:15:28 +0000 (06:15 +0000)]
das1600 name change
David Schleef [Mon, 9 Apr 2001 06:15:12 +0000 (06:15 +0000)]
Fix for das1600 name change
David Schleef [Mon, 9 Apr 2001 05:46:02 +0000 (05:46 +0000)]
added (commented) definition of USE_PCIDMA
David Schleef [Mon, 9 Apr 2001 05:32:37 +0000 (05:32 +0000)]
Tried to integrate patch from Tim Ousley
David Schleef [Mon, 9 Apr 2001 05:03:46 +0000 (05:03 +0000)]
Fix linking of rt_pend_tq
Frank Mori Hess [Sun, 8 Apr 2001 22:22:02 +0000 (22:22 +0000)]
added buffer overrun check to bufinfo ioctl
Frank Mori Hess [Sun, 8 Apr 2001 22:08:09 +0000 (22:08 +0000)]
converted some left over irq.h to spinlock.h
David Schleef [Sun, 8 Apr 2001 01:48:16 +0000 (01:48 +0000)]
patch from Michal
David Schleef [Sun, 8 Apr 2001 01:41:24 +0000 (01:41 +0000)]
Spinlocks were moved to linux/spinlock.h.
Frank Mori Hess [Fri, 6 Apr 2001 23:24:19 +0000 (23:24 +0000)]
added explicit initialization of devpriv->spinlock
Frank Mori Hess [Fri, 6 Apr 2001 23:13:30 +0000 (23:13 +0000)]
added buffer info ioctl
David Schleef [Fri, 6 Apr 2001 22:57:46 +0000 (22:57 +0000)]
Enabled more drivers
David Schleef [Fri, 6 Apr 2001 22:55:53 +0000 (22:55 +0000)]
Mite additions from Tim Ousley
David Schleef [Fri, 6 Apr 2001 22:54:16 +0000 (22:54 +0000)]
I think this fixes building rt_pend_tq repeatedly
David Schleef [Tue, 3 Apr 2001 23:48:23 +0000 (23:48 +0000)]
Fixed some stuff discovered by check_driver
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
Frank Mori Hess [Tue, 3 Apr 2001 23:37:31 +0000 (23:37 +0000)]
removed two repeated #include directives
David Schleef [Tue, 3 Apr 2001 09:59:00 +0000 (09:59 +0000)]
moved file, since that's where it's expected.
David Schleef [Tue, 3 Apr 2001 09:32:32 +0000 (09:32 +0000)]
New driver from Michal Dobes
David Schleef [Tue, 3 Apr 2001 09:30:57 +0000 (09:30 +0000)]
Patch from Michal Dobes
David Schleef [Tue, 3 Apr 2001 09:24:22 +0000 (09:24 +0000)]
Fixed insn_write bug.
David Schleef [Tue, 3 Apr 2001 09:23:38 +0000 (09:23 +0000)]
Fixed request_region() being called with uninitialized 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.
David Schleef [Tue, 3 Apr 2001 09:21:01 +0000 (09:21 +0000)]
More checks of dubious relevance
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)
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.
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
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()
Frank Mori Hess [Fri, 30 Mar 2001 19:09:44 +0000 (19:09 +0000)]
fixed up FIXME's regarding spinlock/cli
Frank Mori Hess [Sat, 24 Mar 2001 00:42:49 +0000 (00:42 +0000)]
tweaked previous fix to be extra safe
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
David Schleef [Fri, 23 Mar 2001 23:37:03 +0000 (23:37 +0000)]
replaced free_irq() for RTL
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
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
David Schleef [Thu, 22 Mar 2001 22:42:44 +0000 (22:42 +0000)]
more cleanup
David Schleef [Thu, 22 Mar 2001 22:32:09 +0000 (22:32 +0000)]
removed iosize
David Schleef [Thu, 22 Mar 2001 22:31:53 +0000 (22:31 +0000)]
cleaned up interrupt handling
David Schleef [Thu, 22 Mar 2001 21:06:42 +0000 (21:06 +0000)]
added events to async structure
David Schleef [Thu, 22 Mar 2001 20:55:18 +0000 (20:55 +0000)]
Fix to make rt_pend_tq work correctly on RTAI.
David Schleef [Thu, 22 Mar 2001 20:53:52 +0000 (20:53 +0000)]
Added install_dev target
David Schleef [Thu, 22 Mar 2001 20:48:41 +0000 (20:48 +0000)]
patch for cb_pcidas info
David Schleef [Thu, 22 Mar 2001 00:58:23 +0000 (00:58 +0000)]
*** empty log message ***
David Schleef [Thu, 22 Mar 2001 00:09:54 +0000 (00:09 +0000)]
removed dev->iosize
David Schleef [Thu, 22 Mar 2001 00:09:22 +0000 (00:09 +0000)]
moved vd_timer to drivers/comedi_rt_timer
David Schleef [Thu, 22 Mar 2001 00:02:37 +0000 (00:02 +0000)]
removed dev->iosize
David Schleef [Thu, 22 Mar 2001 00:01:41 +0000 (00:01 +0000)]
changed driver from trig to insn
David Schleef [Wed, 21 Mar 2001 23:59:46 +0000 (23:59 +0000)]
Moved real-time timer code from comedi/realtime/vd_timer.c
David Schleef [Wed, 21 Mar 2001 23:41:16 +0000 (23:41 +0000)]
fix for reversed arguments to win_out(), from Tim Ousley
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
David Schleef [Sat, 17 Mar 2001 03:56:09 +0000 (03:56 +0000)]
fix use of cmd->data
David Schleef [Sat, 17 Mar 2001 03:47:35 +0000 (03:47 +0000)]
changed driver names
David Schleef [Sat, 17 Mar 2001 03:45:35 +0000 (03:45 +0000)]
changed driver names
David Schleef [Sat, 17 Mar 2001 03:44:08 +0000 (03:44 +0000)]
Changed names on 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.
David Schleef [Sat, 17 Mar 2001 03:34:59 +0000 (03:34 +0000)]
random todo checkin
David Schleef [Sat, 17 Mar 2001 03:34:06 +0000 (03:34 +0000)]
added new tests
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.
David Schleef [Fri, 16 Mar 2001 19:20:41 +0000 (19:20 +0000)]
Original source from author. Probably will be moved/fixed.
David Schleef [Tue, 13 Mar 2001 09:31:19 +0000 (09:31 +0000)]
TM's original patch
David Schleef [Tue, 13 Mar 2001 09:28:09 +0000 (09:28 +0000)]
added rt_pend_tq support from Tomasz, plus my mods
David Schleef [Tue, 13 Mar 2001 09:25:45 +0000 (09:25 +0000)]
added comedi_poll()
David Schleef [Tue, 13 Mar 2001 09:25:27 +0000 (09:25 +0000)]
more ->poll support
Frank Mori Hess [Thu, 8 Mar 2001 17:34:19 +0000 (17:34 +0000)]
removed unused recognize stuff from pci driver
David Schleef [Thu, 8 Mar 2001 09:21:03 +0000 (09:21 +0000)]
Conversion of drivers from trig to insn/cmd.
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
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
David Schleef [Sun, 4 Mar 2001 10:55:52 +0000 (10:55 +0000)]
fixes for bugs suggested by check_driver
David Schleef [Sun, 4 Mar 2001 08:45:47 +0000 (08:45 +0000)]
enabled all boards
David Schleef [Sun, 4 Mar 2001 08:45:21 +0000 (08:45 +0000)]
cleaned up commenting for async structure
removed dev->board
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
David Schleef [Sun, 4 Mar 2001 08:42:57 +0000 (08:42 +0000)]
fixed pcl726 info, needs more work
David Schleef [Sun, 4 Mar 2001 08:42:24 +0000 (08:42 +0000)]
*** empty log message ***
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
David Schleef [Sun, 4 Mar 2001 06:57:40 +0000 (06:57 +0000)]
script to check random craziness in drivers
Frank Mori Hess [Sat, 3 Mar 2001 15:56:15 +0000 (15:56 +0000)]
added recognize replacement
Frank Mori Hess [Sat, 3 Mar 2001 15:43:06 +0000 (15:43 +0000)]
removed unnecessary recognize function that just recognized name of driver
David Schleef [Fri, 2 Mar 2001 17:55:57 +0000 (17:55 +0000)]
fix warning
David Schleef [Fri, 2 Mar 2001 17:21:02 +0000 (17:21 +0000)]
changes for dt2811
David Schleef [Fri, 2 Mar 2001 06:43:48 +0000 (06:43 +0000)]
Fix previous vm changes for 2.2 (I think)
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
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()
David Schleef [Thu, 1 Mar 2001 22:25:38 +0000 (22:25 +0000)]
changes to bufconfig structure
Frank Mori Hess [Thu, 1 Mar 2001 19:05:55 +0000 (19:05 +0000)]
added recognize replacement
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
Frank Mori Hess [Thu, 1 Mar 2001 18:33:21 +0000 (18:33 +0000)]
updated some comments
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
David Schleef [Thu, 1 Mar 2001 05:03:23 +0000 (05:03 +0000)]
add install to pcmcia subdir
David Schleef [Thu, 1 Mar 2001 05:02:57 +0000 (05:02 +0000)]
added compatibility for kill_fasync()
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
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
Frank Mori Hess [Tue, 27 Feb 2001 23:23:07 +0000 (23:23 +0000)]
recognize replacement now provides simpler interface to drivers
David Schleef [Mon, 26 Feb 2001 22:03:38 +0000 (22:03 +0000)]
version bump
Frank Mori Hess [Wed, 21 Feb 2001 17:25:28 +0000 (17:25 +0000)]
protected indirect addressing with comedi_spin_lock_irqsave()
David Schleef [Mon, 19 Feb 2001 22:50:21 +0000 (22:50 +0000)]
Added driver for DIO pins on MPC8260 CPM. Not working.
David Schleef [Mon, 19 Feb 2001 22:47:04 +0000 (22:47 +0000)]
Added fasync/SIGIO support.
David Schleef [Mon, 19 Feb 2001 22:41:58 +0000 (22:41 +0000)]
added fl512 driver
David Schleef [Mon, 19 Feb 2001 22:41:07 +0000 (22:41 +0000)]
*** empty log message ***
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
David Schleef [Mon, 19 Feb 2001 21:18:28 +0000 (21:18 +0000)]
fixups for driver