comedi.git
21 years agoreplace deprecated MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT with
Frank Mori Hess [Mon, 4 Aug 2003 18:32:31 +0000 (18:32 +0000)]
replace deprecated MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT with
try_module_get()/module_put()

21 years agofixes for 2.6 module_get/module_put
Frank Mori Hess [Mon, 4 Aug 2003 18:30:32 +0000 (18:30 +0000)]
fixes for 2.6 module_get/module_put

21 years agopte_offset is now pte_offset_kernel in 2.6
Frank Mori Hess [Mon, 4 Aug 2003 03:28:55 +0000 (03:28 +0000)]
pte_offset is now pte_offset_kernel in 2.6

21 years agonew interrupt handler prototype for 2.6, plus some other 2.6 issues
Frank Mori Hess [Mon, 4 Aug 2003 03:27:18 +0000 (03:27 +0000)]
new interrupt handler prototype for 2.6, plus some other 2.6 issues

21 years agomore 2.6 compatibility
Frank Mori Hess [Mon, 4 Aug 2003 01:06:40 +0000 (01:06 +0000)]
more 2.6 compatibility

21 years agokdev_t and suser fixes for 2.6
Frank Mori Hess [Sun, 3 Aug 2003 22:23:15 +0000 (22:23 +0000)]
kdev_t and suser fixes for 2.6

21 years agonew compat header for 2.6 changes
Frank Mori Hess [Sun, 3 Aug 2003 22:16:27 +0000 (22:16 +0000)]
new compat header for 2.6 changes

21 years agodon't require id bits to match anymore, since it has proven to be
Frank Mori Hess [Sat, 19 Jul 2003 21:51:51 +0000 (21:51 +0000)]
don't require id bits to match anymore, since it has proven to be
more trouble than it's worth

21 years agoupdate web page url
Frank Mori Hess [Wed, 16 Jul 2003 16:48:06 +0000 (16:48 +0000)]
update web page url

21 years agofix caldac types for 6052
Frank Mori Hess [Thu, 10 Jul 2003 22:08:38 +0000 (22:08 +0000)]
fix caldac types for 6052

21 years agoadded a note about isapnp support
Frank Mori Hess [Wed, 9 Jul 2003 00:03:28 +0000 (00:03 +0000)]
added a note about isapnp support

21 years agoremoved references to hard-coded comedi_config path
Frank Mori Hess [Tue, 8 Jul 2003 23:47:24 +0000 (23:47 +0000)]
removed references to hard-coded comedi_config path

21 years agosplit PCMCIA support out of das08.o driver
Frank Mori Hess [Fri, 4 Jul 2003 20:00:26 +0000 (20:00 +0000)]
split PCMCIA support out of das08.o driver

21 years agoreduce number of symbols exported from ni_labpc.o for ni_labpc_cs.o
Frank Mori Hess [Fri, 4 Jul 2003 18:50:04 +0000 (18:50 +0000)]
reduce number of symbols exported from ni_labpc.o for ni_labpc_cs.o

21 years agosplit off pcmcia daqcard-1200 support from ni_labpc driver
Frank Mori Hess [Thu, 3 Jul 2003 20:42:18 +0000 (20:42 +0000)]
split off pcmcia daqcard-1200 support from ni_labpc driver

21 years agoSimple patch to get Comedi to compile with the experimential version of RTAI.
David Schleef [Wed, 2 Jul 2003 22:58:01 +0000 (22:58 +0000)]
Simple patch to get Comedi to compile with the experimential version of RTAI.

21 years agofix setting of CONIFG_COMEDI_MITE
Frank Mori Hess [Tue, 1 Jul 2003 15:43:09 +0000 (15:43 +0000)]
fix setting of CONIFG_COMEDI_MITE

21 years agofix caldac type for pci-6036e and pci-6034e. fixed some indentation.
Frank Mori Hess [Fri, 27 Jun 2003 14:24:51 +0000 (14:24 +0000)]
fix caldac type for pci-6036e and pci-6034e.  fixed some indentation.

21 years agoadded EXPORT_SYMBOL_GPL() compat macro
Frank Mori Hess [Wed, 18 Jun 2003 18:07:00 +0000 (18:07 +0000)]
added EXPORT_SYMBOL_GPL() compat macro

21 years agoAdd a bunch of people r0_7_67x
David Schleef [Wed, 18 Jun 2003 01:39:30 +0000 (01:39 +0000)]
Add a bunch of people

21 years agoupdate for new drivers
David Schleef [Wed, 18 Jun 2003 01:27:41 +0000 (01:27 +0000)]
update for new drivers

21 years agoalloc_subdevices() changed.
David Schleef [Wed, 18 Jun 2003 01:25:54 +0000 (01:25 +0000)]
alloc_subdevices() changed.

21 years agofix driver name in doc block
David Schleef [Wed, 18 Jun 2003 01:25:24 +0000 (01:25 +0000)]
fix driver name in doc block

21 years agoAdd subdev_8255_cleanup()
David Schleef [Wed, 18 Jun 2003 01:25:02 +0000 (01:25 +0000)]
Add subdev_8255_cleanup()

21 years agoAdd ni_660x
David Schleef [Wed, 18 Jun 2003 01:24:25 +0000 (01:24 +0000)]
Add ni_660x

21 years agoAdd NI_660X
David Schleef [Wed, 18 Jun 2003 01:24:00 +0000 (01:24 +0000)]
Add NI_660X

21 years agoFound this wandering around. Figured it should go in CVS.
David Schleef [Wed, 18 Jun 2003 01:22:09 +0000 (01:22 +0000)]
Found this wandering around.  Figured it should go in CVS.

21 years agofix for new 2.5 remap_page_range() prototype
Frank Mori Hess [Thu, 12 Jun 2003 16:10:54 +0000 (16:10 +0000)]
fix for new 2.5 remap_page_range() prototype

21 years agotrying to fix some pci-das1602/16 calibration weirdness
Frank Mori Hess [Mon, 9 Jun 2003 23:46:08 +0000 (23:46 +0000)]
trying to fix some pci-das1602/16 calibration weirdness

21 years agoni_6527 requires the mite driver
David Schleef [Fri, 6 Jun 2003 18:58:04 +0000 (18:58 +0000)]
ni_6527 requires the mite driver

21 years agoFix minor typos.
David Schleef [Fri, 6 Jun 2003 18:57:43 +0000 (18:57 +0000)]
Fix minor typos.

21 years agomake single-scan code work for 611x too
Frank Mori Hess [Thu, 5 Jun 2003 19:52:56 +0000 (19:52 +0000)]
make single-scan code work for 611x too

21 years agotrying to fix dac08 calibration dac, which doesn't seem to be updating
Frank Mori Hess [Thu, 5 Jun 2003 19:52:05 +0000 (19:52 +0000)]
trying to fix dac08 calibration dac, which doesn't seem to be updating

21 years agojump through hoops for special case of stop_arg=1 on ai command
Frank Mori Hess [Wed, 4 Jun 2003 02:24:45 +0000 (02:24 +0000)]
jump through hoops for special case of stop_arg=1 on ai command

21 years agotry and make sure we get the scan across dma during end-of-scan interrupts
Frank Mori Hess [Tue, 3 Jun 2003 21:12:39 +0000 (21:12 +0000)]
try and make sure we get the scan across dma during end-of-scan interrupts

21 years agofix race in setting COMEDI_CB_EOS event with dma
Frank Mori Hess [Fri, 30 May 2003 00:37:16 +0000 (00:37 +0000)]
fix race in setting COMEDI_CB_EOS event with dma

21 years agoadded an error check that catches common case of 'make config' failing to
Frank Mori Hess [Fri, 30 May 2003 00:23:48 +0000 (00:23 +0000)]
added an error check that catches common case of 'make config' failing to
get compile flags from kernel source.

21 years agomade minimum stop_arg for stop_src = TRIG_COUNT equal to 2, since that
Frank Mori Hess [Thu, 29 May 2003 22:34:43 +0000 (22:34 +0000)]
made minimum stop_arg for stop_src = TRIG_COUNT equal to 2, since that
is the smallest supported by the scan counter.  Also, fixes for
COMEDI_CB_EOS with pcidma.

21 years agoNew driver from Michal Dobes
David Schleef [Tue, 27 May 2003 17:28:23 +0000 (17:28 +0000)]
New driver from Michal Dobes

21 years agoAdd adv_pci_dio driver from Michal Dobes
David Schleef [Tue, 27 May 2003 17:27:43 +0000 (17:27 +0000)]
Add adv_pci_dio driver from Michal Dobes

21 years agomajkl@tesnet.cz -> dobes@tesnet.cz
David Schleef [Tue, 27 May 2003 17:22:21 +0000 (17:22 +0000)]
majkl@tesnet.cz -> dobes@tesnet.cz

21 years agoupdate documentation
David Schleef [Tue, 27 May 2003 17:19:13 +0000 (17:19 +0000)]
update documentation

21 years agoexternal trigger fixes
Frank Mori Hess [Mon, 26 May 2003 03:50:40 +0000 (03:50 +0000)]
external trigger fixes

21 years agogot rid of BUG message on buffer overrun, since it isn't really a bug
Frank Mori Hess [Mon, 26 May 2003 02:30:38 +0000 (02:30 +0000)]
got rid of BUG message on buffer overrun, since it isn't really a bug
in the driver

21 years agothink i finnally found the problem with 611x initialization
Frank Mori Hess [Sat, 24 May 2003 15:02:30 +0000 (15:02 +0000)]
think i finnally found the problem with 611x initialization

21 years agostill trying to fix 6110 initialization problem, plus a tiny bit of
Frank Mori Hess [Fri, 23 May 2003 23:04:55 +0000 (23:04 +0000)]
still trying to fix 6110 initialization problem, plus a tiny bit of
random cleanup

21 years agofix new ai range code
Frank Mori Hess [Fri, 23 May 2003 19:15:19 +0000 (19:15 +0000)]
fix new ai range code

21 years agoadded new boards
Frank Mori Hess [Fri, 23 May 2003 19:11:27 +0000 (19:11 +0000)]
added new boards

21 years agostill trying to fix erratic scan pacing on 611x, plus some minor
Frank Mori Hess [Fri, 23 May 2003 15:47:28 +0000 (15:47 +0000)]
still trying to fix erratic scan pacing on 611x, plus some minor
cleanup

21 years agoreally fixed munging for pio boards
Frank Mori Hess [Tue, 20 May 2003 17:18:01 +0000 (17:18 +0000)]
really fixed munging for pio boards

21 years agofix segfault noted by calin calianu
Frank Mori Hess [Mon, 19 May 2003 20:26:11 +0000 (20:26 +0000)]
fix segfault noted by calin calianu

21 years agodisarm counters in ni_ai_reset(), to try and fix initialization problems
Frank Mori Hess [Fri, 16 May 2003 00:39:26 +0000 (00:39 +0000)]
disarm counters in ni_ai_reset(), to try and fix initialization problems
with 611x.  Apparantly, counters won't load unless they are disarmed
so this should make sure they are disarmed.

21 years agofix munging for pio analog input
Frank Mori Hess [Thu, 15 May 2003 22:07:23 +0000 (22:07 +0000)]
fix munging for pio analog input

21 years agoPatch to add AO subdevice from "Calin A. Culianu" <calin@ajvar.org>
David Schleef [Thu, 15 May 2003 17:55:01 +0000 (17:55 +0000)]
Patch to add AO subdevice from "Calin A. Culianu" <calin@ajvar.org>

21 years agoPatch from "Calin A. Culianu" <calin@ajvar.org>
David Schleef [Wed, 14 May 2003 18:00:13 +0000 (18:00 +0000)]
Patch from "Calin A. Culianu" <calin@ajvar.org>

21 years agoinitialize caldacs (so software readback is synced with actual setting)
Frank Mori Hess [Mon, 12 May 2003 18:04:29 +0000 (18:04 +0000)]
initialize caldacs (so software readback is synced with actual setting)
and avoid doing caldac write when it is unnecessary.

21 years agochange address parameter to unsigned long for inb/outb/readb/writeb
Frank Mori Hess [Mon, 12 May 2003 18:03:09 +0000 (18:03 +0000)]
change address parameter to unsigned long for inb/outb/readb/writeb
wrappers

21 years agofix length of caldacs array to prevent its overflow when caldac channels
Frank Mori Hess [Mon, 12 May 2003 18:00:53 +0000 (18:00 +0000)]
fix length of caldacs array to prevent its overflow when caldac channels
>= 12 are used

21 years agoadded a little comedi_calibrate advertising
Frank Mori Hess [Fri, 9 May 2003 14:22:55 +0000 (14:22 +0000)]
added a little comedi_calibrate advertising

21 years agomoved calibration code to comedi_calibrate
Frank Mori Hess [Fri, 9 May 2003 00:02:10 +0000 (00:02 +0000)]
moved calibration code to comedi_calibrate

21 years agoPCI code for PCI-6704
David Schleef [Mon, 5 May 2003 19:09:39 +0000 (19:09 +0000)]
PCI code for PCI-6704

21 years agochange 6071 caldac type to ad8804_debug to fix broken cal
Frank Mori Hess [Sat, 3 May 2003 14:56:06 +0000 (14:56 +0000)]
change 6071 caldac type to ad8804_debug to fix broken cal

21 years agoupdated driver description about isapnp support
Frank Mori Hess [Fri, 2 May 2003 01:01:16 +0000 (01:01 +0000)]
updated driver description about isapnp support

21 years agore-fix suse brokeness
Frank Mori Hess [Mon, 28 Apr 2003 17:26:42 +0000 (17:26 +0000)]
re-fix suse brokeness

21 years agodaqcard 6062e definitely has an ad8804 caldac
Frank Mori Hess [Mon, 28 Apr 2003 16:04:43 +0000 (16:04 +0000)]
daqcard 6062e definitely has an ad8804 caldac

21 years agooops that was supposed to be ad8804, not dac8804. Made it ad8804_debug
Frank Mori Hess [Sun, 27 Apr 2003 17:24:50 +0000 (17:24 +0000)]
oops that was supposed to be ad8804, not dac8804.  Made it ad8804_debug
even, for better testing.

21 years agotrying dac8804 caldac type for daqcard-6062
Frank Mori Hess [Sun, 27 Apr 2003 17:01:51 +0000 (17:01 +0000)]
trying dac8804 caldac type for daqcard-6062

21 years agoremove nonexistant ao range for 60xx boards
Frank Mori Hess [Sat, 19 Apr 2003 04:54:13 +0000 (04:54 +0000)]
remove nonexistant ao range for 60xx boards

21 years agoadded include of comedidev.h for comedi_udelay()
Frank Mori Hess [Fri, 11 Apr 2003 17:09:22 +0000 (17:09 +0000)]
added include of comedidev.h for comedi_udelay()

21 years agoremoved some comments, at ivan's request
Frank Mori Hess [Wed, 2 Apr 2003 17:12:40 +0000 (17:12 +0000)]
removed some comments, at ivan's request

21 years agofix compile
Frank Mori Hess [Mon, 31 Mar 2003 16:27:24 +0000 (16:27 +0000)]
fix compile

21 years agoreplaced udelay with comedi_udelay
Frank Mori Hess [Thu, 27 Mar 2003 21:08:29 +0000 (21:08 +0000)]
replaced udelay with comedi_udelay

21 years agoreplaced all udelay() calls with comedi_udelay() wrapper for RT safety
Frank Mori Hess [Thu, 27 Mar 2003 21:00:41 +0000 (21:00 +0000)]
replaced all udelay() calls with comedi_udelay() wrapper for RT safety

21 years agoadded pci_find_subsys() compatibility stub. changed extern inline functions
Frank Mori Hess [Thu, 27 Mar 2003 20:46:02 +0000 (20:46 +0000)]
added pci_find_subsys() compatibility stub.  changed extern inline functions
to static inline

21 years agoadded comedi_get_buffer_offset() to kcomedilib
Frank Mori Hess [Thu, 27 Mar 2003 17:02:43 +0000 (17:02 +0000)]
added comedi_get_buffer_offset() to kcomedilib

21 years agoadded comedi_mark_buffer_read() and comedi_get_buffer_contents() to kcomedilib
Frank Mori Hess [Thu, 27 Mar 2003 16:54:26 +0000 (16:54 +0000)]
added comedi_mark_buffer_read() and comedi_get_buffer_contents() to kcomedilib

21 years agomore isapnp id tweaks, and removed redundant num_ni_boards constant
Frank Mori Hess [Fri, 14 Mar 2003 17:01:41 +0000 (17:01 +0000)]
more isapnp id tweaks, and removed redundant num_ni_boards constant

21 years agoadded isapnp id number for at-mio-16e-10
Frank Mori Hess [Fri, 14 Mar 2003 16:53:27 +0000 (16:53 +0000)]
added isapnp id number for at-mio-16e-10

21 years agoadded locking for software copies of registers
Frank Mori Hess [Thu, 13 Mar 2003 21:39:47 +0000 (21:39 +0000)]
added locking for software copies of registers

21 years agoget rid of printk on AO terminal count interrupt
Frank Mori Hess [Thu, 13 Mar 2003 20:36:21 +0000 (20:36 +0000)]
get rid of printk on AO terminal count interrupt

21 years agoAO stop_src=TRIG_COUNT support from Rolf Mueller, and some fixes for
Frank Mori Hess [Thu, 13 Mar 2003 19:42:13 +0000 (19:42 +0000)]
AO stop_src=TRIG_COUNT support from Rolf Mueller, and some fixes for
uniform use of ni_set_bits from me

21 years agoadded isapnp id of AT-MIO-16XE-50 to driver
Frank Mori Hess [Thu, 13 Mar 2003 18:34:12 +0000 (18:34 +0000)]
added isapnp id of AT-MIO-16XE-50 to driver

21 years agoadded comedi_data_read_hint() and comedi_data_read_delayed()
Frank Mori Hess [Wed, 12 Mar 2003 23:08:54 +0000 (23:08 +0000)]
added comedi_data_read_hint() and comedi_data_read_delayed()

21 years agoadded comedi_data_read_hint() and comedi_data_read_delayed to kcomedilib
Frank Mori Hess [Wed, 12 Mar 2003 22:04:21 +0000 (22:04 +0000)]
added comedi_data_read_hint() and comedi_data_read_delayed to kcomedilib

21 years agoripped out some settling delays
Frank Mori Hess [Wed, 12 Mar 2003 15:58:26 +0000 (15:58 +0000)]
ripped out some settling delays

21 years agomake underrun detection play nice with stop_src TRIG_COUNT
Frank Mori Hess [Tue, 11 Mar 2003 22:23:59 +0000 (22:23 +0000)]
make underrun detection play nice with stop_src TRIG_COUNT

21 years agohandle ai error events before exiting handler
Frank Mori Hess [Tue, 11 Mar 2003 19:55:04 +0000 (19:55 +0000)]
handle ai error events before exiting handler

21 years agopatch from Ivan, with settling delay ripped out (updates email address)
Frank Mori Hess [Tue, 11 Mar 2003 17:57:49 +0000 (17:57 +0000)]
patch from Ivan, with settling delay ripped out (updates email address)

21 years agoisapnp.h compat header didn't work out as nicely as I hoped
Frank Mori Hess [Mon, 10 Mar 2003 22:23:30 +0000 (22:23 +0000)]
isapnp.h compat header didn't work out as nicely as I hoped

21 years agoadded isapnp compat header
Frank Mori Hess [Mon, 10 Mar 2003 21:38:39 +0000 (21:38 +0000)]
added isapnp compat header

21 years agoisapnp fixes (mostly just changing pcidev->irq to pcidev->irq_resource[0].start
Frank Mori Hess [Mon, 10 Mar 2003 21:04:30 +0000 (21:04 +0000)]
isapnp fixes (mostly just changing pcidev->irq to pcidev->irq_resource[0].start

21 years agoinitialize caldacs to middle-of-range during attach, don't bother
Frank Mori Hess [Sun, 2 Mar 2003 03:10:41 +0000 (03:10 +0000)]
initialize caldacs to middle-of-range during attach, don't bother
reprogramming them if they are already set as desired

21 years agoinit almost empty/full registers with larger values, since dma seems to
Frank Mori Hess [Sun, 2 Mar 2003 01:21:42 +0000 (01:21 +0000)]
init almost empty/full registers with larger values, since dma seems to
be underrunning the fifo occasionally

21 years agodon't enable BTERM#
Frank Mori Hess [Sun, 2 Mar 2003 01:04:40 +0000 (01:04 +0000)]
don't enable BTERM#

21 years agotry to fix some useless warning messages with das16/330
Frank Mori Hess [Fri, 28 Feb 2003 17:17:03 +0000 (17:17 +0000)]
try to fix some useless warning messages with das16/330

21 years agoexplicitly disable interrupts and pacing in ai read insn
Frank Mori Hess [Thu, 27 Feb 2003 17:30:50 +0000 (17:30 +0000)]
explicitly disable interrupts and pacing in ai read insn

21 years agomade das16_cancel() disable external pacing too
Frank Mori Hess [Thu, 27 Feb 2003 17:19:18 +0000 (17:19 +0000)]
made das16_cancel() disable external pacing too

21 years agofix crash
Frank Mori Hess [Mon, 24 Feb 2003 19:16:22 +0000 (19:16 +0000)]
fix crash

21 years agoremoved redundant setting of async->buf_read_count since it is handled by
Frank Mori Hess [Sat, 22 Feb 2003 03:00:26 +0000 (03:00 +0000)]
removed redundant setting of async->buf_read_count since it is handled by
comedi_read_free() call I added

21 years agoexported symbol for comedi_get_buffer_size()
Frank Mori Hess [Fri, 21 Feb 2003 02:19:53 +0000 (02:19 +0000)]
exported symbol for comedi_get_buffer_size()