comedi.git
19 years agopatch from Jan Gukelberger <g.u.g.i@gmx.de>:
Frank Mori Hess [Sat, 1 Oct 2005 18:12:51 +0000 (18:12 +0000)]
patch from Jan Gukelberger <g.u.g.i@gmx.de>:

implemented INSN_CONFIG_DIO_QUERY for pfi subdevice.

19 years agoDeal with event callback getting moved into pcmcia_driver struct in
Frank Mori Hess [Tue, 20 Sep 2005 23:27:36 +0000 (23:27 +0000)]
Deal with event callback getting moved into pcmcia_driver struct in
2.6.13 kernels.

19 years agoAdd new driver
David Schleef [Mon, 12 Sep 2005 21:34:52 +0000 (21:34 +0000)]
Add new driver

19 years agoFixed range table for 1713.
Frank Mori Hess [Sat, 10 Sep 2005 16:19:45 +0000 (16:19 +0000)]
Fixed range table for 1713.

19 years agoPatch from abbotti@mev.co.uk (Ian Abbott):
Frank Mori Hess [Sat, 10 Sep 2005 16:10:49 +0000 (16:10 +0000)]
Patch from abbotti@mev.co.uk (Ian Abbott):

I cocked up the register offset for the third 8255 subdevice of the Amplicon
PC272E and PCI272 cards.  It should be at offset 0x10, not 0x0C.

19 years agoadded i8254_status()
Frank Mori Hess [Sat, 10 Sep 2005 16:08:46 +0000 (16:08 +0000)]
added i8254_status()

19 years agoFixed initialization bug reported by abbotti@mev.co.uk (Ian Abbott).
Frank Mori Hess [Sat, 10 Sep 2005 16:04:00 +0000 (16:04 +0000)]
Fixed initialization bug reported by abbotti@mev.co.uk (Ian Abbott).

19 years agoincrease allowable number of calibration sources, to try and find them
Frank Mori Hess [Sun, 28 Aug 2005 13:16:04 +0000 (13:16 +0000)]
increase allowable number of calibration sources, to try and find them
on the 6052

19 years agoreverting caldac type for AT-MIO-16XE-50, as it didn't help.
Frank Mori Hess [Sat, 27 Aug 2005 00:35:26 +0000 (00:35 +0000)]
reverting caldac type for AT-MIO-16XE-50, as it didn't help.

19 years agoPatch from abbotti@mev.co.uk (Ian Abbott):
Frank Mori Hess [Thu, 25 Aug 2005 23:58:39 +0000 (23:58 +0000)]
Patch from abbotti@mev.co.uk (Ian Abbott):

The include/linux/compiler.h file appeared in kernel 2.4.4, but disappeared in
2.4.5 and didn't reappear until 2.4.10! Comedi fails to build for kernel
versions 2.4.5 through 2.4.9 inclusive for this reason.

19 years agoAdded isapnp id for at-mio-16de-10 from isapnp.conf attachment
Frank Mori Hess [Thu, 25 Aug 2005 23:53:06 +0000 (23:53 +0000)]
Added isapnp id for at-mio-16de-10 from isapnp.conf attachment
in bugzilla bug 165.

19 years agochange caldac type for AT-MIO-16XE-50, as we seem to be missing a
Frank Mori Hess [Wed, 24 Aug 2005 22:29:20 +0000 (22:29 +0000)]
change caldac type for AT-MIO-16XE-50, as we seem to be missing a
coarse caldac adjustment.

19 years agofix number of ao bits for 6025 and 6040
Frank Mori Hess [Tue, 23 Aug 2005 00:50:28 +0000 (00:50 +0000)]
fix number of ao bits for 6025 and 6040

19 years agomade ni_daq_dio24 driver accept the driver name as the board name,
Frank Mori Hess [Sat, 20 Aug 2005 15:47:10 +0000 (15:47 +0000)]
made ni_daq_dio24 driver accept the driver name as the board name,
as suggested by Calin A. Culianu.

19 years agoremoved redundant include of linux/config.h
Frank Mori Hess [Tue, 16 Aug 2005 17:04:57 +0000 (17:04 +0000)]
removed redundant include of linux/config.h

19 years agofix for 4-level page tables introduced in 2.6.12
Frank Mori Hess [Tue, 16 Aug 2005 00:29:55 +0000 (00:29 +0000)]
fix for 4-level page tables introduced in 2.6.12

19 years agouse vmalloc instead of kmalloc in do_devconfig_ioctl() in order to
Frank Mori Hess [Wed, 3 Aug 2005 23:58:08 +0000 (23:58 +0000)]
use vmalloc instead of kmalloc in do_devconfig_ioctl() in order to
accommodate large firmware uploads (pci-6534).

19 years agobe more careful about mite transfer counts
Frank Mori Hess [Mon, 1 Aug 2005 02:05:21 +0000 (02:05 +0000)]
be more careful about mite transfer counts

19 years agodon't set write_subdev for pcidas-4020
Frank Mori Hess [Sat, 30 Jul 2005 21:26:24 +0000 (21:26 +0000)]
don't set write_subdev for pcidas-4020

19 years agoAdd support for dumping information from mite chip signature register,
Frank Mori Hess [Sat, 30 Jul 2005 17:49:30 +0000 (17:49 +0000)]
Add support for dumping information from mite chip signature register,
in particular the number of dma channels

19 years agofix caldac type for at-mio-16de-10
Frank Mori Hess [Wed, 27 Jul 2005 23:00:38 +0000 (23:00 +0000)]
fix caldac type for at-mio-16de-10

19 years agofixes for isapnp device id table
Frank Mori Hess [Mon, 25 Jul 2005 02:28:53 +0000 (02:28 +0000)]
fixes for isapnp device id table

19 years agorevert INSTALL, which I accidentally blew away
Frank Mori Hess [Mon, 25 Jul 2005 02:12:28 +0000 (02:12 +0000)]
revert INSTALL, which I accidentally blew away

19 years agopatch from abbotti@mev.co.uk (Ian Abbott):
Frank Mori Hess [Mon, 25 Jul 2005 02:10:39 +0000 (02:10 +0000)]
patch from abbotti@mev.co.uk (Ian Abbott):

The class_simple interface has been removed - mostly a renaming exercise.
Comedi needs to use the new interface with some compatibility stuff for older
kernels.

The patch has been tested on 2.4.28, 2.6.12 and
2.6.13-rc1 and seems to work.

19 years agojiffies_to_msecs was added in 2.6.7 (and 2.4.29)
Frank Mori Hess [Mon, 25 Jul 2005 02:09:33 +0000 (02:09 +0000)]
jiffies_to_msecs was added in 2.6.7 (and 2.4.29)

19 years agojiffies_to_msecs and msecs_to_jiffies were backported to vanilla
Frank Mori Hess [Mon, 25 Jul 2005 01:16:27 +0000 (01:16 +0000)]
jiffies_to_msecs and msecs_to_jiffies were backported to vanilla
kernel 2.4.29 and later.

19 years agopatch from abbotti@mev.co.uk (Ian Abbott):
Frank Mori Hess [Sun, 24 Jul 2005 20:59:16 +0000 (20:59 +0000)]
patch from abbotti@mev.co.uk (Ian Abbott):

The s626.c driver
needs to use COMEDI_INITCLEANUP_NOMODULE instead of COMEDI_INITCLEANUP because
it uses the MODULE_AUTHOR, MODULE_DESCRIPTION and MODULE_LICENSE macros.  I'm
not sure why it compiled okay on 2.6.

19 years agoadded s626_ko_SOURCES
Frank Mori Hess [Sun, 24 Jul 2005 20:53:48 +0000 (20:53 +0000)]
added s626_ko_SOURCES

19 years agoClairify comment about Sensoray driver.
Frank Mori Hess [Sun, 24 Jul 2005 20:50:50 +0000 (20:50 +0000)]
Clairify comment about Sensoray driver.

19 years agopatch from gpalli@deis.unibo.it (Gianluca Palli):
Frank Mori Hess [Sun, 24 Jul 2005 20:50:13 +0000 (20:50 +0000)]
patch from gpalli@deis.unibo.it (Gianluca Palli):

Added Sensoray copyright notice.

19 years agopatch from gpalli@deis.unibo.it (Gianluca Palli):
Frank Mori Hess [Sun, 24 Jul 2005 20:48:27 +0000 (20:48 +0000)]
patch from gpalli@deis.unibo.it (Gianluca Palli):

All compilation warning has been fixed. The includes of user space headers and
#ifdef RTAI has been removed, rt_printk is used for outputting debug messages.

A bug in s626_ai_cmdtest has been fixed.

19 years agomite_iobase is gone
Frank Mori Hess [Mon, 4 Jul 2005 21:27:30 +0000 (21:27 +0000)]
mite_iobase is gone

19 years agoadd missing iounmap in detach
Frank Mori Hess [Mon, 4 Jul 2005 18:20:43 +0000 (18:20 +0000)]
add missing iounmap in detach

19 years agofix compile warnings due to doing write[bwl] and read[bwl] to addresses
Frank Mori Hess [Mon, 4 Jul 2005 18:18:41 +0000 (18:18 +0000)]
fix compile warnings due to doing write[bwl] and read[bwl] to addresses
specified by unsigned long instead of void*

19 years agofix return value of request_mem_region compatibility macro so it returns
Frank Mori Hess [Mon, 4 Jul 2005 18:17:36 +0000 (18:17 +0000)]
fix return value of request_mem_region compatibility macro so it returns
a non-null value (null indicates error).

19 years agofix typo
Frank Mori Hess [Mon, 4 Jul 2005 16:46:42 +0000 (16:46 +0000)]
fix typo

19 years agosome tweaks to try and support ao commands on pci boards without
Frank Mori Hess [Sun, 26 Jun 2005 17:53:37 +0000 (17:53 +0000)]
some tweaks to try and support ao commands on pci boards without
ao fifos.

19 years agopatch from abbotti@mev.co.uk (Ian Abbott):
Frank Mori Hess [Sun, 26 Jun 2005 15:35:36 +0000 (15:35 +0000)]
patch from abbotti@mev.co.uk (Ian Abbott):

At the end of February (or possibly the beginning of March, depending on your
timezone!) I submitted a patch to remove pci_find_device and use pci_get_device
and pci_dev_put (and occasionally pci_dev_get) instead.

I messed up on the amplc_pc262 and cb_pcidas drivers as I forgot to replace
pci_find_device with pci_get_device, but added the calls to pci_dev_put, so the
PCI reference counts would go negative when the device was detached.  The
attached patch corrects this problem and also fixes an unrelated gcc warning in
the cb_pcidas driver about a possibly ambiguous 'else' requiring braces (my
fault again!).

19 years agopatch from gpalli@deis.unibo.it (Gianluca Palli):
Frank Mori Hess [Sun, 26 Jun 2005 15:17:45 +0000 (15:17 +0000)]
patch from gpalli@deis.unibo.it (Gianluca Palli):

Got rid of user-space includes, and unneeded check for RTAI

19 years agoSensoray 626 driver from gpalli@deis.unibo.it (Gianluca Palli):
Frank Mori Hess [Fri, 17 Jun 2005 00:55:35 +0000 (00:55 +0000)]
Sensoray 626 driver from gpalli@deis.unibo.it (Gianluca Palli):

This driver is based on the Sensoray 626 GPL Linux driver

The ai_poll function is not yet implemented

ao_cmd support is under development

The 48 dio channels are divided in to 3 subdev (2,3 and 4) with 16 channels
(each group of 16 channels is managed by a different hardware registers). These
can be grouped in one subdev with 48 bit mask. Channels 0-39 can be used as
TRIG_EXT arg for ai_cmd (cmd->start_src=TRIG_EXT; cmd->start_arg=20; subdev 3
channel 3 is used as external trigger)

Encoder/timer device has a lot of configuration option. Now only the encoder
configuration is avaiable. If ai_cmd scan_begin_src=TRIG_TIMER or
convert_src=TRIG_TIMER are selected, the timer channel 5 and 4 respectively are
used as trigger.

The code is filled with a lot of debugging messages visible compiling the code
with -D_DEBUG_ flag

19 years agoordered ni_pci_table[] by id, and added some missing device ids
Frank Mori Hess [Thu, 16 Jun 2005 23:00:40 +0000 (23:00 +0000)]
ordered ni_pci_table[] by id, and added some missing device ids

19 years agoadd Alexis Berlemont <berlemont.hauw@free.fr>
Frank Mori Hess [Wed, 15 Jun 2005 23:11:52 +0000 (23:11 +0000)]
add Alexis Berlemont <berlemont.hauw@free.fr>

19 years agofix depmod call on install
Frank Mori Hess [Wed, 15 Jun 2005 23:05:48 +0000 (23:05 +0000)]
fix depmod call on install

19 years agoadd pci id for PCI-6731
Frank Mori Hess [Wed, 15 Jun 2005 22:58:52 +0000 (22:58 +0000)]
add pci id for PCI-6731

19 years agoonly allocate comedi_irq_struct if we are going to use it (fixes memory
Frank Mori Hess [Tue, 14 Jun 2005 11:16:14 +0000 (11:16 +0000)]
only allocate comedi_irq_struct if we are going to use it (fixes memory
leak caused by my last changes).

19 years agoundo my silly (and failed) attempt to support shared RT interrupts
Frank Mori Hess [Tue, 14 Jun 2005 01:43:00 +0000 (01:43 +0000)]
undo my silly (and failed) attempt to support shared RT interrupts

19 years agofix return type for comedi_irq_struct.handler on 2.6 kernels
Frank Mori Hess [Tue, 14 Jun 2005 01:42:09 +0000 (01:42 +0000)]
fix return type for comedi_irq_struct.handler on 2.6 kernels

19 years agoremoved some obsolete #defines
Frank Mori Hess [Tue, 14 Jun 2005 00:49:51 +0000 (00:49 +0000)]
removed some obsolete #defines

19 years agortai fusion support from Alexis Berlemont <berlemont.hauw@free.fr>,
Frank Mori Hess [Mon, 13 Jun 2005 02:14:52 +0000 (02:14 +0000)]
rtai fusion support from Alexis Berlemont <berlemont.hauw@free.fr>,
slightly modified by me.  Patch to comedi_rt_timer has not been
applied yet.

19 years agoadded Simone Mannori
Frank Mori Hess [Mon, 13 Jun 2005 01:29:49 +0000 (01:29 +0000)]
added Simone Mannori

19 years agofix for analog output, based on patch from Simone Mannori
Frank Mori Hess [Mon, 13 Jun 2005 01:25:12 +0000 (01:25 +0000)]
fix for analog output, based on patch from Simone Mannori
<smannori@f2n.it>

19 years agoFor one channel now sampling rates up to 30MHz are possible.
Bernd Porr [Sun, 12 Jun 2005 22:09:55 +0000 (22:09 +0000)]
For one channel now sampling rates up to 30MHz are possible.
However, buffer overflows in the usb system limit the number
of consecutive samples to 256. At 5MHz 796 samples are possible
and at 3MHz continous sampling is possible.

19 years agoPatch from Ian Abbot <abbotti@mev.co.uk>:
Frank Mori Hess [Sat, 4 Jun 2005 14:32:48 +0000 (14:32 +0000)]
Patch from Ian Abbot <abbotti@mev.co.uk>:

I've done some work on getting rid of the check_region calls which are now
deprecated.

I first mentioned this back in March and did a little bit of work on it at the time:

https://cvs.comedi.org/pipermail/comedi/2005-March/006971.html
https://cvs.comedi.org/pipermail/comedi/2005-March/006977.html

My new patch seems to be too large for the comedi mailing list - they just
disappear into a black hole, so here is a description of my latest patch:

I used a static inline function called compat__request_region and (re)defined a
macro called request_region to use it.  The result is that drivers can check the
return value of request_region (or pci_request_regions) instead of calling
check_region.  Note that the compat__request_region does not return a pointer to
anything real, but it can be compared to NULL.

The attached patch implements the above compatibility stuff and changes the
drivers to use it (but I changed the amplc_pci230 driver to use
pci_request_regions instead of request_region while I was at it).  I've also
changed the compatibility version of pci_request_regions to avoid calling
check_regions (otherwise it would be called twice) and also made it release any
regions it successfully requested on failure.

Most of the changes to the individual drivers were straightforward.  One or two
required a modicum of thought to release resources on error.

19 years agourb_kill is available from 2.6.8 and not from 2.6.10. This affects
Bernd Porr [Sat, 28 May 2005 23:27:16 +0000 (23:27 +0000)]
urb_kill is available from 2.6.8 and not from 2.6.10. This affects
especially sarge which works with 2.6.8. The urb_kill command
is much safer than urb_unlink.

19 years agourb_kill is available from 2.6.8 and not from 2.6.10. This affects
Bernd Porr [Sat, 28 May 2005 23:26:22 +0000 (23:26 +0000)]
urb_kill is available from 2.6.8 and not from 2.6.10. This affects
especially sarge which works with 2.6.8. The urb_kill command
is much safer than the urb_unlink.
The async cmd is modifying the sampling interval so that the
user program can use the real sampling rate.

19 years agoadded jiffies_to_msecs() and msleep_interruptible() to compatibility
Frank Mori Hess [Sat, 28 May 2005 19:02:24 +0000 (19:02 +0000)]
added jiffies_to_msecs() and msleep_interruptible() to compatibility
headers

19 years agoadded msecs_to_jiffies() compatibility definition
Frank Mori Hess [Sat, 28 May 2005 18:54:31 +0000 (18:54 +0000)]
added msecs_to_jiffies() compatibility definition

19 years agoadd USB_CONTROL_MSG and USB_BULK_MSG compatibility functions due
Frank Mori Hess [Sat, 28 May 2005 18:32:35 +0000 (18:32 +0000)]
add USB_CONTROL_MSG and USB_BULK_MSG compatibility functions due
to change in meaning of timeout argument with kernel 2.6.12

19 years agoReduced the amount of debug messages during normal operation.
Bernd Porr [Mon, 23 May 2005 22:56:21 +0000 (22:56 +0000)]
Reduced the amount of debug messages during normal operation.

19 years agorevert to revision 1.8, as the issues with remap_page_range have already
Frank Mori Hess [Mon, 16 May 2005 22:19:11 +0000 (22:19 +0000)]
revert to revision 1.8, as the issues with remap_page_range have already
been fixed by migrating to remap_pfn_range

19 years agotry to fix problems on pc104-das16jr that occur when an
Frank Mori Hess [Sat, 14 May 2005 23:08:28 +0000 (23:08 +0000)]
try to fix problems on pc104-das16jr that occur when an
dma transfer with an odd number of bytes occurs.

19 years agobe more careful about sending pci-1760 mailbox commands
Frank Mori Hess [Sat, 14 May 2005 17:17:22 +0000 (17:17 +0000)]
be more careful about sending pci-1760 mailbox commands

19 years agofixes for 1760: base address index was wrong (from
Frank Mori Hess [Sat, 14 May 2005 00:06:37 +0000 (00:06 +0000)]
fixes for 1760: base address index was wrong (from
Bill Jennings <comedi@bigriverwireless.net>), and I cleaned up some
dead code and removed broken (and unneeded) pci1760_insn_read_di()

19 years agoadd error message when request_irq fails
Frank Mori Hess [Wed, 27 Apr 2005 00:17:00 +0000 (00:17 +0000)]
add error message when request_irq fails

19 years agoremoved debian files from cvs
Frank Mori Hess [Wed, 27 Apr 2005 00:02:01 +0000 (00:02 +0000)]
removed debian files from cvs

19 years agoWiktor Grebla wrote in the comedi mailing list:
Bernd Porr [Mon, 25 Apr 2005 08:03:18 +0000 (08:03 +0000)]
Wiktor Grebla wrote in the comedi mailing list:
Somwhere around 2.6.9 kernel remap_pfn_range() was introduced as a
portable replacement for remap_page_range,
presumably with some wrapper which has dissapeared recently (2.6.11),
what resulted in "Unknown symbol" while
loading comedi module (and the following ones because of the symbols in it).
I've changed include/linux/mm.h slightly, hopefully without breaking
anything.
Seems to work. I've tested it with 2.6.10 and 2.6.11.

19 years agoadded comedi_mark_buffer_written() to kcomedilib
Frank Mori Hess [Mon, 18 Apr 2005 01:21:09 +0000 (01:21 +0000)]
added comedi_mark_buffer_written() to kcomedilib

19 years agoChanged maxrange from 0xfff to 0x1000. The converter can reach the
Bernd Porr [Sun, 17 Apr 2005 22:30:55 +0000 (22:30 +0000)]
Changed maxrange from 0xfff to 0x1000. The converter can reach the
value 0x1000 if there's an overflow. Thanks to Frank Mori Hess who
pointed that out.

19 years agoApplied to the 0.7 branch:
Bernd Porr [Sun, 17 Apr 2005 22:27:25 +0000 (22:27 +0000)]
Applied to the 0.7 branch:
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.

19 years agocopy from HEAD
David Schleef [Fri, 8 Apr 2005 02:57:17 +0000 (02:57 +0000)]
copy from HEAD

19 years agosummary of 0.7.70 changes
Frank Mori Hess [Thu, 7 Apr 2005 23:53:14 +0000 (23:53 +0000)]
summary of 0.7.70 changes

19 years agoRemove references to linux/irq.h branch-0_7-start
David Schleef [Thu, 7 Apr 2005 20:20:40 +0000 (20:20 +0000)]
Remove references to linux/irq.h

19 years agoRe-add call to depmod if it's a normal install
David Schleef [Thu, 7 Apr 2005 20:15:19 +0000 (20:15 +0000)]
Re-add call to depmod if it's a normal install

19 years agoadded José Luis Sánchez
Frank Mori Hess [Thu, 7 Apr 2005 16:52:00 +0000 (16:52 +0000)]
added José Luis Sánchez

19 years agoRemove linux/irq.h. It should be asm/irq.h, which is included
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.

19 years agoUse -i and -f flags r0_7_70
David Schleef [Sun, 3 Apr 2005 00:00:36 +0000 (00:00 +0000)]
Use -i and -f flags

19 years agoFix drivers.txt target
David Schleef [Sat, 2 Apr 2005 23:57:18 +0000 (23:57 +0000)]
Fix drivers.txt target

19 years agoUse autoreconf. Add files
David Schleef [Sat, 2 Apr 2005 23:52:27 +0000 (23:52 +0000)]
Use autoreconf.  Add files

19 years agoChange the way files are disted. Remove all the crap from scripts/
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.

19 years agoDocumentation fixes
David Schleef [Fri, 1 Apr 2005 04:24:12 +0000 (04:24 +0000)]
Documentation fixes

19 years agoversion bump
David Schleef [Fri, 1 Apr 2005 04:23:44 +0000 (04:23 +0000)]
version bump

19 years agoMake distcheck work. Add LINUX_MODULE_STYLE to indicate module
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.

19 years agofix compile warning, and initialize both tio chips
Frank Mori Hess [Tue, 29 Mar 2005 02:49:40 +0000 (02:49 +0000)]
fix compile warning, and initialize both tio chips

19 years agopatch from Klaas Gadeyne <Klaas.Gadeyne@mech.kuleuven.ac.be>
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.

19 years agocheck for CAP_SYS_MODULE instead of CAP_SYS_ADMIN in comedi_fop_open()
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()

19 years agoadd mention of comedi_nonfree_firmware tarball
Frank Mori Hess [Sat, 19 Mar 2005 03:36:30 +0000 (03:36 +0000)]
add mention of comedi_nonfree_firmware tarball

19 years agoallow schedules() during firmware upload
Frank Mori Hess [Sat, 19 Mar 2005 03:35:15 +0000 (03:35 +0000)]
allow schedules() during firmware upload

19 years agoadd support for loading firmware into main fpga and scarabs on pci-6534
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

19 years agoadd support for uploading firmware on 64 bit arches, and added support
Frank Mori Hess [Thu, 17 Mar 2005 17:25:42 +0000 (17:25 +0000)]
add support for uploading firmware on 64 bit arches, and added support
for loading up to 4 different firmware files (will be needed by
ni pci-6534).

19 years agoadd SDF_DITHER flag to analog input subdevice
Frank Mori Hess [Thu, 17 Mar 2005 14:53:02 +0000 (14:53 +0000)]
add SDF_DITHER flag to analog input subdevice

19 years agofix version check for remap_pfn_range() compatibility
Frank Mori Hess [Wed, 16 Mar 2005 15:56:02 +0000 (15:56 +0000)]
fix version check for remap_pfn_range() compatibility

19 years agoreplace remap_page_range with remap_pfn_range
Frank Mori Hess [Tue, 15 Mar 2005 01:00:33 +0000 (01:00 +0000)]
replace remap_page_range with remap_pfn_range

19 years agomove check of s->busy after aquisition of big_comedi_lock in
Frank Mori Hess [Sun, 13 Mar 2005 15:17:52 +0000 (15:17 +0000)]
move check of s->busy after aquisition of big_comedi_lock in
do_lock_ioctl.  Make locking return a less confusing error code
on failure.  Make locking fail if process already has lock (alternative
would be to make locking recursive, but I don't see a reason to bother).

19 years agopatch from Ian Abbott <abbotti@mev.co.uk>:
Frank Mori Hess [Sat, 12 Mar 2005 13:31:39 +0000 (13:31 +0000)]
patch from Ian Abbott <abbotti@mev.co.uk>:

Here's a change to my new amplc_pci224 driver to use pci_request_regions
instead of check_region/request_region, as suggested by Frank.

19 years agonew driver from abbotti@mev.co.uk (Ian Abbott):
Frank Mori Hess [Tue, 8 Mar 2005 02:35:34 +0000 (02:35 +0000)]
new driver from abbotti@mev.co.uk (Ian Abbott):

Here's a new driver for the Amplicon PCI224 and PCI234 analog output cards,
supporting streaming AO.  It seems to be working well except that the first scan
can misfire at the start of acquisition, and I can't find a way to work around
this hardware problem.  It shouldn't matter too much for waveform output.  I've
mentioned it in the caveats section of the driver documentation.

19 years agofix compile error
Frank Mori Hess [Mon, 7 Mar 2005 00:59:47 +0000 (00:59 +0000)]
fix compile error

19 years agouse 8255 driver for 8255 subdevice
Frank Mori Hess [Mon, 7 Mar 2005 00:11:27 +0000 (00:11 +0000)]
use 8255 driver for 8255 subdevice

19 years agofixed "cast as lvalue" compiler warning
Frank Mori Hess [Sun, 6 Mar 2005 17:34:39 +0000 (17:34 +0000)]
fixed "cast as lvalue" compiler warning

19 years agoadd support for new INSN_CONFIG_DIO_QUERY
Frank Mori Hess [Sun, 6 Mar 2005 17:31:08 +0000 (17:31 +0000)]
add support for new INSN_CONFIG_DIO_QUERY

19 years agomove some checks for length of data[] in configuration insn to core
Frank Mori Hess [Sun, 6 Mar 2005 17:30:40 +0000 (17:30 +0000)]
move some checks for length of data[] in configuration insn to core