Tim Ousley [Wed, 18 Apr 2001 20:57:09 +0000 (20:57 +0000)]
started adding an insn interface to GPCTRs.
Tim Ousley [Tue, 17 Apr 2001 21:47:02 +0000 (21:47 +0000)]
GPCTR_Begin_Event_Counting() functions now, although it isn't very flexible.
Frank Mori Hess [Tue, 17 Apr 2001 21:24:24 +0000 (21:24 +0000)]
fixed some problems with last change trying to dereferency s->async in cmdtest, and merged gain lookup tables into board struct
Frank Mori Hess [Tue, 17 Apr 2001 20:53:49 +0000 (20:53 +0000)]
added checking of chanlist against limitations of das800 autoscan mode
Tim Ousley [Tue, 17 Apr 2001 20:52:04 +0000 (20:52 +0000)]
added ni_set_bits(dev,register,bits, value) to share access to interrupt and
pfi registers. This should let AI, AO, and CTR code all share the interrupts.
Some of the GPCTR functions appear to work now in kernel tests.
Frank Mori Hess [Tue, 17 Apr 2001 20:42:37 +0000 (20:42 +0000)]
fixed unresolved symbol problem due to merging of free_resources and _detach functions
Tim Ousley [Fri, 13 Apr 2001 22:36:27 +0000 (22:36 +0000)]
added functions to do simple event counting...no API and no way to test it
yet, but its coming...
David Schleef [Fri, 13 Apr 2001 10:31:19 +0000 (10:31 +0000)]
writew() had its arguments reversed.
Tim Ousley [Thu, 12 Apr 2001 21:36:07 +0000 (21:36 +0000)]
Tim Ousley 4/12/01: consolidated some constants in ni_stc.h and added some
low level GPCTR specific writes to ni_mio_common.c
Tim Ousley [Thu, 12 Apr 2001 20:24:46 +0000 (20:24 +0000)]
Tim Ousley 4/12/01: gpct_mode0,gpct_mode1 and other GPCTR variables are now
stored as an array for future scalability to non STC GPCTR chips. Some
function stubs are in ni_mio_common.c for GPCTR low level writes.
David Schleef [Wed, 11 Apr 2001 07:20:35 +0000 (07:20 +0000)]
more migration to insn
David Schleef [Wed, 11 Apr 2001 05:51:14 +0000 (05:51 +0000)]
Deleted trig related code.
David Schleef [Wed, 11 Apr 2001 05:50:38 +0000 (05:50 +0000)]
Added AO readback and DIO bits and DIO config.
David Schleef [Wed, 11 Apr 2001 05:08:12 +0000 (05:08 +0000)]
Migrating drivers from trig to insn
David Schleef [Wed, 11 Apr 2001 03:37:22 +0000 (03:37 +0000)]
added RANGE_mA
Tim Ousley [Tue, 10 Apr 2001 19:47:52 +0000 (19:47 +0000)]
Tim Ousley 4/10/01: added comments explaining how to modify
mite_ll_from_kvmem, for continuous acquisition.
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
David Schleef [Tue, 10 Apr 2001 11:46:07 +0000 (11:46 +0000)]
version bump
David Schleef [Mon, 9 Apr 2001 09:29:13 +0000 (09:29 +0000)]
Change from trig to insn
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