comedi.git
21 years agoisapnp.h compat header didn't work out as nicely as I hoped
Frank Mori Hess [Mon, 10 Mar 2003 22:23:30 +0000 (22:23 +0000)]
isapnp.h compat header didn't work out as nicely as I hoped

21 years agoadded isapnp compat header
Frank Mori Hess [Mon, 10 Mar 2003 21:38:39 +0000 (21:38 +0000)]
added isapnp compat header

21 years agoisapnp fixes (mostly just changing pcidev->irq to pcidev->irq_resource[0].start
Frank Mori Hess [Mon, 10 Mar 2003 21:04:30 +0000 (21:04 +0000)]
isapnp fixes (mostly just changing pcidev->irq to pcidev->irq_resource[0].start

21 years agoinitialize caldacs to middle-of-range during attach, don't bother
Frank Mori Hess [Sun, 2 Mar 2003 03:10:41 +0000 (03:10 +0000)]
initialize caldacs to middle-of-range during attach, don't bother
reprogramming them if they are already set as desired

21 years agoinit almost empty/full registers with larger values, since dma seems to
Frank Mori Hess [Sun, 2 Mar 2003 01:21:42 +0000 (01:21 +0000)]
init almost empty/full registers with larger values, since dma seems to
be underrunning the fifo occasionally

21 years agodon't enable BTERM#
Frank Mori Hess [Sun, 2 Mar 2003 01:04:40 +0000 (01:04 +0000)]
don't enable BTERM#

21 years agotry to fix some useless warning messages with das16/330
Frank Mori Hess [Fri, 28 Feb 2003 17:17:03 +0000 (17:17 +0000)]
try to fix some useless warning messages with das16/330

21 years agoexplicitly disable interrupts and pacing in ai read insn
Frank Mori Hess [Thu, 27 Feb 2003 17:30:50 +0000 (17:30 +0000)]
explicitly disable interrupts and pacing in ai read insn

21 years agomade das16_cancel() disable external pacing too
Frank Mori Hess [Thu, 27 Feb 2003 17:19:18 +0000 (17:19 +0000)]
made das16_cancel() disable external pacing too

21 years agofix crash
Frank Mori Hess [Mon, 24 Feb 2003 19:16:22 +0000 (19:16 +0000)]
fix crash

21 years agoremoved redundant setting of async->buf_read_count since it is handled by
Frank Mori Hess [Sat, 22 Feb 2003 03:00:26 +0000 (03:00 +0000)]
removed redundant setting of async->buf_read_count since it is handled by
comedi_read_free() call I added

21 years agoexported symbol for comedi_get_buffer_size()
Frank Mori Hess [Fri, 21 Feb 2003 02:19:53 +0000 (02:19 +0000)]
exported symbol for comedi_get_buffer_size()

21 years agoadded comedi_get_buffer_size() to kcomedilib
Frank Mori Hess [Thu, 20 Feb 2003 19:00:20 +0000 (19:00 +0000)]
added comedi_get_buffer_size() to kcomedilib

21 years agoupdated status
Frank Mori Hess [Thu, 20 Feb 2003 16:43:12 +0000 (16:43 +0000)]
updated status

21 years agodisable debugging code
Frank Mori Hess [Thu, 20 Feb 2003 01:50:12 +0000 (01:50 +0000)]
disable debugging code

21 years agoadded debug message
Frank Mori Hess [Thu, 20 Feb 2003 01:46:39 +0000 (01:46 +0000)]
added debug message

21 years agoadded comedi_buf_read_free() call to comedi_set_user_int_count()
Frank Mori Hess [Thu, 20 Feb 2003 01:00:33 +0000 (01:00 +0000)]
added comedi_buf_read_free() call to comedi_set_user_int_count()

21 years agoadded rx fifo overrun detection
Frank Mori Hess [Thu, 20 Feb 2003 00:31:16 +0000 (00:31 +0000)]
added rx fifo overrun detection

21 years agoimore debug messages
Frank Mori Hess [Thu, 20 Feb 2003 00:28:11 +0000 (00:28 +0000)]
imore debug messages

21 years agodisable interrupts in cancel
Frank Mori Hess [Thu, 20 Feb 2003 00:17:04 +0000 (00:17 +0000)]
disable interrupts in cancel

21 years agomake subdev_flags and runflags volatile since they can be modified
Frank Mori Hess [Wed, 19 Feb 2003 21:34:14 +0000 (21:34 +0000)]
make subdev_flags and runflags volatile since they can be modified
in interrupt (comedi_event())

21 years agostop suppressing block events
Frank Mori Hess [Wed, 19 Feb 2003 16:08:49 +0000 (16:08 +0000)]
stop suppressing block events

21 years agoadded a debug message
Frank Mori Hess [Wed, 19 Feb 2003 04:21:22 +0000 (04:21 +0000)]
added a debug message

21 years agoset insn_config to insn_inval if it is NULL
Frank Mori Hess [Wed, 19 Feb 2003 04:20:10 +0000 (04:20 +0000)]
set insn_config to insn_inval if it is NULL

21 years agofix INSN_CONFIG_BLOCK_SIZE
Frank Mori Hess [Wed, 19 Feb 2003 04:19:30 +0000 (04:19 +0000)]
fix INSN_CONFIG_BLOCK_SIZE

21 years agomore debug messages
Frank Mori Hess [Wed, 19 Feb 2003 02:37:32 +0000 (02:37 +0000)]
more debug messages

21 years agobug fixes
Frank Mori Hess [Wed, 19 Feb 2003 02:05:48 +0000 (02:05 +0000)]
bug fixes

21 years agomake end of scan events correct for digital io
Frank Mori Hess [Tue, 18 Feb 2003 23:44:47 +0000 (23:44 +0000)]
make end of scan events correct for digital io

21 years agodeclare elements of dma descriptors volatile
Frank Mori Hess [Tue, 18 Feb 2003 23:44:09 +0000 (23:44 +0000)]
declare elements of dma descriptors volatile

21 years ago add support for INSN_CONFIG_BLOCK_SIZE
Frank Mori Hess [Tue, 18 Feb 2003 23:41:36 +0000 (23:41 +0000)]
 add support for INSN_CONFIG_BLOCK_SIZE

21 years agoadded init of hpdi interrupt control reg, fixed dma abort channel
Frank Mori Hess [Tue, 18 Feb 2003 17:32:57 +0000 (17:32 +0000)]
added init of hpdi interrupt control reg, fixed dma abort channel

21 years agofix stop src TRIG_COUNT
Frank Mori Hess [Tue, 18 Feb 2003 16:19:38 +0000 (16:19 +0000)]
fix stop src TRIG_COUNT

21 years agofix pci discovery
Frank Mori Hess [Tue, 18 Feb 2003 00:35:09 +0000 (00:35 +0000)]
fix pci discovery

21 years agouse dma chan 0
Frank Mori Hess [Mon, 17 Feb 2003 18:01:33 +0000 (18:01 +0000)]
use dma chan 0

21 years agonew driver (doesn't work yet)
Frank Mori Hess [Mon, 17 Feb 2003 05:04:05 +0000 (05:04 +0000)]
new driver (doesn't work yet)

21 years agofixed sizes passed to ioremap
Frank Mori Hess [Sat, 15 Feb 2003 23:45:06 +0000 (23:45 +0000)]
fixed sizes passed to ioremap

21 years agoChanged prototype of alloc_subdevices() so it doesn't require dev->n_subdevices
Frank Mori Hess [Sat, 15 Feb 2003 18:35:46 +0000 (18:35 +0000)]
Changed prototype of alloc_subdevices() so it doesn't require dev->n_subdevices
to be set prior to being called.  Fixed 8255 cleanup in ni_daq_dio24.c.  Comedi
sure has a lot of drivers these days!

21 years agomoved plx9080 dma abort routine from cb_pcidas64 driver into plx9080 header
Frank Mori Hess [Sat, 15 Feb 2003 17:45:17 +0000 (17:45 +0000)]
moved plx9080 dma abort routine from cb_pcidas64 driver into plx9080 header

21 years agoadded pci-6534 to pci_device_id table
Frank Mori Hess [Thu, 13 Feb 2003 16:52:07 +0000 (16:52 +0000)]
added pci-6534 to pci_device_id table

21 years agoremoved comment which said to wait for mux to settle
Frank Mori Hess [Mon, 10 Feb 2003 17:02:50 +0000 (17:02 +0000)]
removed comment which said to wait for mux to settle

21 years agogot rid of some spurious address-of operators
Frank Mori Hess [Mon, 10 Feb 2003 16:12:12 +0000 (16:12 +0000)]
got rid of some spurious address-of operators

21 years agoupdated reference to old lineo cvs server
Frank Mori Hess [Wed, 5 Feb 2003 15:06:58 +0000 (15:06 +0000)]
updated reference to old lineo cvs server

21 years agoFix warning
David Schleef [Mon, 3 Feb 2003 18:16:42 +0000 (18:16 +0000)]
Fix warning

21 years agoMove DEBUG() definition to fix compile errors
David Schleef [Mon, 3 Feb 2003 18:16:30 +0000 (18:16 +0000)]
Move DEBUG() definition to fix compile errors

21 years agoDoc links
David Schleef [Mon, 3 Feb 2003 18:15:40 +0000 (18:15 +0000)]
Doc links

21 years agoNeed to set read_subdev
David Schleef [Mon, 3 Feb 2003 18:14:25 +0000 (18:14 +0000)]
Need to set read_subdev

21 years agomake install directions more redhat 8 friendly, apparently 'make oldconfig'
Frank Mori Hess [Mon, 3 Feb 2003 06:09:31 +0000 (06:09 +0000)]
make install directions more redhat 8 friendly, apparently 'make oldconfig'
pulls in a config file based on Makefile's EXTRAVERSION

21 years agorandomly change is_diodaq to a bitfield
David Schleef [Fri, 31 Jan 2003 03:55:21 +0000 (03:55 +0000)]
randomly change is_diodaq to a bitfield

21 years agoAdd some configuration instructions
David Schleef [Fri, 31 Jan 2003 03:54:49 +0000 (03:54 +0000)]
Add some configuration instructions

21 years agoAdd header
David Schleef [Fri, 31 Jan 2003 03:54:02 +0000 (03:54 +0000)]
Add header

21 years agomove INSN_CONFIG to header
David Schleef [Fri, 31 Jan 2003 03:49:59 +0000 (03:49 +0000)]
move INSN_CONFIG to header

21 years agoFix missing bounds check
David Schleef [Fri, 31 Jan 2003 03:49:26 +0000 (03:49 +0000)]
Fix missing bounds check

21 years agoNew driver
David Schleef [Fri, 31 Jan 2003 03:48:38 +0000 (03:48 +0000)]
New driver

21 years agoFix device name
David Schleef [Thu, 30 Jan 2003 22:00:46 +0000 (22:00 +0000)]
Fix device name

21 years agoreplace broken comedi_buf_put() with cfc_write_to_buffer()
Frank Mori Hess [Wed, 29 Jan 2003 19:35:45 +0000 (19:35 +0000)]
replace broken comedi_buf_put() with cfc_write_to_buffer()

21 years agodon't allow irq and timer mode to be used simultaneously
Frank Mori Hess [Mon, 27 Jan 2003 17:19:43 +0000 (17:19 +0000)]
don't allow irq and timer mode to be used simultaneously

21 years agoadded some locking to make sure software copies of write only registers
Frank Mori Hess [Thu, 23 Jan 2003 19:44:20 +0000 (19:44 +0000)]
added some locking to make sure software copies of write only registers
are in sync

21 years agotrying to fix apparent failure to reset interrupt
Frank Mori Hess [Mon, 13 Jan 2003 16:49:13 +0000 (16:49 +0000)]
trying to fix apparent failure to reset interrupt

21 years agofix 671x analog output insn that i broke
Frank Mori Hess [Sat, 11 Jan 2003 05:18:56 +0000 (05:18 +0000)]
fix 671x analog output insn that i broke

21 years agofix interaction between analog output channels ( bug 14 )
Frank Mori Hess [Wed, 1 Jan 2003 23:57:20 +0000 (23:57 +0000)]
fix interaction between analog output channels ( bug 14 )

21 years agofix number of eeprom channels, and remove incorrect SDF_COMMON flag from
Frank Mori Hess [Wed, 1 Jan 2003 22:42:30 +0000 (22:42 +0000)]
fix number of eeprom channels, and remove incorrect SDF_COMMON flag from
ai subdevice

21 years agoupdated my email address
Frank Mori Hess [Mon, 30 Dec 2002 22:54:46 +0000 (22:54 +0000)]
updated my email address

21 years agofixed channel 1 analog output insn (bug11)
Frank Mori Hess [Mon, 30 Dec 2002 22:49:43 +0000 (22:49 +0000)]
fixed channel 1 analog output insn (bug11)

22 years agofix supported analog input arefs flags
Frank Mori Hess [Sat, 21 Dec 2002 04:12:57 +0000 (04:12 +0000)]
fix supported analog input arefs flags

22 years agoremoved unused win_save() and win_restore()
Frank Mori Hess [Sat, 21 Dec 2002 04:12:20 +0000 (04:12 +0000)]
removed unused win_save() and win_restore()

22 years agogot rid of all window save/restore stuff since it wasn't smp safe anyways.
Frank Mori Hess [Sat, 21 Dec 2002 04:11:31 +0000 (04:11 +0000)]
got rid of all window save/restore stuff since it wasn't smp safe anyways.
replaced with spinlock as in ni_pcimio.c

22 years agoPatch from tomasz for INSN_INITTRIG
David Schleef [Fri, 20 Dec 2002 23:29:41 +0000 (23:29 +0000)]
Patch from tomasz for INSN_INITTRIG

22 years agostill don't know what the PCI ID of the 6704 is
David Schleef [Thu, 12 Dec 2002 03:14:35 +0000 (03:14 +0000)]
still don't know what the PCI ID of the 6704 is

22 years agoFixed range structures for 6704.
David Schleef [Thu, 12 Dec 2002 02:50:13 +0000 (02:50 +0000)]
Fixed range structures for 6704.

22 years agochanged dev_info names so pcmcia script will run comedi_config correctly
Frank Mori Hess [Wed, 11 Dec 2002 02:33:07 +0000 (02:33 +0000)]
changed dev_info names so pcmcia script will run comedi_config correctly

22 years agoAdd PXI-6704
David Schleef [Mon, 9 Dec 2002 21:09:09 +0000 (21:09 +0000)]
Add PXI-6704

22 years agosome fixes to recent changes
Frank Mori Hess [Sun, 8 Dec 2002 19:30:22 +0000 (19:30 +0000)]
some fixes to recent changes

22 years agomade mapping of comedi_cmd to hardware a little smarter, fixed ai external
Frank Mori Hess [Fri, 6 Dec 2002 20:28:35 +0000 (20:28 +0000)]
made mapping of comedi_cmd to hardware a little smarter, fixed ai external
conversion trigger bug

22 years agomade comedi_error take a const pointer
Frank Mori Hess [Fri, 6 Dec 2002 20:27:19 +0000 (20:27 +0000)]
made comedi_error take a const pointer

22 years agoadd pxi-6713
David Schleef [Thu, 5 Dec 2002 20:11:08 +0000 (20:11 +0000)]
add pxi-6713

22 years agoFix symbol problems when debugging is turned off
David Schleef [Tue, 3 Dec 2002 03:13:40 +0000 (03:13 +0000)]
Fix symbol problems when debugging is turned off

22 years agoFix compilation for rt due to changes in comedidev.h. Fixes #8
David Schleef [Mon, 2 Dec 2002 20:03:27 +0000 (20:03 +0000)]
Fix compilation for rt due to changes in comedidev.h.  Fixes #8

22 years agofix checking of scan_begin_arg in ai command test
Frank Mori Hess [Sun, 1 Dec 2002 20:25:52 +0000 (20:25 +0000)]
fix checking of scan_begin_arg in ai command test

22 years agofix checking of first channel in chanlist for ai cmd
Frank Mori Hess [Fri, 29 Nov 2002 22:34:46 +0000 (22:34 +0000)]
fix checking of first channel in chanlist for ai cmd

22 years agoreverted unnecessary locking of command6 register (already safe due to ioctl
Frank Mori Hess [Fri, 29 Nov 2002 22:05:00 +0000 (22:05 +0000)]
reverted unnecessary locking of command6 register (already safe due to ioctl
locking)

22 years ago*** empty log message ***
Frank Mori Hess [Fri, 29 Nov 2002 18:09:05 +0000 (18:09 +0000)]
*** empty log message ***

22 years agoremoved DAQBoard2000 FPGA option
David Schleef [Wed, 27 Nov 2002 00:25:35 +0000 (00:25 +0000)]
removed DAQBoard2000 FPGA option

22 years agoremove FPGA header
David Schleef [Wed, 27 Nov 2002 00:25:14 +0000 (00:25 +0000)]
remove FPGA header

22 years agoadded locking for software copies of command registers 2 and 6, to
Frank Mori Hess [Wed, 27 Nov 2002 00:24:21 +0000 (00:24 +0000)]
added locking for software copies of command registers 2 and 6, to
prevent races between ai and ao.  Got rid of a couple redundant lines.

22 years agoremove non-source code
David Schleef [Wed, 27 Nov 2002 00:23:43 +0000 (00:23 +0000)]
remove non-source code

22 years agoMove auxiliary data to options[30,31]
David Schleef [Tue, 26 Nov 2002 23:36:29 +0000 (23:36 +0000)]
Move auxiliary data to options[30,31]

22 years agobump version
David Schleef [Tue, 26 Nov 2002 22:48:23 +0000 (22:48 +0000)]
bump version

22 years agofix incorrect return of error when mmapping entire buffer
Frank Mori Hess [Tue, 26 Nov 2002 20:01:58 +0000 (20:01 +0000)]
fix incorrect return of error when mmapping entire buffer

22 years agofix rejection of CONFIG_ALT_SOURCE insn for 611x
Frank Mori Hess [Mon, 25 Nov 2002 20:13:55 +0000 (20:13 +0000)]
fix rejection of CONFIG_ALT_SOURCE insn for 611x

22 years agoadd support for 611x adjustable calibration reference
Frank Mori Hess [Mon, 25 Nov 2002 19:13:41 +0000 (19:13 +0000)]
add support for 611x adjustable calibration reference

22 years agolicensing terms stated in header file are incompatible with GPL. The files
Frank Mori Hess [Sun, 24 Nov 2002 18:35:07 +0000 (18:35 +0000)]
licensing terms stated in header file are incompatible with GPL.  The files
licensing was:

/*
 * This file is copyrigth by Meilhaus Electronic GmbH 1998, 1999.
 * You are not allowed to distribute, sell, modify, reverse
 * engineer or use this code (or parts of it) for any
 * other purpose or under any other conditions than stated below.
 *
 * 1) You are allowed to distribute verbatim copies of this file together
 *    with device drivers for the Meilhaus me2600 board.
 *
 * 2) Derived work (device drivers using this file) can be
 *    published under the terms of the
 *    GNU General Public License as published by
 *    the Free Software Foundation; either version 2 of the License, or
 *    (at your option) any later version. Any other license terms have
 *    to be agreed by Meilhaus GmbH in written.
 *
 * 3) This file is distributed WITHOUT ANY WARRANTY;
 *    without even the implied warranty of MERCHANTABILITY
 *    or FITNESS FOR A PARTICULAR PURPOSE. Meilhaus is under
 *    no means liable for products using this file or parts of it.
 *
 * 4) The copyright of this file has to be mentioned in derived work.
 *
 * 5) If this license terms are not valid due to any other law
 *    or restrictions imposed on you, you are not allowed to use
 *    this file in any way at all.
 */

22 years agofixed caldac types for 611x
Frank Mori Hess [Sun, 24 Nov 2002 15:40:15 +0000 (15:40 +0000)]
fixed caldac types for 611x

22 years agoreally fixing munging this time
Frank Mori Hess [Fri, 22 Nov 2002 21:37:10 +0000 (21:37 +0000)]
really fixing munging this time

22 years agofix ai munging bugs
Frank Mori Hess [Fri, 22 Nov 2002 17:39:15 +0000 (17:39 +0000)]
fix ai munging bugs

22 years agoRevert bufinfo structure name changes. Fixed long-standing bug r0_7_66
David Schleef [Fri, 22 Nov 2002 07:12:55 +0000 (07:12 +0000)]
Revert bufinfo structure name changes.  Fixed long-standing bug
involving the return value of the insn ioctl.

22 years agoRevert accidental change of structure names
David Schleef [Fri, 22 Nov 2002 06:57:48 +0000 (06:57 +0000)]
Revert accidental change of structure names

22 years agoChange buf_alloc to buf_change, and fix allocation and mapping of buffers.
David Schleef [Fri, 22 Nov 2002 06:55:05 +0000 (06:55 +0000)]
Change buf_alloc to buf_change, and fix allocation and mapping of buffers.
Added buf_page_list with list of pointers to buffer pages.

22 years agoAdd a UTS_RELEASE override
David Schleef [Fri, 22 Nov 2002 06:53:21 +0000 (06:53 +0000)]
Add a UTS_RELEASE override

22 years agoadded include to fix unresolved mem_map_reserve and mem_map_unreserve
Frank Mori Hess [Thu, 21 Nov 2002 19:16:23 +0000 (19:16 +0000)]
added include to fix unresolved mem_map_reserve and mem_map_unreserve

22 years agoforce io data path width to 8 bits for daqcard
Frank Mori Hess [Thu, 21 Nov 2002 18:27:42 +0000 (18:27 +0000)]
force io data path width to 8 bits for daqcard