comedi.git
20 years agofix m4 quoting
Frank Mori Hess [Sun, 29 Feb 2004 21:51:55 +0000 (21:51 +0000)]
fix m4 quoting

20 years agoforce gain calibration of 67xx calibration adc to 1
Frank Mori Hess [Sun, 29 Feb 2004 21:48:21 +0000 (21:48 +0000)]
force gain calibration of 67xx calibration adc to 1

20 years agohack to set KBUILD_BASENAME
Frank Mori Hess [Sun, 29 Feb 2004 18:25:35 +0000 (18:25 +0000)]
hack to set KBUILD_BASENAME

20 years agoAdd fallback if mktemp utility cannot be found.
David Schleef [Fri, 27 Feb 2004 20:47:45 +0000 (20:47 +0000)]
Add fallback if mktemp utility cannot be found.

20 years agofix version check for 'owner' member of usb_driver
Frank Mori Hess [Fri, 27 Feb 2004 00:33:11 +0000 (00:33 +0000)]
fix version check for 'owner' member of usb_driver

20 years agocleanups. Disable PCMCIA on linux-2.6
David Schleef [Mon, 23 Feb 2004 21:20:09 +0000 (21:20 +0000)]
cleanups.  Disable PCMCIA on linux-2.6

20 years agodisable RTC code
David Schleef [Mon, 23 Feb 2004 21:19:52 +0000 (21:19 +0000)]
disable RTC code

20 years agofix for return value of config insn from
Frank Mori Hess [Sat, 21 Feb 2004 15:46:53 +0000 (15:46 +0000)]
fix for return value of config insn from
Salvador Eduardo Tropea <salvador@inti.gov.ar>

20 years agodisable analog triggerring so pfi0 works
Frank Mori Hess [Sat, 21 Feb 2004 15:38:52 +0000 (15:38 +0000)]
disable analog triggerring so pfi0 works

20 years agoinit ao configuration reg 2 for 67xx
Frank Mori Hess [Sun, 15 Feb 2004 22:18:24 +0000 (22:18 +0000)]
init ao configuration reg 2 for 67xx

20 years agoeliminate duplicate ao window register definitions, move some
Frank Mori Hess [Sun, 15 Feb 2004 21:57:25 +0000 (21:57 +0000)]
eliminate duplicate ao window register definitions, move some
ao windowed registers into the proper enum, some fixes for ni 67xx
board definitions

20 years agofix compilation with kernels using dynamic hz patch
Frank Mori Hess [Fri, 13 Feb 2004 23:50:11 +0000 (23:50 +0000)]
fix compilation with kernels using dynamic hz patch

20 years agopatch from Klaas Gadeyne <Klaas.Gadeyne@mech.kuleuven.ac.be>
Frank Mori Hess [Tue, 10 Feb 2004 23:18:22 +0000 (23:18 +0000)]
patch from Klaas Gadeyne <Klaas.Gadeyne@mech.kuleuven.ac.be>

20 years agomore driver support for ni 67xx calibration.
Frank Mori Hess [Sun, 8 Feb 2004 21:52:00 +0000 (21:52 +0000)]
more driver support for ni 67xx calibration.

20 years agowe aren't checking for writes that exceed subdevice's maxdata
Frank Mori Hess [Sun, 8 Feb 2004 21:35:06 +0000 (21:35 +0000)]
we aren't checking for writes that exceed subdevice's maxdata

20 years agofix for compiler warnings from
Frank Mori Hess [Sat, 7 Feb 2004 21:57:52 +0000 (21:57 +0000)]
fix for compiler warnings from
Salvador Eduardo Tropea <salvador@inti.gov.ar>

20 years agoadd some more support for 67xx calibration adc
Frank Mori Hess [Sat, 7 Feb 2004 21:31:54 +0000 (21:31 +0000)]
add some more support for 67xx calibration adc

20 years agoi8254 counter patch from Salvador Eduardo Tropea <salvador@inti.gov.ar>
Frank Mori Hess [Tue, 3 Feb 2004 23:13:47 +0000 (23:13 +0000)]
i8254 counter patch from Salvador Eduardo Tropea <salvador@inti.gov.ar>

20 years agocomment out debug message
Frank Mori Hess [Sat, 31 Jan 2004 23:29:33 +0000 (23:29 +0000)]
comment out debug message

20 years agoadded Caleb Tennis
Frank Mori Hess [Sat, 31 Jan 2004 23:03:06 +0000 (23:03 +0000)]
added Caleb Tennis

20 years agoTRIG_WAKE_EOS and CMD_EV_SCAN_END are not interchangeable
Frank Mori Hess [Sat, 31 Jan 2004 22:27:36 +0000 (22:27 +0000)]
TRIG_WAKE_EOS and CMD_EV_SCAN_END are not interchangeable

20 years agoCOMEDI_EV_SCAN_END and TRIG_WAKE_EOS are not interchangeable
Frank Mori Hess [Sat, 31 Jan 2004 22:26:57 +0000 (22:26 +0000)]
COMEDI_EV_SCAN_END and TRIG_WAKE_EOS are not interchangeable

20 years agoserial dio (SCXI) support from Caleb Tennis
Frank Mori Hess [Sat, 31 Jan 2004 22:13:09 +0000 (22:13 +0000)]
serial dio (SCXI) support from Caleb Tennis

20 years agoincrease udelay while wait for dma to load analog output since the
Frank Mori Hess [Sat, 31 Jan 2004 22:09:48 +0000 (22:09 +0000)]
increase udelay while wait for dma to load analog output since the
polling of the status register seems to slow the dma transfer

20 years agoserial dio support (SCXI) from Caleb Tennis.
Frank Mori Hess [Sat, 31 Jan 2004 22:08:25 +0000 (22:08 +0000)]
serial dio support (SCXI) from Caleb Tennis.

20 years agoupdate to usbdux driver from Bernd Porr who says:
Frank Mori Hess [Sat, 31 Jan 2004 21:58:47 +0000 (21:58 +0000)]
update to usbdux driver from Bernd Porr who says:

Had to change the USB 2.0 transfer protocol from IRQ transfer to ISO transfer.
Reason: IRQ transfer is still not stable (2.4/2.6). However, ISO transfer has
been rewritten in the kernel and works (just now in 2.6 but will be backported
sooner or later)!
I supply new firmware and a new version of the driver which now uses ISO
transfer throughout (1.1 / 2.0).

20 years agocheck for nonzero return from schedule_timeout()
Frank Mori Hess [Sat, 31 Jan 2004 21:58:10 +0000 (21:58 +0000)]
check for nonzero return from schedule_timeout()

20 years agoadd use of LDFLAGS_MODULE for 2.6
Frank Mori Hess [Sun, 25 Jan 2004 00:12:52 +0000 (00:12 +0000)]
add use of LDFLAGS_MODULE for 2.6

20 years agoadd -DKBUILD_MODNAME=... to COMEDI_CFLAGS (required by linux/module.h
Frank Mori Hess [Sun, 25 Jan 2004 00:09:59 +0000 (00:09 +0000)]
add -DKBUILD_MODNAME=... to COMEDI_CFLAGS (required by linux/module.h
to make modprobe recognize modules under 2.6

20 years agofixed setting of -DMODULE for 2.6
Frank Mori Hess [Sat, 24 Jan 2004 21:55:57 +0000 (21:55 +0000)]
fixed setting of -DMODULE for 2.6

20 years agoadd --disable-pcmcia configure option
Frank Mori Hess [Sat, 24 Jan 2004 21:24:24 +0000 (21:24 +0000)]
add --disable-pcmcia configure option

20 years agopci_for_each_device fix for 2.6 from Bernd Porr
Frank Mori Hess [Sat, 24 Jan 2004 16:56:48 +0000 (16:56 +0000)]
pci_for_each_device fix for 2.6 from Bernd Porr

20 years agoupdate from Bernd Porr
Frank Mori Hess [Sat, 24 Jan 2004 16:48:49 +0000 (16:48 +0000)]
update from Bernd Porr

20 years agobeginnings of ni_67xx calibration support
Frank Mori Hess [Wed, 21 Jan 2004 18:59:26 +0000 (18:59 +0000)]
beginnings of ni_67xx calibration support

20 years agobeginnings of 671x and 673x self calibration support
Frank Mori Hess [Mon, 19 Jan 2004 22:19:44 +0000 (22:19 +0000)]
beginnings of 671x and 673x self calibration support

20 years agoadded some device ids for 67xx boards
Frank Mori Hess [Mon, 19 Jan 2004 16:01:00 +0000 (16:01 +0000)]
added some device ids for 67xx boards

20 years agofix install brokenness (missing some square brackets)
Frank Mori Hess [Mon, 12 Jan 2004 01:18:08 +0000 (01:18 +0000)]
fix install brokenness (missing some square brackets)

20 years agofix depmod call in install-data-hook
Frank Mori Hess [Mon, 12 Jan 2004 01:05:08 +0000 (01:05 +0000)]
fix depmod call in install-data-hook

20 years agoadded some more m4 quoting to get rid of automake1.8 warnings
Frank Mori Hess [Mon, 12 Jan 2004 00:45:38 +0000 (00:45 +0000)]
added some more m4 quoting to get rid of automake1.8 warnings

20 years agomade some alternate names for COMEDI_INPUT and COMEDI_OUTPUT that
Frank Mori Hess [Mon, 12 Jan 2004 00:32:15 +0000 (00:32 +0000)]
made some alternate names for COMEDI_INPUT and COMEDI_OUTPUT that
match the usual convention for config insn ids.  Also replaced
defines with an enum and list all values in decimal

20 years agobe more careful about subdevice allocation/free
Frank Mori Hess [Mon, 12 Jan 2004 00:28:40 +0000 (00:28 +0000)]
be more careful about subdevice allocation/free

20 years agoinclude <linux/vmalloc.h> for VMALLOC_VMADDR() macro
Frank Mori Hess [Sun, 11 Jan 2004 23:33:19 +0000 (23:33 +0000)]
include <linux/vmalloc.h> for VMALLOC_VMADDR() macro

20 years agoband aid from Bernd Porr for VMALLOC_VMADDR macro getting dropped in 2.6
Frank Mori Hess [Sun, 11 Jan 2004 23:27:13 +0000 (23:27 +0000)]
band aid from Bernd Porr for VMALLOC_VMADDR macro getting dropped in 2.6
(from kernel changelog this happened because it did nothing).

20 years agoadded Bernd Porr and Steven Jenkins
Frank Mori Hess [Sun, 11 Jan 2004 23:07:31 +0000 (23:07 +0000)]
added Bernd Porr and Steven Jenkins

20 years agoMerge thomasvs's linux.m4 improvements. Write as-modtool.m4 macro,
David Schleef [Fri, 9 Jan 2004 05:06:01 +0000 (05:06 +0000)]
Merge thomasvs's linux.m4 improvements.  Write as-modtool.m4 macro,
and create modtool from the macro.

20 years agoupdate status comments
Frank Mori Hess [Fri, 2 Jan 2004 00:38:51 +0000 (00:38 +0000)]
update status comments

20 years agosome cleanups, verified that 6711 ao command works now (needed to modify
Frank Mori Hess [Thu, 1 Jan 2004 23:59:14 +0000 (23:59 +0000)]
some cleanups, verified that 6711 ao command works now (needed to modify
ao_waveform to preload more samples into comedi's buffer though)

21 years agoa fix for 67xx boards, trying to get waveform analog out working.
Frank Mori Hess [Sun, 28 Dec 2003 00:50:10 +0000 (00:50 +0000)]
a fix for 67xx boards, trying to get waveform analog out working.

21 years agogiving up on fully abstract counter interface for now, applying
Frank Mori Hess [Wed, 24 Dec 2003 03:04:07 +0000 (03:04 +0000)]
giving up on fully abstract counter interface for now, applying
patch from Klaas Gadeyne with some changes by me.

21 years agomoved some 2.4/2.6 compatibility stuff into comedi/include/linux/usb.h
Frank Mori Hess [Sun, 21 Dec 2003 23:51:26 +0000 (23:51 +0000)]
moved some 2.4/2.6 compatibility stuff into comedi/include/linux/usb.h

21 years agofixes for COMEDI_NDEVICES > 4
Frank Mori Hess [Sun, 21 Dec 2003 23:50:13 +0000 (23:50 +0000)]
fixes for COMEDI_NDEVICES > 4

21 years agonew compat header
Frank Mori Hess [Sun, 21 Dec 2003 23:47:38 +0000 (23:47 +0000)]
new compat header

21 years agoupdate from bernd porr
Frank Mori Hess [Sun, 21 Dec 2003 17:10:49 +0000 (17:10 +0000)]
update from bernd porr

21 years agoLinux-2.4.23 has the new interrupt prototypes
David Schleef [Fri, 19 Dec 2003 22:47:17 +0000 (22:47 +0000)]
Linux-2.4.23 has the new interrupt prototypes

21 years agoRemove printk() that is triggered by devices sharing the IRQ
David Schleef [Thu, 18 Dec 2003 03:38:25 +0000 (03:38 +0000)]
Remove printk() that is triggered by devices sharing the IRQ

21 years agofix for changes in linux 2.6 kdev_t.h
Frank Mori Hess [Sat, 6 Dec 2003 19:34:33 +0000 (19:34 +0000)]
fix for changes in linux 2.6 kdev_t.h

21 years agoinclude linux/version.h before trying to check LINUX_VERSION_CODE
Frank Mori Hess [Sat, 6 Dec 2003 16:41:00 +0000 (16:41 +0000)]
include linux/version.h before trying to check LINUX_VERSION_CODE

21 years agoadded usbdux driver
Frank Mori Hess [Sun, 30 Nov 2003 14:55:04 +0000 (14:55 +0000)]
added usbdux driver

21 years agoFixes from Nils Juergens <ju@isf.rwth-aachen.de>
David Schleef [Wed, 26 Nov 2003 21:36:43 +0000 (21:36 +0000)]
Fixes from Nils Juergens <ju@isf.rwth-aachen.de>

21 years agovalid bit should be 3rd bit, not 0x3 value
Frank Mori Hess [Sun, 23 Nov 2003 19:12:26 +0000 (19:12 +0000)]
valid bit should be 3rd bit, not 0x3 value

21 years agoadded patch from Klaas Gadeyne, with my own modifications.
Frank Mori Hess [Sun, 23 Nov 2003 18:55:48 +0000 (18:55 +0000)]
added patch from Klaas Gadeyne, with my own modifications.

21 years agocheck if we've already been included
Frank Mori Hess [Sun, 23 Nov 2003 18:52:34 +0000 (18:52 +0000)]
check if we've already been included

21 years agodeclare das08_cs_boards extern
Frank Mori Hess [Fri, 21 Nov 2003 02:27:34 +0000 (02:27 +0000)]
declare das08_cs_boards extern

21 years agodeclare labpc_cs_boards as extern
Frank Mori Hess [Fri, 21 Nov 2003 02:22:18 +0000 (02:22 +0000)]
declare labpc_cs_boards as extern

21 years agoadded some MODULE_LICENSE() calls to pcmcia drivers, that dont call
Frank Mori Hess [Thu, 20 Nov 2003 02:28:31 +0000 (02:28 +0000)]
added some MODULE_LICENSE() calls to pcmcia drivers, that dont call
COMEDI_INITCLEANUP

21 years agoAdd some notes about compiling from CVS
David Schleef [Mon, 17 Nov 2003 20:12:49 +0000 (20:12 +0000)]
Add some notes about compiling from CVS

21 years ago2.4.22 does _not_ have new interrupt prototypes (at least the debian
Frank Mori Hess [Sun, 16 Nov 2003 00:17:20 +0000 (00:17 +0000)]
2.4.22 does _not_ have new interrupt prototypes (at least the debian
and I assume the vanilla kernel do not).  I believe the RH 2.4.22
kernel is patched with the new prototypes, but to heck with them.

21 years agoAdd counter subdevice. From Nils Juergens <ju@isf.rwth-aachen.de>
David Schleef [Thu, 13 Nov 2003 21:13:11 +0000 (21:13 +0000)]
Add counter subdevice.  From Nils Juergens <ju@isf.rwth-aachen.de>

21 years agoadjust number of dma ring bounce buffers independently for ai and ao,
Frank Mori Hess [Thu, 30 Oct 2003 23:00:26 +0000 (23:00 +0000)]
adjust number of dma ring bounce buffers independently for ai and ao,
and make number of ai ring buffers board-dependent (to deal with
extremely fast 4020)

21 years agoadd mention of daqcard-6036e as supported board
Frank Mori Hess [Fri, 24 Oct 2003 00:55:28 +0000 (00:55 +0000)]
add mention of daqcard-6036e as supported board

21 years agosome pci_request_regions() tweaks, and set DUMMY_BIT on writes to
Frank Mori Hess [Thu, 23 Oct 2003 00:44:07 +0000 (00:44 +0000)]
some pci_request_regions() tweaks, and set DUMMY_BIT on writes to
calibration reg 2 in cb_pcidda.c

21 years agoUse LINUX_CC for CC. Cause modtool to strip debugging symbols.
David Schleef [Thu, 23 Oct 2003 00:12:04 +0000 (00:12 +0000)]
Use LINUX_CC for CC.  Cause modtool to strip debugging symbols.

21 years agomake it compile without firmware header (but it wont work of course)
Frank Mori Hess [Sat, 18 Oct 2003 21:29:27 +0000 (21:29 +0000)]
make it compile without firmware header (but it wont work of course)

21 years agoremoved file for same reason as me2600_fw.h was removed: licensing
Frank Mori Hess [Sat, 18 Oct 2003 21:16:17 +0000 (21:16 +0000)]
removed file for same reason as me2600_fw.h was removed: licensing
terms are incompatible with GPL and we don't even have source code
for the firmware binary.

21 years agogive warning and return error if user attempts to use ao command and
Frank Mori Hess [Sat, 18 Oct 2003 21:05:14 +0000 (21:05 +0000)]
give warning and return error if user attempts to use ao command and
ai external queue at the same time.

21 years agoget rid of underscores in my byte swapping calls
Frank Mori Hess [Sat, 18 Oct 2003 14:13:20 +0000 (14:13 +0000)]
get rid of underscores in my byte swapping calls

21 years agoao commands work now
Frank Mori Hess [Fri, 17 Oct 2003 16:42:32 +0000 (16:42 +0000)]
ao commands work now

21 years agoturn off debugging
David Schleef [Mon, 13 Oct 2003 23:42:44 +0000 (23:42 +0000)]
turn off debugging

21 years agoNDEVICES should have been increased a long time ago
David Schleef [Mon, 13 Oct 2003 23:38:49 +0000 (23:38 +0000)]
NDEVICES should have been increased a long time ago

21 years agofix ai munging
Frank Mori Hess [Mon, 13 Oct 2003 20:12:34 +0000 (20:12 +0000)]
fix ai munging

21 years agoremove obsolete mention of 'make config'
Frank Mori Hess [Mon, 13 Oct 2003 18:47:52 +0000 (18:47 +0000)]
remove obsolete mention of 'make config'

21 years agoadd mention of new --with-rtaidir and --with-rtlinuxdir configure
Frank Mori Hess [Mon, 13 Oct 2003 18:45:59 +0000 (18:45 +0000)]
add mention of new --with-rtaidir and --with-rtlinuxdir configure
options

21 years agomore ao waveform support (still not done yet)
Frank Mori Hess [Sun, 12 Oct 2003 22:49:54 +0000 (22:49 +0000)]
more ao waveform support (still not done yet)

21 years agodisable irq mode entirely, since it is so lame.
Frank Mori Hess [Sun, 12 Oct 2003 22:47:58 +0000 (22:47 +0000)]
disable irq mode entirely, since it is so lame.

21 years agobeginnings of ao command support
Frank Mori Hess [Fri, 10 Oct 2003 19:57:32 +0000 (19:57 +0000)]
beginnings of ao command support

21 years agoadd ACLOCAL_AMFLAGS so automake calls aclocal correctly when necessary
Frank Mori Hess [Thu, 9 Oct 2003 14:57:21 +0000 (14:57 +0000)]
add ACLOCAL_AMFLAGS so automake calls aclocal correctly when necessary

21 years agofirst pass at autoconf'd RT support done
Frank Mori Hess [Sat, 4 Oct 2003 23:21:37 +0000 (23:21 +0000)]
first pass at autoconf'd RT support done

21 years agofixed comedi_buf_write_n_available argument
Frank Mori Hess [Sat, 4 Oct 2003 23:19:52 +0000 (23:19 +0000)]
fixed comedi_buf_write_n_available argument

21 years agopartial RT support
Frank Mori Hess [Fri, 3 Oct 2003 22:56:51 +0000 (22:56 +0000)]
partial RT support

21 years agoFix incorrect return value of AI insn function
David Schleef [Thu, 2 Oct 2003 19:58:19 +0000 (19:58 +0000)]
Fix incorrect return value of AI insn function

21 years agoreenable isapnp
David Schleef [Wed, 1 Oct 2003 22:44:35 +0000 (22:44 +0000)]
reenable isapnp

21 years agoDisable isapnp on 2.6 (temporarily)
David Schleef [Wed, 1 Oct 2003 22:44:21 +0000 (22:44 +0000)]
Disable isapnp on 2.6 (temporarily)

21 years ago2.4.22 has new interrupt prototypes
David Schleef [Wed, 1 Oct 2003 22:43:51 +0000 (22:43 +0000)]
2.4.22 has new interrupt prototypes

21 years agoRemove old files
David Schleef [Wed, 1 Oct 2003 22:30:09 +0000 (22:30 +0000)]
Remove old files

21 years agofix loading of counters on memory-mapped io boards (pci-1200)
Frank Mori Hess [Wed, 1 Oct 2003 01:22:38 +0000 (01:22 +0000)]
fix loading of counters on memory-mapped io boards (pci-1200)

21 years agorevert last change, it didn't help
Frank Mori Hess [Tue, 30 Sep 2003 13:13:09 +0000 (13:13 +0000)]
revert last change, it didn't help

21 years agoa couple of people have reported interrupts not working, I'm guessing
Frank Mori Hess [Sun, 28 Sep 2003 19:50:54 +0000 (19:50 +0000)]
a couple of people have reported interrupts not working, I'm guessing
the interrupt needs to be cleared at the end of the interrupt handler.

21 years agofix for crapiness of computerboards hardware (external queue interacts
Frank Mori Hess [Sat, 20 Sep 2003 21:30:24 +0000 (21:30 +0000)]
fix for crapiness of computerboards hardware (external queue interacts
with ao fifo)

21 years agoremove redundant analog output munging with using PIO
Frank Mori Hess [Sat, 20 Sep 2003 16:42:43 +0000 (16:42 +0000)]
remove redundant analog output munging with using PIO

21 years agosimplify and speed up
Frank Mori Hess [Sat, 20 Sep 2003 01:51:28 +0000 (01:51 +0000)]
simplify and speed up