comedi.git
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.

22 years agoCorrected 'Authors:' fields that should be 'Author:' , since it was causing problems
Frank Mori Hess [Wed, 6 Mar 2002 23:35:25 +0000 (23:35 +0000)]
Corrected 'Authors:' fields that should be 'Author:' , since it was causing problems
with the documentation comedilib produces from drivers.txt

22 years agoadded some new boards, still needs some tweaking but I should be getting one
Frank Mori Hess [Wed, 6 Mar 2002 18:46:58 +0000 (18:46 +0000)]
added some new boards, still needs some tweaking but I should be getting one
of these in a week or so.

22 years agochanged dummy_waveform driver to comedi_test driver, added support for convert_src...
Frank Mori Hess [Wed, 6 Mar 2002 17:31:59 +0000 (17:31 +0000)]
changed dummy_waveform driver to comedi_test driver, added support for convert_src = TRIG_TIMER

22 years agomore compatibility functions to get adl_pci9111.c driver working on 2.2 kernels
Frank Mori Hess [Wed, 6 Mar 2002 01:13:38 +0000 (01:13 +0000)]
more compatibility functions to get adl_pci9111.c driver working on 2.2 kernels

22 years agoremoved definition of RANGE_mA() macro, which is already defined by linux/comedidev.h
Frank Mori Hess [Tue, 5 Mar 2002 23:14:20 +0000 (23:14 +0000)]
removed definition of RANGE_mA() macro, which is already defined by linux/comedidev.h

22 years agoadded square wave generation on channel 1, made scans with more than one channel
Frank Mori Hess [Tue, 5 Mar 2002 20:54:48 +0000 (20:54 +0000)]
added square wave generation on channel 1, made scans with more than one channel
work, added 5 volt range, added documentation comments

22 years agoremoved some redundant comments
Frank Mori Hess [Tue, 5 Mar 2002 20:53:26 +0000 (20:53 +0000)]
removed some redundant comments

22 years agoGot dummy waveform generation driver started by Wuttke Joachim working (sort of) so
Frank Mori Hess [Tue, 5 Mar 2002 00:23:02 +0000 (00:23 +0000)]
Got dummy waveform generation driver started by Wuttke Joachim working (sort of) so
I can bring comedi to a job interview :P

22 years agopatch from John Conner <conner@empiredi.com> for cio-das16jr/16 support
Frank Mori Hess [Mon, 4 Mar 2002 19:05:06 +0000 (19:05 +0000)]
patch from John Conner <conner@empiredi.com> for cio-das16jr/16 support

22 years agopass PATH environment variable to script so 'fake' kernel source installations
Frank Mori Hess [Fri, 1 Mar 2002 21:20:43 +0000 (21:20 +0000)]
pass PATH environment variable to script so 'fake' kernel source installations
will still work.

22 years ago2.2.20 kernel already includes compatibility functions for check/request/release_mem_...
Frank Mori Hess [Fri, 1 Mar 2002 20:48:20 +0000 (20:48 +0000)]
2.2.20 kernel already includes compatibility functions for check/request/release_mem_region()

22 years agofixing compile... I guess this is right
Frank Mori Hess [Thu, 28 Feb 2002 19:19:10 +0000 (19:19 +0000)]
fixing compile... I guess this is right

22 years agoFix bad changelog style
David Schleef [Thu, 28 Feb 2002 04:53:54 +0000 (04:53 +0000)]
Fix bad changelog style

22 years agoNew upload
David Schleef [Thu, 28 Feb 2002 04:15:02 +0000 (04:15 +0000)]
New upload

22 years agoAdd debugging caldac, and change at-mio-16xe-50 to use it.
David Schleef [Thu, 28 Feb 2002 03:03:36 +0000 (03:03 +0000)]
Add debugging caldac, and change at-mio-16xe-50 to use it.

22 years agoFix some board information
David Schleef [Thu, 28 Feb 2002 03:02:54 +0000 (03:02 +0000)]
Fix some board information

22 years agoadded initialization of calibration register to make sure channel 0 is not reading
Frank Mori Hess [Thu, 28 Feb 2002 00:09:54 +0000 (00:09 +0000)]
added initialization of calibration register to make sure channel 0 is not reading
calibration source.

22 years agolet's build some RPMs. From Tim Ousley <tim.ousley@ni.com>
David Schleef [Tue, 26 Feb 2002 11:09:28 +0000 (11:09 +0000)]
let's build some RPMs.  From Tim Ousley <tim.ousley@ni.com>

22 years agoundid addition of PCI_VENDOR_ID_ICP, since it was already added to comedidev.h
Frank Mori Hess [Mon, 25 Feb 2002 21:48:34 +0000 (21:48 +0000)]
undid addition of PCI_VENDOR_ID_ICP, since it was already added to comedidev.h
Not sure why I had this problem in the first place, must have had a problem with
cvs update

22 years agoquick hack to fix lack of PCI_VENDOR_ID_ICP in 2.2 kernels
Frank Mori Hess [Thu, 21 Feb 2002 17:57:56 +0000 (17:57 +0000)]
quick hack to fix lack of PCI_VENDOR_ID_ICP in 2.2 kernels

22 years agoenabled 8255 support for a few boards that should have it
Frank Mori Hess [Thu, 21 Feb 2002 17:52:31 +0000 (17:52 +0000)]
enabled 8255 support for a few boards that should have it

22 years agofixed driver being very noisy if debugging is turned on with shared
David Schleef [Wed, 20 Feb 2002 20:09:20 +0000 (20:09 +0000)]
fixed driver being very noisy if debugging is turned on with shared
interrupts.  Attempt to get the driver to stop acquisition correctly
with DMA.

22 years agoEnable PCIDMA, add structure for 6053e
David Schleef [Wed, 20 Feb 2002 20:02:08 +0000 (20:02 +0000)]
Enable PCIDMA, add structure for 6053e

22 years agoCleanups
David Schleef [Wed, 20 Feb 2002 19:56:18 +0000 (19:56 +0000)]
Cleanups

22 years agoFix PCI vendor IDs
David Schleef [Wed, 20 Feb 2002 19:54:22 +0000 (19:54 +0000)]
Fix PCI vendor IDs

22 years agoAdd some vendor ids
David Schleef [Wed, 20 Feb 2002 19:42:27 +0000 (19:42 +0000)]
Add some vendor ids

22 years agonew driver from Emmanuel PACAUD <emmanuel.pacaud@univ-poitiers.fr>
David Schleef [Wed, 20 Feb 2002 17:29:44 +0000 (17:29 +0000)]
new driver from Emmanuel PACAUD <emmanuel.pacaud@univ-poitiers.fr>

22 years agonew driver adl_pci9111
David Schleef [Wed, 20 Feb 2002 17:29:08 +0000 (17:29 +0000)]
new driver adl_pci9111

22 years agoAdded pcl733 and pcl734
David Schleef [Tue, 19 Feb 2002 00:29:07 +0000 (00:29 +0000)]
Added pcl733 and pcl734

22 years agofixed gain for pc104-das16jr/16
Frank Mori Hess [Mon, 18 Feb 2002 21:58:07 +0000 (21:58 +0000)]
fixed gain for pc104-das16jr/16

22 years agoPCMCIA can share interrupts, too
David Schleef [Sat, 16 Feb 2002 22:46:55 +0000 (22:46 +0000)]
PCMCIA can share interrupts, too

22 years agoadded pci_enable_device() call
Frank Mori Hess [Fri, 15 Feb 2002 23:08:44 +0000 (23:08 +0000)]
added pci_enable_device() call

22 years agofixed pci_resource_start compatibility macro so it returns address without
Frank Mori Hess [Fri, 15 Feb 2002 22:39:17 +0000 (22:39 +0000)]
fixed pci_resource_start compatibility macro so it returns address without
and extra flag bits set.  Some hacks to fix amcc_s5933.c stuff on 2.4

22 years ago6024e and 6025e don't have unipolar or external AO
David Schleef [Fri, 15 Feb 2002 22:25:16 +0000 (22:25 +0000)]
6024e and 6025e don't have unipolar or external AO

22 years agoCompatibility for vmalloc_32()
David Schleef [Thu, 14 Feb 2002 23:36:45 +0000 (23:36 +0000)]
Compatibility for vmalloc_32()

22 years agoFirst attempt at AI command support
David Schleef [Thu, 14 Feb 2002 04:59:20 +0000 (04:59 +0000)]
First attempt at AI command support

22 years agoFix description
David Schleef [Tue, 12 Feb 2002 02:56:10 +0000 (02:56 +0000)]
Fix description

22 years agoSeems to work now
David Schleef [Tue, 12 Feb 2002 02:55:18 +0000 (02:55 +0000)]
Seems to work now

22 years agoOnly run depmod if installing to / and kernel is the same
David Schleef [Tue, 12 Feb 2002 01:48:50 +0000 (01:48 +0000)]
Only run depmod if installing to / and kernel is the same

22 years agoMore hacking.
David Schleef [Tue, 12 Feb 2002 01:34:36 +0000 (01:34 +0000)]
More hacking.

22 years agoChange 6052e to use ad8804 caldac
David Schleef [Tue, 12 Feb 2002 00:49:59 +0000 (00:49 +0000)]
Change 6052e to use ad8804 caldac

22 years agoBuild a Debian source package
David Schleef [Mon, 11 Feb 2002 09:34:57 +0000 (09:34 +0000)]
Build a Debian source package

22 years agoAdded 6731, 6733. Updated documentation
David Schleef [Mon, 11 Feb 2002 01:03:28 +0000 (01:03 +0000)]
Added 6731, 6733.  Updated documentation

22 years agoAdded 6715, disabled.
David Schleef [Mon, 11 Feb 2002 01:03:01 +0000 (01:03 +0000)]
Added 6715, disabled.

22 years agoChanges needed for 671x boards
David Schleef [Sun, 10 Feb 2002 23:55:22 +0000 (23:55 +0000)]
Changes needed for 671x boards

22 years agoConvert to pci_resource_start()
David Schleef [Sun, 10 Feb 2002 05:05:07 +0000 (05:05 +0000)]
Convert to pci_resource_start()

22 years agoMoved edge/level rising/falling defs to comedi.h
David Schleef [Sun, 10 Feb 2002 05:04:20 +0000 (05:04 +0000)]
Moved edge/level rising/falling defs to comedi.h

22 years agoRemove 2.0 PCI code
David Schleef [Sun, 10 Feb 2002 04:56:45 +0000 (04:56 +0000)]
Remove 2.0 PCI code

22 years agoAdded a few things to interface
David Schleef [Sun, 10 Feb 2002 04:54:09 +0000 (04:54 +0000)]
Added a few things to interface

22 years agoRemoval of 2.0 PCI support
David Schleef [Sun, 10 Feb 2002 04:21:24 +0000 (04:21 +0000)]
Removal of 2.0 PCI support

22 years agoMore DMA hacking. Works nicely now. Allocator moved to mite.c.
David Schleef [Sun, 10 Feb 2002 04:13:57 +0000 (04:13 +0000)]
More DMA hacking.  Works nicely now.  Allocator moved to mite.c.
Converted to new MITE DMA functions and dynamic ring buffer.  Added
more mite interrupt handling.

22 years agoChange buffer allocation to use mite allocator.
David Schleef [Sun, 10 Feb 2002 04:11:36 +0000 (04:11 +0000)]
Change buffer allocation to use mite allocator.

22 years agoAttempt to fix for new MITE DMA code. Cleanups.
David Schleef [Sun, 10 Feb 2002 04:11:05 +0000 (04:11 +0000)]
Attempt to fix for new MITE DMA code.  Cleanups.

22 years agoIfdef old DMA functions
David Schleef [Sun, 10 Feb 2002 04:09:46 +0000 (04:09 +0000)]
Ifdef old DMA functions

22 years agoRemove old PCI support. Remove static ring buffer. #ifdef old
David Schleef [Sun, 10 Feb 2002 04:09:16 +0000 (04:09 +0000)]
Remove old PCI support.  Remove static ring buffer.  #ifdef old
dma functions.

22 years agoCleanups: remove old PCI support. Fix more places for mite->chan.
David Schleef [Sun, 10 Feb 2002 03:37:14 +0000 (03:37 +0000)]
Cleanups: remove old PCI support.  Fix more places for mite->chan.
Remove ring[].dar usage.

22 years agoAdded cpu_to_le32() for big-endian machines. Removed unused functions.
David Schleef [Sun, 10 Feb 2002 03:26:49 +0000 (03:26 +0000)]
Added cpu_to_le32() for big-endian machines.  Removed unused functions.
Cleanups.  Converted most to use mite->chan.  Added functions for
ni_pcidio.  Added chsr dump function.

22 years agoAdded more defines. Added new functions, works on ni_pcidio. Added
David Schleef [Sun, 10 Feb 2002 03:19:40 +0000 (03:19 +0000)]
Added more defines.  Added new functions, works on ni_pcidio.  Added
elements to mite structure to handle a dynamic ring buffer.

22 years agoCheckpoint for DMA hacking. Mostly works for small N.
David Schleef [Sun, 10 Feb 2002 01:02:55 +0000 (01:02 +0000)]
Checkpoint for DMA hacking.  Mostly works for small N.

22 years agoTimed input works in non-DMA mode.
David Schleef [Sat, 9 Feb 2002 05:57:49 +0000 (05:57 +0000)]
Timed input works in non-DMA mode.

22 years agoUpdate from Dan. Fixes conflict between rounding timer values and
David Schleef [Sat, 9 Feb 2002 01:38:44 +0000 (01:38 +0000)]
Update from Dan.  Fixes conflict between rounding timer values and
speed cutoff.

22 years agoCleanups. Should work identically to last revision.
David Schleef [Sat, 9 Feb 2002 00:49:24 +0000 (00:49 +0000)]
Cleanups.  Should work identically to last revision.

22 years agoCompilation fixes
David Schleef [Fri, 8 Feb 2002 23:11:15 +0000 (23:11 +0000)]
Compilation fixes

22 years agoNew drivers
David Schleef [Fri, 8 Feb 2002 23:10:45 +0000 (23:10 +0000)]
New drivers

22 years agoBig hack attack results in new driver. Film at 11.
David Schleef [Fri, 8 Feb 2002 23:09:47 +0000 (23:09 +0000)]
Big hack attack results in new driver.  Film at 11.

22 years agoUpdated documentation
David Schleef [Fri, 8 Feb 2002 21:03:58 +0000 (21:03 +0000)]
Updated documentation

22 years agoUpdate from Dan
David Schleef [Thu, 7 Feb 2002 21:06:14 +0000 (21:06 +0000)]
Update from Dan

22 years agonewer versino of icp_multi driver that Anne Smorthit had mailed to me while she
Frank Mori Hess [Thu, 7 Feb 2002 18:11:37 +0000 (18:11 +0000)]
newer versino of icp_multi driver that Anne Smorthit had mailed to me while she
was trying to debug it

22 years agoadded a paragraph about preparing a kernel source directory to match an
Frank Mori Hess [Thu, 7 Feb 2002 17:55:05 +0000 (17:55 +0000)]
added a paragraph about preparing a kernel source directory to match an
already compiled kernel.

22 years agoRevert poll conditions: if device is non-busy, set the poll flags so
David Schleef [Wed, 6 Feb 2002 21:48:05 +0000 (21:48 +0000)]
Revert poll conditions: if device is non-busy, set the poll flags so
the app can read the error.  This is how it used to be, and I'm not
sure why I changed (broke) it.

22 years agoChange caldac code to be slightly less confusing
David Schleef [Wed, 6 Feb 2002 20:41:21 +0000 (20:41 +0000)]
Change caldac code to be slightly less confusing