comedi.git
22 years agocalculate max number of bytes that can be read or written by using
Frank Mori Hess [Sun, 14 Apr 2002 15:46:36 +0000 (15:46 +0000)]
calculate max number of bytes that can be read or written by using
buf_int_ptr and buf_user_ptr to avoid any possible race with comedi_buf_put*().

22 years agomoved increment of buf_int_count to beginning of comedi_buf_put*() to eliminate race
Frank Mori Hess [Sun, 14 Apr 2002 02:43:16 +0000 (02:43 +0000)]
moved increment of buf_int_count to beginning of comedi_buf_put*() to eliminate race
with buffer overrun check.  Added setting of COMEDI_CB_BLOCK to comedi_buf_put() so
it doesn't need to be set in drivers

22 years agoconverted some drivers to use comedi_buf_put_array
Frank Mori Hess [Sat, 13 Apr 2002 15:49:35 +0000 (15:49 +0000)]
converted some drivers to use comedi_buf_put_array

22 years agomore calibration support for 64xx and 4020 boards, and got rid of useless i2o reg...
Frank Mori Hess [Mon, 8 Apr 2002 02:23:01 +0000 (02:23 +0000)]
more calibration support for 64xx and 4020 boards, and got rid of useless i2o reg definitions in plx9080.h

22 years agofixes to make interrupt handling more robust
Frank Mori Hess [Mon, 8 Apr 2002 02:09:40 +0000 (02:09 +0000)]
fixes to make interrupt handling more robust

22 years agoadded comedi_buf_put_array()
Frank Mori Hess [Mon, 8 Apr 2002 01:30:22 +0000 (01:30 +0000)]
added comedi_buf_put_array()
writes array to buffer

22 years agofixed 6xxx boards to work with dma ch1, for compatibility with 4020
Frank Mori Hess [Sat, 6 Apr 2002 03:15:13 +0000 (03:15 +0000)]
fixed 6xxx boards to work with dma ch1, for compatibility with 4020

22 years agofixed single-channel command
Frank Mori Hess [Fri, 5 Apr 2002 01:12:19 +0000 (01:12 +0000)]
fixed single-channel command

22 years agofixed count of number of conversion completed using pio
Frank Mori Hess [Fri, 5 Apr 2002 01:06:00 +0000 (01:06 +0000)]
fixed count of number of conversion completed using pio

22 years agodeal with grey coding of read and write fifo pointers on 4020
Frank Mori Hess [Fri, 5 Apr 2002 01:02:13 +0000 (01:02 +0000)]
deal with grey coding of read and write fifo pointers on 4020

22 years agopio and dma fixes for 4020
Frank Mori Hess [Fri, 5 Apr 2002 00:05:56 +0000 (00:05 +0000)]
pio and dma fixes for 4020

22 years agomore registers
Frank Mori Hess [Thu, 4 Apr 2002 20:20:38 +0000 (20:20 +0000)]
more registers

22 years agotrying dma channel 1 for 4020, still trying to debug pio transfer
Frank Mori Hess [Thu, 4 Apr 2002 19:46:58 +0000 (19:46 +0000)]
trying dma channel 1 for 4020, still trying to debug pio transfer

22 years agofixed pio fifo drain for 4020
Frank Mori Hess [Thu, 4 Apr 2002 05:03:09 +0000 (05:03 +0000)]
fixed pio fifo drain for 4020

22 years agotemporary band-aid for 4020 pio transfer
Frank Mori Hess [Wed, 3 Apr 2002 23:31:57 +0000 (23:31 +0000)]
temporary band-aid for 4020 pio transfer

22 years agolast change didn't work out too well, reverting parts of it
Frank Mori Hess [Wed, 3 Apr 2002 22:59:51 +0000 (22:59 +0000)]
last change didn't work out too well, reverting parts of it

22 years agoadded some debug messages to pio fifo drain
Frank Mori Hess [Wed, 3 Apr 2002 22:03:47 +0000 (22:03 +0000)]
added some debug messages to pio fifo drain

22 years agoI think we found the correct fifo register for 4020 now
Frank Mori Hess [Wed, 3 Apr 2002 17:06:34 +0000 (17:06 +0000)]
I think we found the correct fifo register for 4020 now

22 years agoremoved finished item
Frank Mori Hess [Wed, 3 Apr 2002 17:03:35 +0000 (17:03 +0000)]
removed finished item

22 years agoClean up compiler warning. r0_7_64
David Schleef [Wed, 3 Apr 2002 07:32:47 +0000 (07:32 +0000)]
Clean up compiler warning.

22 years agoAdd pcl816 driver
David Schleef [Wed, 3 Apr 2002 07:27:39 +0000 (07:27 +0000)]
Add pcl816 driver

22 years ago*** empty log message ***
David Schleef [Wed, 3 Apr 2002 07:27:02 +0000 (07:27 +0000)]
*** empty log message ***

22 years agoupdate for 0.7.64
David Schleef [Wed, 3 Apr 2002 07:26:22 +0000 (07:26 +0000)]
update for 0.7.64

22 years agoPointless, misleading drivel
David Schleef [Wed, 3 Apr 2002 07:25:21 +0000 (07:25 +0000)]
Pointless, misleading drivel

22 years agoUpdate of patch-scxi
David Schleef [Wed, 3 Apr 2002 07:24:34 +0000 (07:24 +0000)]
Update of patch-scxi

22 years agoClean up check_driver complaints
David Schleef [Wed, 3 Apr 2002 07:22:35 +0000 (07:22 +0000)]
Clean up check_driver complaints

22 years agoFrom Juan Grigera <juan@grigera.com.ar>
David Schleef [Wed, 3 Apr 2002 07:12:25 +0000 (07:12 +0000)]
From Juan Grigera <juan@grigera.com.ar>

22 years agoAdd more documentation checking
David Schleef [Wed, 3 Apr 2002 07:10:42 +0000 (07:10 +0000)]
Add more documentation checking

22 years agotesting alternate fifo offset
Frank Mori Hess [Wed, 3 Apr 2002 05:25:25 +0000 (05:25 +0000)]
testing alternate fifo offset

22 years agofixed cmdtest for 4020 and eeprom subdevice
Frank Mori Hess [Wed, 3 Apr 2002 05:07:12 +0000 (05:07 +0000)]
fixed cmdtest for 4020 and eeprom subdevice

22 years ago4020 fixes
Frank Mori Hess [Wed, 3 Apr 2002 01:32:04 +0000 (01:32 +0000)]
4020 fixes

22 years agotrying to debug location of fifo on 4020
Frank Mori Hess [Tue, 2 Apr 2002 23:44:51 +0000 (23:44 +0000)]
trying to debug location of fifo on 4020

22 years agoadded eeprom subdevice, some fixes for 4020 although it still has some bugs
Frank Mori Hess [Tue, 2 Apr 2002 22:49:20 +0000 (22:49 +0000)]
added eeprom subdevice, some fixes for 4020 although it still has some bugs

22 years agoadded check to make sure interrupt handler doesn't get behind while reading
Frank Mori Hess [Mon, 1 Apr 2002 15:38:37 +0000 (15:38 +0000)]
added check to make sure interrupt handler doesn't get behind while reading
dma buffers

22 years agoadded support for additional 8 dio channels on 60xx series, plus various
Frank Mori Hess [Sun, 31 Mar 2002 23:32:31 +0000 (23:32 +0000)]
added support for additional 8 dio channels on 60xx series, plus various
bugfixes

22 years agoenabled pcmcia code for kernels with modular pcmcia support
Frank Mori Hess [Sun, 31 Mar 2002 04:18:00 +0000 (04:18 +0000)]
enabled pcmcia code for kernels with modular pcmcia support

22 years agoadded note on new config insn
Frank Mori Hess [Sat, 30 Mar 2002 20:30:06 +0000 (20:30 +0000)]
added note on new config insn

22 years agoAdded INSN_CONFIG_ALT_SOURCE id
Frank Mori Hess [Sat, 30 Mar 2002 20:29:08 +0000 (20:29 +0000)]
Added INSN_CONFIG_ALT_SOURCE id

22 years agoadded support for reading internal calibration reference through CR_ALT_SOURCE and...
Frank Mori Hess [Sat, 30 Mar 2002 20:28:14 +0000 (20:28 +0000)]
added support for reading internal calibration reference through CR_ALT_SOURCE and insn_config

22 years agoremoved some ineffectual locking I put in a long time ago when I was young
Frank Mori Hess [Fri, 29 Mar 2002 22:49:47 +0000 (22:49 +0000)]
removed some ineffectual locking I put in a long time ago when I was young
and naive.

22 years agoadded a bug description
Frank Mori Hess [Thu, 28 Mar 2002 17:00:53 +0000 (17:00 +0000)]
added a bug description

22 years agoAdded CR_ALT_SOURCE
David Schleef [Thu, 28 Mar 2002 06:32:32 +0000 (06:32 +0000)]
Added CR_ALT_SOURCE

22 years agodisabled shared interrupt for daqcard-1200
Frank Mori Hess [Thu, 28 Mar 2002 05:26:45 +0000 (05:26 +0000)]
disabled shared interrupt for daqcard-1200

22 years agocorrected some 9060->9080 differences
Frank Mori Hess [Tue, 26 Mar 2002 16:34:05 +0000 (16:34 +0000)]
corrected some 9060->9080 differences

22 years agobugfixes for 6025, beginning to work on calibration support
Frank Mori Hess [Sun, 24 Mar 2002 20:39:08 +0000 (20:39 +0000)]
bugfixes for 6025, beginning to work on calibration support

22 years agotrying to make sure the interrupt handler doesn't have any races with the hardware
Frank Mori Hess [Sat, 23 Mar 2002 00:43:12 +0000 (00:43 +0000)]
trying to make sure the interrupt handler doesn't have any races with the hardware

22 years agooops forgot to update this header to accomodate recent changes in cb_pcidas64
Frank Mori Hess [Sat, 23 Mar 2002 00:42:44 +0000 (00:42 +0000)]
oops forgot to update this header to accomodate recent changes in cb_pcidas64

22 years agosome fixes for 64xx boards and 4020, got TRIG_WAKE_EOS working on 60xx series
Frank Mori Hess [Fri, 22 Mar 2002 04:35:26 +0000 (04:35 +0000)]
some fixes for 64xx boards and 4020, got TRIG_WAKE_EOS working on 60xx series

22 years agoFix ni_load_channelgain_list() for 611x.
David Schleef [Wed, 20 Mar 2002 21:28:22 +0000 (21:28 +0000)]
Fix ni_load_channelgain_list() for 611x.

22 years agoChange position of ai_reset when handling an error.
David Schleef [Wed, 20 Mar 2002 20:29:02 +0000 (20:29 +0000)]
Change position of ai_reset when handling an error.

22 years agoRewrote fifo_dregs for 611x boards
David Schleef [Wed, 20 Mar 2002 20:00:10 +0000 (20:00 +0000)]
Rewrote fifo_dregs for 611x boards

22 years agoRemove 6115, since it probably can't be supported easily.
David Schleef [Wed, 20 Mar 2002 19:57:29 +0000 (19:57 +0000)]
Remove 6115, since it probably can't be supported easily.

22 years agoAdded pci-6115 and pxi-6115. Renamed 6110e and 6111e to remove e.
David Schleef [Tue, 19 Mar 2002 20:27:04 +0000 (20:27 +0000)]
Added pci-6115 and pxi-6115.  Renamed 6110e and 6111e to remove e.

22 years agoFix problem with sample offsets introduced in one of the last few
David Schleef [Tue, 19 Mar 2002 20:17:37 +0000 (20:17 +0000)]
Fix problem with sample offsets introduced in one of the last few
check-ins.

22 years agomore of the same
David Schleef [Tue, 19 Mar 2002 00:00:32 +0000 (00:00 +0000)]
more of the same

22 years agoAdded info about the documentation comment block
David Schleef [Mon, 18 Mar 2002 23:47:48 +0000 (23:47 +0000)]
Added info about the documentation comment block

22 years ago(Log message for last check-in). Changes 602x boards to ad8804 caldacs
David Schleef [Mon, 18 Mar 2002 21:14:07 +0000 (21:14 +0000)]
(Log message for last check-in).  Changes 602x boards to ad8804 caldacs

22 years ago*** empty log message ***
David Schleef [Mon, 18 Mar 2002 21:12:23 +0000 (21:12 +0000)]
*** empty log message ***

22 years agoUpdate from Michal. Prototype of function changed in amcc_s5933
David Schleef [Sun, 17 Mar 2002 22:28:12 +0000 (22:28 +0000)]
Update from Michal.  Prototype of function changed in amcc_s5933
driver.

22 years agoUpdate from Configure.help. (Why do we need 2 identical files?)
David Schleef [Sun, 17 Mar 2002 22:18:34 +0000 (22:18 +0000)]
Update from Configure.help.  (Why do we need 2 identical files?)

22 years agoFix help entries for ADL_PCI9118
David Schleef [Sun, 17 Mar 2002 22:17:36 +0000 (22:17 +0000)]
Fix help entries for ADL_PCI9118

22 years agoDocumentation updates
David Schleef [Sun, 17 Mar 2002 22:08:56 +0000 (22:08 +0000)]
Documentation updates

22 years agoFixed symbol leakage. Updated documentation.
David Schleef [Sun, 17 Mar 2002 22:03:30 +0000 (22:03 +0000)]
Fixed symbol leakage.  Updated documentation.

22 years agoCleaned up 611x definitions
David Schleef [Sun, 17 Mar 2002 22:02:06 +0000 (22:02 +0000)]
Cleaned up 611x definitions

22 years agoMore work on 611x support. Documentation updates.
David Schleef [Sun, 17 Mar 2002 22:01:42 +0000 (22:01 +0000)]
More work on 611x support.  Documentation updates.

22 years ago*** empty log message ***
David Schleef [Sun, 17 Mar 2002 21:59:28 +0000 (21:59 +0000)]
*** empty log message ***

22 years agogot dma transfers working for pci-das6025
Frank Mori Hess [Sun, 17 Mar 2002 04:13:51 +0000 (04:13 +0000)]
got dma transfers working for pci-das6025

22 years agoclean up compiler warnings
David Schleef [Sun, 17 Mar 2002 00:57:42 +0000 (00:57 +0000)]
clean up compiler warnings

22 years agorewrote much of the PCI DMA code. Needs to be cleaned up.
David Schleef [Sun, 17 Mar 2002 00:48:55 +0000 (00:48 +0000)]
rewrote much of the PCI DMA code.  Needs to be cleaned up.

22 years agoTurn off debugging
David Schleef [Sun, 17 Mar 2002 00:47:31 +0000 (00:47 +0000)]
Turn off debugging

22 years agoFix problems when mite debugging is turned off
David Schleef [Sun, 17 Mar 2002 00:47:04 +0000 (00:47 +0000)]
Fix problems when mite debugging is turned off

22 years agoTurn debugging off
David Schleef [Sun, 17 Mar 2002 00:39:12 +0000 (00:39 +0000)]
Turn debugging off

22 years agoAdd ability to chose between kmalloc'd and vmalloc'd buffers. Default
David Schleef [Sun, 17 Mar 2002 00:38:51 +0000 (00:38 +0000)]
Add ability to chose between kmalloc'd and vmalloc'd buffers.  Default
is vmalloc.  Added resetting code in mite_setup().

22 years agoChange board-level error to EPIPE. Random, but it makes some sort
David Schleef [Sun, 17 Mar 2002 00:36:07 +0000 (00:36 +0000)]
Change board-level error to EPIPE.  Random, but it makes some sort
of sense.  Comedi buffer overflow remains at EIO.

22 years agoanalog input insn and cmd seem to work now (pio transfers for cmd).
Frank Mori Hess [Sun, 10 Mar 2002 23:07:23 +0000 (23:07 +0000)]
analog input insn and cmd seem to work now (pio transfers for cmd).

22 years agoAdd check for uncleared interrupts, enabled only when debugging.
David Schleef [Sun, 10 Mar 2002 20:34:27 +0000 (20:34 +0000)]
Add check for uncleared interrupts, enabled only when debugging.

22 years agoChange the bitfields to unsigned int.
David Schleef [Sun, 10 Mar 2002 20:29:17 +0000 (20:29 +0000)]
Change the bitfields to unsigned int.

22 years agoDisable windowed register access, since it's still causing problems
David Schleef [Sun, 10 Mar 2002 20:28:14 +0000 (20:28 +0000)]
Disable windowed register access, since it's still causing problems
on 611x.

22 years agoconverted 64 bit integer division to use do_div
Frank Mori Hess [Sat, 9 Mar 2002 04:02:53 +0000 (04:02 +0000)]
converted 64 bit integer division to use do_div

22 years agoadded asm/div64.h compatibility header so comedi can use 64 bit integer division
Frank Mori Hess [Sat, 9 Mar 2002 03:54:52 +0000 (03:54 +0000)]
added asm/div64.h compatibility header so comedi can use 64 bit integer division
macro

22 years agoChanged hostnames to comedi.org
David Schleef [Sat, 9 Mar 2002 01:12:50 +0000 (01:12 +0000)]
Changed hostnames to comedi.org

22 years agoGlobal change from ds@stm.lbl.gov to ds@schleef.org
David Schleef [Sat, 9 Mar 2002 00:57:19 +0000 (00:57 +0000)]
Global change from ds@stm.lbl.gov to ds@schleef.org

22 years agoFix some problems noticed by check_driver
David Schleef [Sat, 9 Mar 2002 00:47:16 +0000 (00:47 +0000)]
Fix some problems noticed by check_driver

22 years ago*** empty log message ***
David Schleef [Sat, 9 Mar 2002 00:10:17 +0000 (00:10 +0000)]
*** empty log message ***

22 years agoAdded CMDF_RAWDATA, CMDF_WRITE and COMEDI_MIN_SPEED
David Schleef [Sat, 9 Mar 2002 00:09:40 +0000 (00:09 +0000)]
Added CMDF_RAWDATA, CMDF_WRITE and COMEDI_MIN_SPEED

22 years agoUpdated docs
David Schleef [Sat, 9 Mar 2002 00:08:58 +0000 (00:08 +0000)]
Updated docs

22 years agoAdded non-munging support (CMDF_RAWDATA)
David Schleef [Sat, 9 Mar 2002 00:08:43 +0000 (00:08 +0000)]
Added non-munging support (CMDF_RAWDATA)

22 years agoUse <linux/slab.h> instead of <linux/malloc.h>
David Schleef [Sat, 9 Mar 2002 00:07:08 +0000 (00:07 +0000)]
Use <linux/slab.h> instead of <linux/malloc.h>

22 years agoI'm not good at updating this list. If you think you should be here,
David Schleef [Fri, 8 Mar 2002 23:08:44 +0000 (23:08 +0000)]
I'm not good at updating this list.  If you think you should be here,
please tell me.

22 years agoAdded ad8842 caldac
David Schleef [Fri, 8 Mar 2002 23:07:54 +0000 (23:07 +0000)]
Added ad8842 caldac

22 years agoHand-applied patch from Rolf Mueller <rolf.mueller@uni-tuebingen.de>.
David Schleef [Fri, 8 Mar 2002 22:44:05 +0000 (22:44 +0000)]
Hand-applied patch from Rolf Mueller <rolf.mueller@uni-tuebingen.de>.
Most of the patch was obsoleted by the previous check-in.

22 years ago*** empty log message ***
David Schleef [Fri, 8 Mar 2002 22:24:14 +0000 (22:24 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
David Schleef [Fri, 8 Mar 2002 22:19:56 +0000 (22:19 +0000)]
*** empty log message ***

22 years agoupdate
David Schleef [Fri, 8 Mar 2002 22:16:35 +0000 (22:16 +0000)]
update

22 years agoUpdate from Dan
David Schleef [Fri, 8 Mar 2002 22:12:51 +0000 (22:12 +0000)]
Update from Dan

22 years agoChange direct writing of shadow registers to win_in() and win_out(),
David Schleef [Fri, 8 Mar 2002 22:06:38 +0000 (22:06 +0000)]
Change direct writing of shadow registers to win_in() and win_out(),
and fix win_in() and win_out() to write directly to shadow registers
if possible.  Added 611x register definitions to ni_stc.h.  Change
caldacs on 611x boards to ad8804_debug.

22 years agoRemove floating point constant
David Schleef [Fri, 8 Mar 2002 19:42:29 +0000 (19:42 +0000)]
Remove floating point constant

22 years agoFix documentation
David Schleef [Fri, 8 Mar 2002 19:42:03 +0000 (19:42 +0000)]
Fix documentation

22 years agomore bugfixes, untested with hardware though
Frank Mori Hess [Fri, 8 Mar 2002 17:54:22 +0000 (17:54 +0000)]
more bugfixes, untested with hardware though

22 years agosome bugfixes. Driver still doesn't work yet.
Frank Mori Hess [Fri, 8 Mar 2002 04:39:23 +0000 (04:39 +0000)]
some bugfixes.  Driver still doesn't work yet.