Frank Mori Hess [Sat, 28 Jan 2006 15:19:42 +0000 (15:19 +0000)]
Added new driver for Winsystems PCM DA-12 AO board from
calin@ajvar.org (Calin A. Culianu).
Frank Mori Hess [Sat, 28 Jan 2006 15:03:32 +0000 (15:03 +0000)]
Driver update from calin@ajvar.org (Calin A. Culianu):
fixes bugs in the immediate mode read/write instructions, (they work 100% now).
I also added IRQ support to do commands/edge-detect interrupts, etc... but that
is entirely untested.
Frank Mori Hess [Thu, 19 Jan 2006 22:16:57 +0000 (22:16 +0000)]
Added define of c6xdigio_ko_SOURCES
Frank Mori Hess [Mon, 16 Jan 2006 15:02:29 +0000 (15:02 +0000)]
Patch from abbotti@mev.co.uk (Ian Abbott) which makes external
input the default source for counter channel 0.
Frank Mori Hess [Sun, 15 Jan 2006 21:46:58 +0000 (21:46 +0000)]
Patch from Ian Abbott <abbotti@mev.co.uk>, to enable counter for
pci-1711.
Frank Mori Hess [Sun, 15 Jan 2006 21:41:25 +0000 (21:41 +0000)]
New driver for the PCM-UIO48A and PCM-UIO96A boards from Winsystems,
from calin@ajvar.org (Calin A. Culianu).
Frank Mori Hess [Sun, 15 Jan 2006 20:35:23 +0000 (20:35 +0000)]
Fix compile against 2.6.15 kernel by using CLASS_DEVICE_CREATE
compatibility macro.
Frank Mori Hess [Sun, 15 Jan 2006 20:34:35 +0000 (20:34 +0000)]
Fixed a couple compile warnings.
Frank Mori Hess [Sun, 15 Jan 2006 20:34:09 +0000 (20:34 +0000)]
Added CLASS_DEVICE_CREATE compaitibility macro, based on patch from
abbotti@mev.co.uk (Ian Abbott).
Frank Mori Hess [Sun, 15 Jan 2006 20:10:03 +0000 (20:10 +0000)]
Added compatibility header for linux/pci_ids.h, which fixes
compile against 2.6.15 kernels.
Frank Mori Hess [Sun, 15 Jan 2006 20:00:03 +0000 (20:00 +0000)]
Patch from abbotti@mev.co.uk (Ian Abbott), fixes following problem:
New compiler option in kernel Makefile blows away all comedi compilation:
-include include/linux/autoconf.h
Frank Mori Hess [Sun, 8 Jan 2006 16:37:27 +0000 (16:37 +0000)]
Added support for calibration pwm output used for nonlinearity calibration
of m-series boards.
Frank Mori Hess [Wed, 4 Jan 2006 02:54:12 +0000 (02:54 +0000)]
Give full user-space access to all possible internal calibration sources.
Frank Mori Hess [Wed, 4 Jan 2006 02:53:40 +0000 (02:53 +0000)]
Corrected value for MSeries_AI_Bypass_Bank_Mask
Frank Mori Hess [Mon, 2 Jan 2006 21:53:00 +0000 (21:53 +0000)]
Added support for reading eeprom on m-series boards. Added partial
support for CR_ALT_SOURCE with m-series boards.
Frank Mori Hess [Mon, 2 Jan 2006 01:11:30 +0000 (01:11 +0000)]
Fixed ai range codes for 622x boards.
Frank Mori Hess [Mon, 2 Jan 2006 00:16:31 +0000 (00:16 +0000)]
Err, undid my last "fix" which was wrong.
Frank Mori Hess [Mon, 2 Jan 2006 00:12:01 +0000 (00:12 +0000)]
Fixed reading of alt ai sources with 611x boards.
Frank Mori Hess [Sun, 1 Jan 2006 23:20:51 +0000 (23:20 +0000)]
Fixed munging for ao commands with m-series boards.
Frank Mori Hess [Sun, 1 Jan 2006 23:15:55 +0000 (23:15 +0000)]
Fixed caldacs and ai ranges in board array for m-series boards.
Frank Mori Hess [Sat, 31 Dec 2005 23:53:06 +0000 (23:53 +0000)]
Added support for a couple missing ao registers to m_series_stc_writew()
Frank Mori Hess [Wed, 28 Dec 2005 17:13:56 +0000 (17:13 +0000)]
Fixed ai munging and dma setup for 18 bit m-series boards. ai commands
seem to work now.
Frank Mori Hess [Wed, 28 Dec 2005 17:12:42 +0000 (17:12 +0000)]
Added some missing registers used by ai commands to m_series_stc_writew().
Frank Mori Hess [Thu, 22 Dec 2005 02:21:36 +0000 (02:21 +0000)]
Fix 2's complement munging for ai insn with 18 bit boards.
insn work for ai on pci-6289 now.
Frank Mori Hess [Wed, 21 Dec 2005 03:04:52 +0000 (03:04 +0000)]
Added support for various m-series ao ranges.
Frank Mori Hess [Tue, 20 Dec 2005 23:23:01 +0000 (23:23 +0000)]
Fixed compile error I just created with last change.
Frank Mori Hess [Tue, 20 Dec 2005 23:21:58 +0000 (23:21 +0000)]
give an error message when user fails to provide firmware, and fix
bug in test for whether firmware was provided.
Frank Mori Hess [Tue, 20 Dec 2005 03:25:58 +0000 (03:25 +0000)]
Figured out some more ao range related bits.
Frank Mori Hess [Tue, 20 Dec 2005 00:13:05 +0000 (00:13 +0000)]
Fixed up some m-series board entries using board specification documents.
Frank Mori Hess [Mon, 19 Dec 2005 01:32:17 +0000 (01:32 +0000)]
ao write instructions work on pci-6289 after adding initialization of
AO_Calibration register (turns off grounding of ao reference).
Frank Mori Hess [Mon, 19 Dec 2005 00:42:35 +0000 (00:42 +0000)]
Some fixes for m series ai/ao instructions. ao instructions definitely
don't work yet.
Frank Mori Hess [Mon, 19 Dec 2005 00:41:18 +0000 (00:41 +0000)]
Added some missing AO registers for m-series
Frank Mori Hess [Sun, 18 Dec 2005 20:26:42 +0000 (20:26 +0000)]
Implemented writes to some missing registers in m_series_stc_writew().
Frank Mori Hess [Sun, 18 Dec 2005 17:16:22 +0000 (17:16 +0000)]
Added offsets for GPCT registers on m-series
Frank Mori Hess [Sun, 18 Dec 2005 15:56:44 +0000 (15:56 +0000)]
Allow for up to 8 dma channels on mite.
Frank Mori Hess [Thu, 15 Dec 2005 00:01:18 +0000 (00:01 +0000)]
Patch from "Andreas Leuner" <al14@inf.tu-dresden.de>:
I have modified the rtai.m4 script locally to recognize a kernel with
ipipe support. With this the generated configure script detects ipipe
support and activates RTAI support. The so modified comedi compiles fine
and modules load without any crashes. However I haven't tested the result
with real daq hardware yet.
Frank Mori Hess [Wed, 14 Dec 2005 13:10:34 +0000 (13:10 +0000)]
Added preliminary board entries for m-series boards
Frank Mori Hess [Mon, 12 Dec 2005 01:56:52 +0000 (01:56 +0000)]
Fixed null dereference in attach.
Frank Mori Hess [Mon, 12 Dec 2005 01:44:39 +0000 (01:44 +0000)]
Some reg_type fixes for m-series
Frank Mori Hess [Mon, 12 Dec 2005 00:29:05 +0000 (00:29 +0000)]
First pass at m-series support done. AI/AO might possibly work (after
adding entries for m-series boards to board array),
digital subdevices definitely won't yet.
Frank Mori Hess [Sun, 11 Dec 2005 21:41:27 +0000 (21:41 +0000)]
Fixed array overrun for boards with more than 2 ao channels.
Frank Mori Hess [Mon, 5 Dec 2005 03:32:21 +0000 (03:32 +0000)]
Added enumeration of all m series register offsets.
Frank Mori Hess [Mon, 5 Dec 2005 01:05:18 +0000 (01:05 +0000)]
Patch from abbotti@mev.co.uk (Ian Abbott):
KREF_PUT can be simplified for 2.6.12 upwards - it just needs to call kref_put
and pass on the return value.
Also, the kref stuff first appeared in 2.6.5, not 2.6.0.
Frank Mori Hess [Sun, 4 Dec 2005 03:20:36 +0000 (03:20 +0000)]
Added some notes on registers which have moved under m-series
Frank Mori Hess [Sun, 4 Dec 2005 03:20:08 +0000 (03:20 +0000)]
use win_out2 macro for write to AI_SC_Load_A_Registers
Frank Mori Hess [Sun, 4 Dec 2005 03:19:31 +0000 (03:19 +0000)]
Removed obsolete comment about 6733 pci id.
David Schleef [Wed, 30 Nov 2005 17:51:24 +0000 (17:51 +0000)]
new driver
Frank Mori Hess [Wed, 23 Nov 2005 22:51:42 +0000 (22:51 +0000)]
Patch from Dave <dfelson.celson@virgin.net>:
Tried the NI 6602 in single pulse, surprised (!) the
case INSN_CONFIG_GPCT_SINGLE_PULSE_GENERATOR:
ran into the
case INSN_CONFIG_GPCT_PULSE_TRAIN_GENERATOR:
without a break.
Frank Mori Hess [Wed, 23 Nov 2005 22:48:50 +0000 (22:48 +0000)]
pud_t was introduced in kernel 2.6.11
Frank Mori Hess [Wed, 23 Nov 2005 12:59:44 +0000 (12:59 +0000)]
Deal with varying return type for kref_put in newer kernels.
Frank Mori Hess [Mon, 21 Nov 2005 02:10:32 +0000 (02:10 +0000)]
Added documentation comment block
Frank Mori Hess [Mon, 21 Nov 2005 02:05:28 +0000 (02:05 +0000)]
New driver by Dan Block via anders.blomdell@control.lth.se (Anders Blomdell).
Frank Mori Hess [Mon, 21 Nov 2005 01:21:01 +0000 (01:21 +0000)]
Added documentation header to dt9812 driver.
Frank Mori Hess [Mon, 21 Nov 2005 01:16:54 +0000 (01:16 +0000)]
New driver from anders.blomdell@control.lth.se (Anders Blomdell):
This driver works, but bulk transfers not implemented. Might be a starting point
for someone else. I found out too late that USB has too high latencies (>1 ms)
for my needs.
Frank Mori Hess [Mon, 21 Nov 2005 01:15:31 +0000 (01:15 +0000)]
Added compatibility wrapper for kref.h
Frank Mori Hess [Mon, 21 Nov 2005 00:24:33 +0000 (00:24 +0000)]
Patch from anders.blomdell@control.lth.se (Anders Blomdell):
make poll point to the right subfield
Frank Mori Hess [Mon, 21 Nov 2005 00:23:43 +0000 (00:23 +0000)]
Patch from anders.blomdell@control.lth.se (Anders Blomdell):
fix warning messages (might be that 8255_cb should change signature)
Frank Mori Hess [Mon, 21 Nov 2005 00:11:58 +0000 (00:11 +0000)]
Static initialization of spinlocks has been deprecated by the kernel
(from anders.blomdell@control.lth.se (Anders Blomdell)).
Frank Mori Hess [Sun, 20 Nov 2005 21:35:01 +0000 (21:35 +0000)]
Fix scan counter loading, which needs to be set to desired count minus
3 (fix from Derek Foreman <Derek.Foreman@nrc-cnrc.gc.ca>). Fixed
verified correct on pci-das6036 and 6025.
Frank Mori Hess [Wed, 2 Nov 2005 00:39:56 +0000 (00:39 +0000)]
Patch from anders.blomdell@control.lth.se (Anders Blomdell):
daqboard2000: fixed bug where (sometimes) values were left behind in the FIFO
multiq3: start encoder counting from middle of range (2^23)
serial2002: fix timing issues in 2.6 kernels, add encoder
Frank Mori Hess [Wed, 2 Nov 2005 00:21:28 +0000 (00:21 +0000)]
Patch from abbotti@mev.co.uk (Ian Abbott):
The following drivers do not compile for 2.6.13 upwards due to the removal of
the pcmcia_get_card_services_info function, servinfo_t typedef and
CS_RELEASE_CODE macro:
cb_das16_cs
das08_cs
ni_daq_dio24
ni_labpc_cs
ni_mio_cs
quatech_daqp_cs
I think the best solution is to remove the offending code altogether along with
the #include <pcmcia/version.h> lines as CS_RELEASE_CODE has had the same value
since at least 2.4.0 and Comedi doesn't support earlier kernels anymore.
Frank Mori Hess [Wed, 19 Oct 2005 03:10:32 +0000 (03:10 +0000)]
free async->cmd.chanlist before it gets blown away by user's cmd
Frank Mori Hess [Wed, 19 Oct 2005 02:38:01 +0000 (02:38 +0000)]
Fix memory leak noted by "Michael Brooks" <mbrooks@orbitalnetwork.com>
Frank Mori Hess [Sun, 16 Oct 2005 21:45:42 +0000 (21:45 +0000)]
Patch from abbotti@mev.co.uk (Ian Abbott):
I have added support for the following additional Amplicon 200 series boards to
the amplc_dio200 driver: PC212E, PC214E, PC215E, PC218E, PCI215. These have a
mixture of 8255 dio chips and 8254 counter chips (except PC218E which has no 8255).
As well as changing comedi/drivers/amplc_dio200.c, the patch adds some extra
inline functions to comedi/drivers/8253.h and adds four extra INSN_CONFIG_xxx
defines to include/linux/comedi.h (for configuring clock and gate sources for
the counter subdevices).
David Schleef [Tue, 11 Oct 2005 16:49:03 +0000 (16:49 +0000)]
update from Calin
David Schleef [Tue, 11 Oct 2005 01:10:24 +0000 (01:10 +0000)]
Add new bonding driver from Calin Culianu
David Schleef [Fri, 7 Oct 2005 16:22:08 +0000 (16:22 +0000)]
dist all .c and .h files
David Schleef [Fri, 7 Oct 2005 16:21:21 +0000 (16:21 +0000)]
Don't dist removed files. Tell people to run depmod instead of
doing it for them (incorrectly).
David Schleef [Fri, 7 Oct 2005 05:08:55 +0000 (05:08 +0000)]
Convert to UTF-8
David Schleef [Fri, 7 Oct 2005 05:08:13 +0000 (05:08 +0000)]
Convert to UTF-8. Fix some warnings.
David Schleef [Fri, 7 Oct 2005 05:06:33 +0000 (05:06 +0000)]
Convert from DOS to unix. Convert to UTF-8. Minor warning fixes.
David Schleef [Fri, 7 Oct 2005 05:04:04 +0000 (05:04 +0000)]
Remove compatibility for 2.0 and 2.2
David Schleef [Thu, 6 Oct 2005 17:50:38 +0000 (17:50 +0000)]
revert to 0.7 changelog
David Schleef [Thu, 6 Oct 2005 17:47:00 +0000 (17:47 +0000)]
copy from 0.7 branch
David Schleef [Thu, 6 Oct 2005 17:42:02 +0000 (17:42 +0000)]
merge branch-0_7 back to HEAD
Frank Mori Hess [Wed, 15 Jun 2005 23:24:19 +0000 (23:24 +0000)]
* Contributors: Added Alexis Berlemont and Simone Mannori.
* Makefile.am: Fix depmod call on "make install".
* comedi/rt.c: (comedi_request_irq), (comedi_free_irq),
(comedi_switch_to_rt), (comedi_switch_to_non_rt),
(handle_void_irq), (comedi_rt_get_irq), (fusion_handle_irq),
(comedi_rt_release_irq), (comedi_rt_init), (comedi_rt_cleanup),
(handle_rtl_irq): rtai fusion support from Alexis Berlemont,
plus some cleanups by me.
* comedi/rt_pend_tq.c: (rt_pend_call), (rt_pend_tq_init),
(rt_pend_tq_cleanup): rtai fusion support from Alexis Berlemont.
* include/linux/comedi_rt.h: Implemented comedi_spinlock_irqsave()
and comedi_spinlock_irqrestore for rtai fusion.
* m4/rtai.m4: rtai fusion support from Alexis Berlemont.
Frank Mori Hess [Sat, 4 Jun 2005 14:40:52 +0000 (14:40 +0000)]
Patch from abbotti@mev.co.uk (Ian Abbott) to
make it possible to remove deprecated check_region()
calls from drivers.
* include/linux/ioport.h: Added compat__request_region()
* include/linux/pci.h: Replace use of check_region() with
modern version of request_region().
Frank Mori Hess [Sat, 28 May 2005 19:10:32 +0000 (19:10 +0000)]
* include/linux/delay.h: Added msleep_interruptible()
* include/linux/time.h:i Added msecs_to_jiffies() and jiffies_to_msecs()
* include/linux/usb.h: Added USB_CONTROL_MSG() and USB_BULK_MSG()
David Schleef [Thu, 21 Apr 2005 00:46:47 +0000 (00:46 +0000)]
Remove the debian directory, since it's not maintained here.
* debian/changelog:
* debian/comedi-modules.control:
* debian/comedi-modules.postinst:
* debian/comedi-modules.prerm:
* debian/comedi-source.postinst:
* debian/comedi-source.prerm:
* debian/control:
* debian/copyright:
* debian/rules:
Frank Mori Hess [Mon, 18 Apr 2005 01:25:56 +0000 (01:25 +0000)]
* comedi/kcomedilib/get.c: Added comedi_mark_buffer_written() to
kcomedilib.
Bernd Porr [Wed, 13 Apr 2005 19:34:23 +0000 (19:34 +0000)]
Fixed a bug which uploaded the firmware always to the first
device. Even if there were two devices. Thus, the second device
never got the firmware uploaded. Thanks to Bjorn Kinell.
David Schleef [Fri, 8 Apr 2005 02:58:13 +0000 (02:58 +0000)]
* ChangeLog-0.7: Move ChangeLog to ChangeLog-0.7, and start
this changelog
Frank Mori Hess [Thu, 7 Apr 2005 23:53:14 +0000 (23:53 +0000)]
summary of 0.7.70 changes
David Schleef [Thu, 7 Apr 2005 20:20:40 +0000 (20:20 +0000)]
Remove references to linux/irq.h
David Schleef [Thu, 7 Apr 2005 20:15:19 +0000 (20:15 +0000)]
Re-add call to depmod if it's a normal install
Frank Mori Hess [Thu, 7 Apr 2005 16:52:00 +0000 (16:52 +0000)]
added José Luis Sánchez
David Schleef [Tue, 5 Apr 2005 20:21:32 +0000 (20:21 +0000)]
Remove linux/irq.h. It should be asm/irq.h, which is included
automatically.
David Schleef [Sun, 3 Apr 2005 00:00:36 +0000 (00:00 +0000)]
Use -i and -f flags
David Schleef [Sat, 2 Apr 2005 23:57:18 +0000 (23:57 +0000)]
Fix drivers.txt target
David Schleef [Sat, 2 Apr 2005 23:52:27 +0000 (23:52 +0000)]
Use autoreconf. Add files
David Schleef [Sat, 2 Apr 2005 23:48:24 +0000 (23:48 +0000)]
Change the way files are disted. Remove all the crap from scripts/
that's no longer used.
David Schleef [Fri, 1 Apr 2005 04:24:12 +0000 (04:24 +0000)]
Documentation fixes
David Schleef [Fri, 1 Apr 2005 04:23:44 +0000 (04:23 +0000)]
version bump
David Schleef [Fri, 1 Apr 2005 03:00:52 +0000 (03:00 +0000)]
Make distcheck work. Add LINUX_MODULE_STYLE to indicate module
building style.
Frank Mori Hess [Tue, 29 Mar 2005 02:49:40 +0000 (02:49 +0000)]
fix compile warning, and initialize both tio chips
Frank Mori Hess [Tue, 29 Mar 2005 02:41:04 +0000 (02:41 +0000)]
patch from Klaas Gadeyne <Klaas.Gadeyne@mech.kuleuven.ac.be>
which fixes problem with initialization of CounterSwap bit in the
ClockConfigRegister.
The patch also fixes a small bug in the configuration of the TIO to serve
as an encoder: There was a copy-paste error in the code for taking into
account the index pulse or not.
Frank Mori Hess [Tue, 22 Mar 2005 02:30:46 +0000 (02:30 +0000)]
check for CAP_SYS_MODULE instead of CAP_SYS_ADMIN in comedi_fop_open()
Frank Mori Hess [Sat, 19 Mar 2005 03:36:30 +0000 (03:36 +0000)]
add mention of comedi_nonfree_firmware tarball
Frank Mori Hess [Sat, 19 Mar 2005 03:35:15 +0000 (03:35 +0000)]
allow schedules() during firmware upload
Frank Mori Hess [Fri, 18 Mar 2005 00:00:25 +0000 (00:00 +0000)]
add support for loading firmware into main fpga and scarabs on pci-6534