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

21 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()

21 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

21 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

21 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

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

21 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

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

21 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

21 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

21 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

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

21 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

21 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

21 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

21 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

21 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)

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

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

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

21 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.

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

21 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]

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

21 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

21 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

21 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

21 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.
 */

21 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

21 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

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

21 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.

21 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

21 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.

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

21 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

21 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

21 years agodaqcard1200 cant scan upwards through ai channels
Frank Mori Hess [Thu, 21 Nov 2002 17:58:13 +0000 (17:58 +0000)]
daqcard1200 cant scan upwards through ai channels

21 years agoWarning cleanup on 2.0.39
David Schleef [Thu, 21 Nov 2002 08:40:19 +0000 (08:40 +0000)]
Warning cleanup on 2.0.39

21 years agoCompilation fixes
David Schleef [Thu, 21 Nov 2002 08:39:37 +0000 (08:39 +0000)]
Compilation fixes

21 years agoFix to previous checkin
David Schleef [Thu, 21 Nov 2002 08:27:17 +0000 (08:27 +0000)]
Fix to previous checkin

21 years agoFixes for 2.0.39
David Schleef [Thu, 21 Nov 2002 08:21:55 +0000 (08:21 +0000)]
Fixes for 2.0.39

21 years agoconfig.dist file with everything disabled that doesn't work on 2.0.39
David Schleef [Thu, 21 Nov 2002 08:21:14 +0000 (08:21 +0000)]
config.dist file with everything disabled that doesn't work on 2.0.39

21 years agocompile fixes and warning fixes
David Schleef [Thu, 21 Nov 2002 08:00:10 +0000 (08:00 +0000)]
compile fixes and warning fixes

21 years agoFix subdevice flags not having AREF capability
David Schleef [Thu, 21 Nov 2002 07:56:24 +0000 (07:56 +0000)]
Fix subdevice flags not having AREF capability

21 years agoadded cb_pcimdas
David Schleef [Thu, 21 Nov 2002 07:55:39 +0000 (07:55 +0000)]
added cb_pcimdas

21 years agonew dffault
David Schleef [Thu, 21 Nov 2002 07:54:27 +0000 (07:54 +0000)]
new dffault

21 years agoadd cb_pcimdas
David Schleef [Thu, 21 Nov 2002 07:53:47 +0000 (07:53 +0000)]
add cb_pcimdas

21 years agoHuge monster patch that removes unnessary headers
David Schleef [Thu, 21 Nov 2002 07:34:30 +0000 (07:34 +0000)]
Huge monster patch that removes unnessary headers

21 years agoremove
David Schleef [Thu, 21 Nov 2002 04:44:21 +0000 (04:44 +0000)]
remove

21 years agoReimplement kvmem.[ch] code in comedi_fops
David Schleef [Thu, 21 Nov 2002 04:43:59 +0000 (04:43 +0000)]
Reimplement kvmem.[ch] code in comedi_fops

21 years agonew compat header
David Schleef [Thu, 21 Nov 2002 04:34:44 +0000 (04:34 +0000)]
new compat header

21 years agofix request_region on 2.2
David Schleef [Thu, 21 Nov 2002 04:33:53 +0000 (04:33 +0000)]
fix request_region on 2.2

21 years agoremove kvmem.h
David Schleef [Thu, 21 Nov 2002 04:33:28 +0000 (04:33 +0000)]
remove kvmem.h

21 years agoremove subdevice stuff, since it doesn't work on 2.2
David Schleef [Thu, 21 Nov 2002 04:31:16 +0000 (04:31 +0000)]
remove subdevice stuff, since it doesn't work on 2.2

21 years agonew driver
David Schleef [Thu, 21 Nov 2002 04:30:09 +0000 (04:30 +0000)]
new driver

21 years agofix compat for pci_enable_device
David Schleef [Thu, 21 Nov 2002 04:29:03 +0000 (04:29 +0000)]
fix compat for pci_enable_device

21 years agofix some warnigns
David Schleef [Thu, 21 Nov 2002 04:28:13 +0000 (04:28 +0000)]
fix some warnigns

21 years agoadd page_address()
David Schleef [Thu, 21 Nov 2002 04:27:21 +0000 (04:27 +0000)]
add page_address()

21 years agoAdd uvirt_to_kva() and kvirt_to_pa()
David Schleef [Thu, 21 Nov 2002 04:26:51 +0000 (04:26 +0000)]
Add uvirt_to_kva() and kvirt_to_pa()

21 years agoadd virt_to_page
David Schleef [Thu, 21 Nov 2002 04:26:06 +0000 (04:26 +0000)]
add virt_to_page

21 years agofix warning from check_driver
David Schleef [Thu, 21 Nov 2002 04:18:05 +0000 (04:18 +0000)]
fix warning from check_driver

21 years agoPut PC-CARD-DAS16/16 inside if PCMCIA
David Schleef [Thu, 21 Nov 2002 04:07:38 +0000 (04:07 +0000)]
Put PC-CARD-DAS16/16 inside if PCMCIA

21 years agoset CCSR_POWER_DOWN bit to see if that changes anything
Frank Mori Hess [Wed, 20 Nov 2002 20:48:32 +0000 (20:48 +0000)]
set CCSR_POWER_DOWN bit to see if that changes anything

21 years agochanged all if(boardtype.reg_611x) in analog output code to if(boardtype.ao_671x)
Frank Mori Hess [Wed, 20 Nov 2002 15:27:09 +0000 (15:27 +0000)]
changed all if(boardtype.reg_611x) in analog output code to if(boardtype.ao_671x)
to try and get 671x boards to work too.

21 years agoadded log message on overrun
Frank Mori Hess [Wed, 20 Nov 2002 00:40:59 +0000 (00:40 +0000)]
added log message on overrun

21 years agoAdded capability to bufinfo ioctl for marking bytes written and renamed its members.
Frank Mori Hess [Tue, 19 Nov 2002 23:49:01 +0000 (23:49 +0000)]
Added capability to bufinfo ioctl for marking bytes written and renamed its members.
Changed prototype of RT version of comedi_request_irq to make dev_id a comedi_device* instead of a void*
since it is assumed to be so elsewhere in rt code.  Made comedi_switch_to_rt return an int
so it is able to return error on failure.  Fixes for overrun/underrun checking with dma in ni_mio_common.

21 years agoChange bit identification for CIO-DAS16/330 from 0x00 to 0xf0.
David Schleef [Tue, 19 Nov 2002 20:59:19 +0000 (20:59 +0000)]
Change bit identification for CIO-DAS16/330 from 0x00 to 0xf0.

21 years agomake sure dithering is off during ai commands
Frank Mori Hess [Tue, 19 Nov 2002 19:44:51 +0000 (19:44 +0000)]
make sure dithering is off during ai commands

21 years agofixed disabling of dma when using TRIG_WAKE_EOS
Frank Mori Hess [Tue, 19 Nov 2002 13:42:29 +0000 (13:42 +0000)]
fixed disabling of dma when using TRIG_WAKE_EOS

21 years agofixed clearing of bits in adc_control1 register
Frank Mori Hess [Tue, 19 Nov 2002 13:24:09 +0000 (13:24 +0000)]
fixed clearing of bits in adc_control1 register

21 years agodisabled checking for supported aref
Frank Mori Hess [Mon, 18 Nov 2002 23:45:44 +0000 (23:45 +0000)]
disabled checking for supported aref

21 years agoupdate
David Schleef [Mon, 18 Nov 2002 23:32:11 +0000 (23:32 +0000)]
update

21 years agoAdd test for SDF aref flags
David Schleef [Mon, 18 Nov 2002 23:31:49 +0000 (23:31 +0000)]
Add test for SDF aref flags

21 years agoadded udelay in ai read insn while waiting for conversion, added udelay between
Frank Mori Hess [Mon, 18 Nov 2002 21:49:51 +0000 (21:49 +0000)]
added udelay in ai read insn while waiting for conversion, added udelay between
writing lsb and msb of analog output (stab in the dark to get daqcard-1200 to work)

21 years agofix for external start source
Frank Mori Hess [Mon, 18 Nov 2002 17:14:48 +0000 (17:14 +0000)]
fix for external start source

21 years agoadded checking for valid aref. 611x calibration support.
Frank Mori Hess [Mon, 18 Nov 2002 17:03:06 +0000 (17:03 +0000)]
added checking for valid aref.  611x calibration support.

21 years agoWorking dma analog input and output with NI 611x cards, tested 6024 to make
Frank Mori Hess [Fri, 15 Nov 2002 17:33:34 +0000 (17:33 +0000)]
Working dma analog input and output with NI 611x cards, tested 6024 to make
sure we didn't break it's analog input.  DMA analog output with other boards
still needs to be tested by someone.  Patch is from me, Rolf Mueller,
John Hallen, Herbert Peremans, Herman Bruyninckx.

21 years agonew tests
David Schleef [Fri, 8 Nov 2002 22:15:28 +0000 (22:15 +0000)]
new tests

21 years agoAdd COMEDI_INITCLEANUP_NOMODULE()
David Schleef [Fri, 8 Nov 2002 22:01:03 +0000 (22:01 +0000)]
Add COMEDI_INITCLEANUP_NOMODULE()

21 years agoFix bugs noticed by check_driver
David Schleef [Fri, 8 Nov 2002 22:00:38 +0000 (22:00 +0000)]
Fix bugs noticed by check_driver

21 years agofix symbol leakage
David Schleef [Fri, 8 Nov 2002 21:59:53 +0000 (21:59 +0000)]
fix symbol leakage

21 years agochange inline to static line, to fix symbol leakage
David Schleef [Fri, 8 Nov 2002 21:59:41 +0000 (21:59 +0000)]
change inline to static line, to fix symbol leakage

21 years agoCleanup. Remove unused functions.
David Schleef [Fri, 8 Nov 2002 21:53:28 +0000 (21:53 +0000)]
Cleanup.  Remove unused functions.

21 years agoRandom cleanup. Remove (usused) AI subdevice, remove lots of
David Schleef [Fri, 8 Nov 2002 21:52:51 +0000 (21:52 +0000)]
Random cleanup.  Remove (usused) AI subdevice, remove lots of
comments copied from the skel driver

21 years agoAdd fingerprinting, fix outb() calls
David Schleef [Fri, 8 Nov 2002 21:50:18 +0000 (21:50 +0000)]
Add fingerprinting, fix outb() calls

21 years agoAdd debugging
David Schleef [Fri, 8 Nov 2002 21:49:28 +0000 (21:49 +0000)]
Add debugging

21 years agoChange insn->data[] to data[], since insn->data points to user space
David Schleef [Fri, 8 Nov 2002 03:13:21 +0000 (03:13 +0000)]
Change insn->data[] to data[], since insn->data points to user space

21 years agoInstructions for anonymous CVS
David Schleef [Thu, 7 Nov 2002 19:41:24 +0000 (19:41 +0000)]
Instructions for anonymous CVS

21 years agoMove plx9052 definitions to new header
David Schleef [Wed, 6 Nov 2002 19:20:32 +0000 (19:20 +0000)]
Move plx9052 definitions to new header

21 years agoPull definitions for PLX-9052 from amplc_pc236.c
David Schleef [Wed, 6 Nov 2002 19:18:54 +0000 (19:18 +0000)]
Pull definitions for PLX-9052 from amplc_pc236.c

21 years agoAdd spin locking to win_out()
David Schleef [Tue, 5 Nov 2002 06:55:52 +0000 (06:55 +0000)]
Add spin locking to win_out()

21 years agotemporarily remove spinlocks
David Schleef [Tue, 5 Nov 2002 06:55:24 +0000 (06:55 +0000)]
temporarily remove spinlocks

21 years agoAdd specs for 6036E
David Schleef [Tue, 5 Nov 2002 06:54:43 +0000 (06:54 +0000)]
Add specs for 6036E

21 years agoMove NI-DAQ-DIO24 into if CONFIG_PCMCIA
David Schleef [Tue, 5 Nov 2002 06:54:02 +0000 (06:54 +0000)]
Move NI-DAQ-DIO24 into if CONFIG_PCMCIA

21 years agonew driver
David Schleef [Tue, 5 Nov 2002 06:52:41 +0000 (06:52 +0000)]
new driver

21 years agoNew driver
David Schleef [Tue, 5 Nov 2002 06:52:06 +0000 (06:52 +0000)]
New driver

21 years agofixed detach so it only tries to release ioports if it has allocated them
Frank Mori Hess [Mon, 4 Nov 2002 15:54:31 +0000 (15:54 +0000)]
fixed detach so it only tries to release ioports if it has allocated them

21 years agofix possibility of endless loop when divisor > 0x80000000
Frank Mori Hess [Sun, 3 Nov 2002 16:33:15 +0000 (16:33 +0000)]
fix possibility of endless loop when divisor > 0x80000000

21 years agoAdd preliminary command support
David Schleef [Tue, 29 Oct 2002 00:43:41 +0000 (00:43 +0000)]
Add preliminary command support