Frank Mori Hess [Wed, 21 Apr 2004 05:56:54 +0000 (05:56 +0000)]
fixes for 64bit archs
Frank Mori Hess [Mon, 19 Apr 2004 22:09:57 +0000 (22:09 +0000)]
change dev->iobase to unsigned long for 64 bit cpus
Frank Mori Hess [Mon, 19 Apr 2004 21:56:58 +0000 (21:56 +0000)]
add note about unresolved rt kernel symbols
Frank Mori Hess [Tue, 13 Apr 2004 23:23:02 +0000 (23:23 +0000)]
rt_request_global_irq_arg() doesn't seem to exist in rtai anymore
Frank Mori Hess [Sun, 11 Apr 2004 17:38:37 +0000 (17:38 +0000)]
added Nils
Frank Mori Hess [Sun, 11 Apr 2004 17:36:42 +0000 (17:36 +0000)]
command support for pcl818 from Nils Juergens:
The streaming aquisition support has been dropped with the move from comedi_trig
to comedi_command. The attached patch ports the comedi_trig stuff over to
comedi_command. It is not heavily tested, but works for me with both pcl818 and
pcl818h cards (though i haven't tested the fifo code for the 818h).
Frank Mori Hess [Tue, 6 Apr 2004 00:03:43 +0000 (00:03 +0000)]
figured out how i broke dma, and removed useless barrier
Frank Mori Hess [Mon, 5 Apr 2004 22:47:59 +0000 (22:47 +0000)]
take into account possibility of comedi_poll getting called from
interrupt context (kcomedilib). Removed some dead code. Fix
tiny possibility of undetected buffer overrun. Added a memory
barrier to ni_sync_ai_dma().
Frank Mori Hess [Mon, 5 Apr 2004 21:42:11 +0000 (21:42 +0000)]
remove bogus bug warning
Frank Mori Hess [Sun, 4 Apr 2004 20:30:43 +0000 (20:30 +0000)]
replaced some preprocessor defines with enums and inline functions
Frank Mori Hess [Sun, 4 Apr 2004 18:19:13 +0000 (18:19 +0000)]
added declarations for IO Device Window Base Size Register
Frank Mori Hess [Sun, 4 Apr 2004 17:49:38 +0000 (17:49 +0000)]
try to make sure we get the scan data dma'd after eos interrupts
Frank Mori Hess [Sun, 4 Apr 2004 16:44:29 +0000 (16:44 +0000)]
add more locking to make comedi_poll smp safe, and made ni_handle_fifo_dregs()
slightly more efficient
Frank Mori Hess [Sun, 4 Apr 2004 16:40:15 +0000 (16:40 +0000)]
fix initialization of channel, that I broke with last fix
Frank Mori Hess [Fri, 26 Mar 2004 00:24:23 +0000 (00:24 +0000)]
fix analog output channel interaction for boards with analog output
fifo
Frank Mori Hess [Mon, 22 Mar 2004 21:05:26 +0000 (21:05 +0000)]
complain more loudly on comedi_switch_to_rt() failure
Frank Mori Hess [Sun, 21 Mar 2004 18:31:55 +0000 (18:31 +0000)]
comedi_calibrate supports more than NI boards now
Frank Mori Hess [Sun, 21 Mar 2004 17:41:33 +0000 (17:41 +0000)]
add a rmb() in mite_bytes_transferred()
Frank Mori Hess [Sun, 21 Mar 2004 17:41:12 +0000 (17:41 +0000)]
use barrier() instead of mb() since it really is just memory
Frank Mori Hess [Sun, 21 Mar 2004 17:35:24 +0000 (17:35 +0000)]
add support for comedi_poll when using mite dma, (needed to add
another spinlock to prevent races with interrupt handler).
Frank Mori Hess [Sun, 21 Mar 2004 17:11:16 +0000 (17:11 +0000)]
wake on end of scan based on TRIG_WAKE_EOS bit in command flags, instead
of COMEDI_CB_EOS in callback mask
Frank Mori Hess [Sun, 21 Mar 2004 17:10:05 +0000 (17:10 +0000)]
don't force various bits in cb_mask when command is executed, and
automaticaly set TRIG_WAKE_EOS if they are calling back on end of
scan events
Frank Mori Hess [Sun, 21 Mar 2004 17:08:48 +0000 (17:08 +0000)]
don't force on COMEDI_CB_BLOCK in comedi_event()
Frank Mori Hess [Sat, 20 Mar 2004 13:32:52 +0000 (13:32 +0000)]
usbdux driver update from Bernd Porr:
This patch resolves problems with buggy VIA/SIS USB controllers. They tend to
loose IRQs in high speed mode. In the 2.6.4 kernel there's now a watchdog timer
which triggers an interrupt after 5ms. To make this safely work with the usbdux
driver the number of buffers has been increased to 10 for the high speed mode
and to 5 for the full speed mode.
There are also some minor changes: removed unnecessary defines and removed the
text that firmware upload through comedi is deprecated. In fact some distros
have fxload not installed so that comedi itself has (still) to do the job.
Frank Mori Hess [Mon, 15 Mar 2004 03:27:56 +0000 (03:27 +0000)]
fix register offset problems noted by Henk van Rooy <H.W.A.M.v.Rooy@tue.nl>
Frank Mori Hess [Sat, 13 Mar 2004 16:43:09 +0000 (16:43 +0000)]
change some caldac types to ad8804_debug, as not all calibration channels
were available for daqcard-6036e (at least ao ch0 fine gain was unavailable)
Frank Mori Hess [Wed, 10 Mar 2004 23:34:24 +0000 (23:34 +0000)]
add support for reading internal reference voltage, and don't return
an error on calibration adc overrange
Frank Mori Hess [Sun, 7 Mar 2004 22:19:10 +0000 (22:19 +0000)]
stop forcing cs5529 gain to one, added cs5529_wait_for_idle() to get
rid of some code duplication
Frank Mori Hess [Sun, 7 Mar 2004 02:22:00 +0000 (02:22 +0000)]
fixed ni_ai_fifo_read(), to use the loop index when copying input
data to array.
got rid of comedi_buf_put() calls, some cleanups
Frank Mori Hess [Sat, 6 Mar 2004 19:08:26 +0000 (19:08 +0000)]
added some memory barriers on read/writes to comedi's buffer
Frank Mori Hess [Tue, 2 Mar 2004 23:51:13 +0000 (23:51 +0000)]
update configure help to suggest using rtai installation or build dir
instead of source dir.
Frank Mori Hess [Mon, 1 Mar 2004 23:31:02 +0000 (23:31 +0000)]
make KBUILD_BASENAME and KBUILD_MODNAME hacks more robust
Frank Mori Hess [Sun, 29 Feb 2004 23:43:25 +0000 (23:43 +0000)]
version bump
Frank Mori Hess [Sun, 29 Feb 2004 23:18:22 +0000 (23:18 +0000)]
fix name clashes with rtai
Frank Mori Hess [Sun, 29 Feb 2004 23:17:27 +0000 (23:17 +0000)]
get CONFIG_ADEOS value
Frank Mori Hess [Sun, 29 Feb 2004 23:05:38 +0000 (23:05 +0000)]
add missing quote
Frank Mori Hess [Sun, 29 Feb 2004 22:51:23 +0000 (22:51 +0000)]
add mising $ and recognize adeos patched kernels
Frank Mori Hess [Sun, 29 Feb 2004 22:14:25 +0000 (22:14 +0000)]
add check for depmod to configure
Frank Mori Hess [Sun, 29 Feb 2004 22:09:01 +0000 (22:09 +0000)]
deal with moved rtai_config.h
Frank Mori Hess [Sun, 29 Feb 2004 21:51:55 +0000 (21:51 +0000)]
fix m4 quoting
Frank Mori Hess [Sun, 29 Feb 2004 21:48:21 +0000 (21:48 +0000)]
force gain calibration of 67xx calibration adc to 1
Frank Mori Hess [Sun, 29 Feb 2004 18:25:35 +0000 (18:25 +0000)]
hack to set KBUILD_BASENAME
David Schleef [Fri, 27 Feb 2004 20:47:45 +0000 (20:47 +0000)]
Add fallback if mktemp utility cannot be found.
Frank Mori Hess [Fri, 27 Feb 2004 00:33:11 +0000 (00:33 +0000)]
fix version check for 'owner' member of usb_driver
David Schleef [Mon, 23 Feb 2004 21:20:09 +0000 (21:20 +0000)]
cleanups. Disable PCMCIA on linux-2.6
David Schleef [Mon, 23 Feb 2004 21:19:52 +0000 (21:19 +0000)]
disable RTC code
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>
Frank Mori Hess [Sat, 21 Feb 2004 15:38:52 +0000 (15:38 +0000)]
disable analog triggerring so pfi0 works
Frank Mori Hess [Sun, 15 Feb 2004 22:18:24 +0000 (22:18 +0000)]
init ao configuration reg 2 for 67xx
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
Frank Mori Hess [Fri, 13 Feb 2004 23:50:11 +0000 (23:50 +0000)]
fix compilation with kernels using dynamic hz patch
Frank Mori Hess [Tue, 10 Feb 2004 23:18:22 +0000 (23:18 +0000)]
patch from Klaas Gadeyne <Klaas.Gadeyne@mech.kuleuven.ac.be>
Frank Mori Hess [Sun, 8 Feb 2004 21:52:00 +0000 (21:52 +0000)]
more driver support for ni 67xx calibration.
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
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>
Frank Mori Hess [Sat, 7 Feb 2004 21:31:54 +0000 (21:31 +0000)]
add some more support for 67xx calibration adc
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>
Frank Mori Hess [Sat, 31 Jan 2004 23:29:33 +0000 (23:29 +0000)]
comment out debug message
Frank Mori Hess [Sat, 31 Jan 2004 23:03:06 +0000 (23:03 +0000)]
added Caleb Tennis
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
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
Frank Mori Hess [Sat, 31 Jan 2004 22:13:09 +0000 (22:13 +0000)]
serial dio (SCXI) support from Caleb Tennis
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
Frank Mori Hess [Sat, 31 Jan 2004 22:08:25 +0000 (22:08 +0000)]
serial dio support (SCXI) from Caleb Tennis.
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).
Frank Mori Hess [Sat, 31 Jan 2004 21:58:10 +0000 (21:58 +0000)]
check for nonzero return from schedule_timeout()
Frank Mori Hess [Sun, 25 Jan 2004 00:12:52 +0000 (00:12 +0000)]
add use of LDFLAGS_MODULE for 2.6
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
Frank Mori Hess [Sat, 24 Jan 2004 21:55:57 +0000 (21:55 +0000)]
fixed setting of -DMODULE for 2.6
Frank Mori Hess [Sat, 24 Jan 2004 21:24:24 +0000 (21:24 +0000)]
add --disable-pcmcia configure option
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
Frank Mori Hess [Sat, 24 Jan 2004 16:48:49 +0000 (16:48 +0000)]
update from Bernd Porr
Frank Mori Hess [Wed, 21 Jan 2004 18:59:26 +0000 (18:59 +0000)]
beginnings of ni_67xx calibration support
Frank Mori Hess [Mon, 19 Jan 2004 22:19:44 +0000 (22:19 +0000)]
beginnings of 671x and 673x self calibration support
Frank Mori Hess [Mon, 19 Jan 2004 16:01:00 +0000 (16:01 +0000)]
added some device ids for 67xx boards
Frank Mori Hess [Mon, 12 Jan 2004 01:18:08 +0000 (01:18 +0000)]
fix install brokenness (missing some square brackets)
Frank Mori Hess [Mon, 12 Jan 2004 01:05:08 +0000 (01:05 +0000)]
fix depmod call in install-data-hook
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
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
Frank Mori Hess [Mon, 12 Jan 2004 00:28:40 +0000 (00:28 +0000)]
be more careful about subdevice allocation/free
Frank Mori Hess [Sun, 11 Jan 2004 23:33:19 +0000 (23:33 +0000)]
include <linux/vmalloc.h> for VMALLOC_VMADDR() macro
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).
Frank Mori Hess [Sun, 11 Jan 2004 23:07:31 +0000 (23:07 +0000)]
added Bernd Porr and Steven Jenkins
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.
Frank Mori Hess [Fri, 2 Jan 2004 00:38:51 +0000 (00:38 +0000)]
update status comments
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)
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.
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.
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
Frank Mori Hess [Sun, 21 Dec 2003 23:50:13 +0000 (23:50 +0000)]
fixes for COMEDI_NDEVICES > 4
Frank Mori Hess [Sun, 21 Dec 2003 23:47:38 +0000 (23:47 +0000)]
new compat header
Frank Mori Hess [Sun, 21 Dec 2003 17:10:49 +0000 (17:10 +0000)]
update from bernd porr
David Schleef [Fri, 19 Dec 2003 22:47:17 +0000 (22:47 +0000)]
Linux-2.4.23 has the new interrupt prototypes
David Schleef [Thu, 18 Dec 2003 03:38:25 +0000 (03:38 +0000)]
Remove printk() that is triggered by devices sharing the IRQ
Frank Mori Hess [Sat, 6 Dec 2003 19:34:33 +0000 (19:34 +0000)]
fix for changes in linux 2.6 kdev_t.h
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
Frank Mori Hess [Sun, 30 Nov 2003 14:55:04 +0000 (14:55 +0000)]
added usbdux driver
David Schleef [Wed, 26 Nov 2003 21:36:43 +0000 (21:36 +0000)]
Fixes from Nils Juergens <ju@isf.rwth-aachen.de>
Frank Mori Hess [Sun, 23 Nov 2003 19:12:26 +0000 (19:12 +0000)]
valid bit should be 3rd bit, not 0x3 value
Frank Mori Hess [Sun, 23 Nov 2003 18:55:48 +0000 (18:55 +0000)]
added patch from Klaas Gadeyne, with my own modifications.