comedi.git
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

21 years agoconvert to new-style munging, fix for big-endian machines, simplified
Frank Mori Hess [Fri, 19 Sep 2003 21:26:38 +0000 (21:26 +0000)]
convert to new-style munging, fix for big-endian machines, simplified
slightly.

21 years agocorrect ai fifo depth for daqcard 6062e
Frank Mori Hess [Fri, 19 Sep 2003 18:53:06 +0000 (18:53 +0000)]
correct ai fifo depth for daqcard 6062e

21 years agofix compilation error
Frank Mori Hess [Fri, 19 Sep 2003 18:32:47 +0000 (18:32 +0000)]
fix compilation error

21 years agoConverted to new-style munging. Got rid of bogus scan_begin_src=TRIG_TIMER
Frank Mori Hess [Fri, 19 Sep 2003 15:46:15 +0000 (15:46 +0000)]
Converted to new-style munging.  Got rid of bogus scan_begin_src=TRIG_TIMER
support.  Some space->tab whitespace fixes.

21 years agodiscourage inappropriate use
Frank Mori Hess [Fri, 19 Sep 2003 15:12:22 +0000 (15:12 +0000)]
discourage inappropriate use

21 years agoignore some files
David Schleef [Thu, 18 Sep 2003 21:27:18 +0000 (21:27 +0000)]
ignore some files

21 years agoAdd me4000 driver
David Schleef [Thu, 18 Sep 2003 21:14:56 +0000 (21:14 +0000)]
Add me4000 driver

21 years agoFixes for changes since 0.7.67.
David Schleef [Thu, 18 Sep 2003 20:56:13 +0000 (20:56 +0000)]
Fixes for changes since 0.7.67.

21 years agoremove install-data-hook target
David Schleef [Thu, 18 Sep 2003 20:55:15 +0000 (20:55 +0000)]
remove install-data-hook target

21 years agoDist modtool.in. change check target to "moo" (temporary).
David Schleef [Thu, 18 Sep 2003 20:54:33 +0000 (20:54 +0000)]
Dist modtool.in.  change check target to "moo" (temporary).

21 years agodefault prefix should be /. modtool is in ${builddir}.
David Schleef [Thu, 18 Sep 2003 20:53:42 +0000 (20:53 +0000)]
default prefix should be /.  modtool is in ${builddir}.

21 years agonew driver
David Schleef [Thu, 18 Sep 2003 19:10:37 +0000 (19:10 +0000)]
new driver

21 years agobig endian fixes
Frank Mori Hess [Wed, 17 Sep 2003 00:18:40 +0000 (00:18 +0000)]
big endian fixes

21 years agoget rid of redundant ai munging
Frank Mori Hess [Wed, 17 Sep 2003 00:07:17 +0000 (00:07 +0000)]
get rid of redundant ai munging

21 years agofixes for big endian machines
Frank Mori Hess [Tue, 16 Sep 2003 18:36:38 +0000 (18:36 +0000)]
fixes for big endian machines

21 years agodo das16.c munging in core
Frank Mori Hess [Tue, 16 Sep 2003 15:19:59 +0000 (15:19 +0000)]
do das16.c munging in core

21 years agoadded munging to kcomedilib
Frank Mori Hess [Tue, 16 Sep 2003 00:30:13 +0000 (00:30 +0000)]
added munging to kcomedilib

21 years agoFully support munging in core. Still need to check munging for
Frank Mori Hess [Mon, 15 Sep 2003 21:33:53 +0000 (21:33 +0000)]
Fully support munging in core.  Still need to check munging for
kcomedilib though.

21 years agoremoving old files replaced by autoconf stuff
Frank Mori Hess [Mon, 15 Sep 2003 21:21:53 +0000 (21:21 +0000)]
removing old files replaced by autoconf stuff

21 years agoapply dma init fix that worked so well with cb_pcidas64.c
Frank Mori Hess [Fri, 12 Sep 2003 18:56:57 +0000 (18:56 +0000)]
apply dma init fix that worked so well with cb_pcidas64.c

21 years agoreally fixed channel queue problems. The adc enable bit does not need
Frank Mori Hess [Fri, 12 Sep 2003 18:33:16 +0000 (18:33 +0000)]
really fixed channel queue problems.  The adc enable bit does not need
to be set during setup after all.  Fixed random problems with first
dma block by adding a little more dma initialization during command
setup.  Fixed two bogus samples on first command using external
queue by moving queue setup to a later point in ai cmd.  Moved around
some code in attach() so more stuff gets done before interrupt
handler is registered (due to one crash I saw while modprobing
while sound card on same interrupt was playing).

21 years agoclear/set adc enable bit during ai cmd setup, so that start triggers
Frank Mori Hess [Fri, 12 Sep 2003 00:34:07 +0000 (00:34 +0000)]
clear/set adc enable bit during ai cmd setup, so that start triggers
work

21 years agofixed ai channel queue setup
Frank Mori Hess [Thu, 11 Sep 2003 21:27:41 +0000 (21:27 +0000)]
fixed ai channel queue setup

21 years agoAdd 8255 config option
David Schleef [Thu, 11 Sep 2003 18:03:38 +0000 (18:03 +0000)]
Add 8255 config option

21 years agocheck that dma allocations succeed, and some minor cleanups
Frank Mori Hess [Mon, 8 Sep 2003 22:48:40 +0000 (22:48 +0000)]
check that dma allocations succeed, and some minor cleanups

21 years agochange base address variables to long, for 64 bit machines.
Frank Mori Hess [Mon, 8 Sep 2003 22:16:54 +0000 (22:16 +0000)]
change base address variables to long, for 64 bit machines.

21 years agofix dma abort lockups
Frank Mori Hess [Mon, 8 Sep 2003 18:16:00 +0000 (18:16 +0000)]
fix dma abort lockups

21 years agofix increment of munge_chan
Frank Mori Hess [Sun, 7 Sep 2003 03:44:30 +0000 (03:44 +0000)]
fix increment of munge_chan

21 years agomake sure dma is disabled during command setup
Frank Mori Hess [Sat, 6 Sep 2003 19:58:52 +0000 (19:58 +0000)]
make sure dma is disabled during command setup

21 years agofixed maximum speeds for different board types (added dt2821-f and g).
Frank Mori Hess [Sat, 6 Sep 2003 17:43:01 +0000 (17:43 +0000)]
fixed maximum speeds for different board types (added dt2821-f and g).
Changed some variables to volatile, renamed confusingly named dma_chan
variables to dma_index

21 years agomove init of async->events into init_async_buf()
Frank Mori Hess [Sat, 6 Sep 2003 16:33:54 +0000 (16:33 +0000)]
move init of async->events into init_async_buf()

21 years agoinit async->events to zero
Frank Mori Hess [Sat, 6 Sep 2003 16:31:19 +0000 (16:31 +0000)]
init async->events to zero

21 years agore-enabled ad done interrupts in ai cmd, and added check against
Frank Mori Hess [Fri, 5 Sep 2003 22:23:46 +0000 (22:23 +0000)]
re-enabled ad done interrupts in ai cmd, and added check against
maximum board speed to ai_cmdtest

21 years agoignore ai errors that occur after we have all the data we wanted
Frank Mori Hess [Fri, 5 Sep 2003 17:14:52 +0000 (17:14 +0000)]
ignore ai errors that occur after we have all the data we wanted

21 years agotrying to fix crashes at during high frequency ai
Frank Mori Hess [Fri, 5 Sep 2003 16:46:27 +0000 (16:46 +0000)]
trying to fix crashes at during high frequency ai

21 years agodon't re-enable ai dma after it's finished
Frank Mori Hess [Thu, 4 Sep 2003 20:19:30 +0000 (20:19 +0000)]
don't re-enable ai dma after it's finished

21 years agoadd clear_dma_ff() calls
Frank Mori Hess [Wed, 3 Sep 2003 20:08:16 +0000 (20:08 +0000)]
add clear_dma_ff() calls

21 years agodefine COMEDI_VERSION()
Frank Mori Hess [Wed, 3 Sep 2003 19:46:20 +0000 (19:46 +0000)]
define COMEDI_VERSION()

21 years agoits IRQ_FORCED_PULSE, not IRQ_FORCE_PULSED
Frank Mori Hess [Wed, 3 Sep 2003 19:36:26 +0000 (19:36 +0000)]
its IRQ_FORCED_PULSE, not IRQ_FORCE_PULSED

21 years agoupdate install instructions for autoconf
Frank Mori Hess [Wed, 3 Sep 2003 19:28:15 +0000 (19:28 +0000)]
update install instructions for autoconf

21 years agofix problems with buffer wrap-around by using generic comedi_fc code
Frank Mori Hess [Wed, 3 Sep 2003 19:15:44 +0000 (19:15 +0000)]
fix problems with buffer wrap-around by using generic comedi_fc code

21 years agodaqcard-1200 uses pulsed interrupts
Frank Mori Hess [Wed, 3 Sep 2003 17:21:12 +0000 (17:21 +0000)]
daqcard-1200 uses pulsed interrupts

21 years agoFix to make the version code work correctly.
David Schleef [Tue, 2 Sep 2003 01:12:15 +0000 (01:12 +0000)]
Fix to make the version code work correctly.

21 years agochange ${MAKE} to ${MAKE-make} to set a reasonable default
David Schleef [Tue, 2 Sep 2003 00:55:13 +0000 (00:55 +0000)]
change ${MAKE} to ${MAKE-make} to set a reasonable default

21 years agoon second thought, EPERM isn't any more accurate than ENODEV.
Frank Mori Hess [Mon, 1 Sep 2003 04:02:14 +0000 (04:02 +0000)]
on second thought, EPERM isn't any more accurate than ENODEV.

21 years agoprint some debug messages on ENODEV errors in open, and changed one
Frank Mori Hess [Mon, 1 Sep 2003 02:26:55 +0000 (02:26 +0000)]
print some debug messages on ENODEV errors in open, and changed one
to an EPERM

21 years agoadd missing comedi_event() call after overflow
Frank Mori Hess [Mon, 1 Sep 2003 00:20:33 +0000 (00:20 +0000)]
add missing comedi_event() call after overflow

21 years agochange make -C to ${MAKE} -C
David Schleef [Mon, 25 Aug 2003 20:04:47 +0000 (20:04 +0000)]
change make -C to ${MAKE} -C

21 years agoFor some reason, install wants to set the mode to 755 on installed .o
David Schleef [Thu, 21 Aug 2003 23:14:52 +0000 (23:14 +0000)]
For some reason, install wants to set the mode to 755 on installed .o
files.  Override it to 644.

21 years agofix delays
Frank Mori Hess [Wed, 20 Aug 2003 22:35:34 +0000 (22:35 +0000)]
fix delays

21 years agoforce debugging
David Schleef [Sun, 17 Aug 2003 03:37:57 +0000 (03:37 +0000)]
force debugging

21 years agoenable PCMCIA checking
David Schleef [Sun, 17 Aug 2003 03:33:00 +0000 (03:33 +0000)]
enable PCMCIA checking

21 years agofix compiler warning about redefinition of EXPORT_SYMTAB with old
Frank Mori Hess [Mon, 11 Aug 2003 23:51:45 +0000 (23:51 +0000)]
fix compiler warning about redefinition of EXPORT_SYMTAB with old
Makefiles

21 years agoupdate from Brent (with 1.13->1.15 merged in)
David Schleef [Mon, 11 Aug 2003 22:25:24 +0000 (22:25 +0000)]
update from Brent (with 1.13->1.15 merged in)

21 years agoFixes for 'make dist' to work properly
David Schleef [Mon, 11 Aug 2003 20:19:38 +0000 (20:19 +0000)]
Fixes for 'make dist' to work properly

21 years agodriver(s) from ADDI-DATA
David Schleef [Mon, 11 Aug 2003 18:32:00 +0000 (18:32 +0000)]
driver(s) from ADDI-DATA

21 years agochanged indentation to tabs
Frank Mori Hess [Fri, 8 Aug 2003 22:01:48 +0000 (22:01 +0000)]
changed indentation to tabs

21 years agoadd config and depend checks for linux directory
Frank Mori Hess [Fri, 8 Aug 2003 21:56:41 +0000 (21:56 +0000)]
add config and depend checks for linux directory

21 years agoadded check for include/linux/version.h
Frank Mori Hess [Fri, 8 Aug 2003 21:42:16 +0000 (21:42 +0000)]
added check for include/linux/version.h

21 years agoAdd the dev, drivers.txt, and check targets from old Makefile
David Schleef [Fri, 8 Aug 2003 20:01:02 +0000 (20:01 +0000)]
Add the dev, drivers.txt, and check targets from old Makefile

21 years agoadd install-data-hook for depmod
Frank Mori Hess [Fri, 8 Aug 2003 18:35:07 +0000 (18:35 +0000)]
add install-data-hook for depmod

21 years agono reason to mangle together LD and LDFLAGS just to be like earlier
Frank Mori Hess [Fri, 8 Aug 2003 18:21:53 +0000 (18:21 +0000)]
no reason to mangle together LD and LDFLAGS just to be like earlier
kernels now.

21 years agoextra m4 quotes [] to make regular expression work
Frank Mori Hess [Fri, 8 Aug 2003 18:18:08 +0000 (18:18 +0000)]
extra m4 quotes [] to make regular expression work

21 years agosome cleanup for external master clock support on 4020, and allow
Frank Mori Hess [Fri, 8 Aug 2003 17:41:47 +0000 (17:41 +0000)]
some cleanup for external master clock support on 4020, and allow
TRIG_TIMER as convert_src on 4020 (with convert_arg=0).

21 years agoAdd detection for kernel major/minor version
David Schleef [Thu, 7 Aug 2003 02:46:16 +0000 (02:46 +0000)]
Add detection for kernel major/minor version

21 years agofix another typo
David Schleef [Thu, 7 Aug 2003 02:45:47 +0000 (02:45 +0000)]
fix another typo

21 years agoreadd pcmcia modules (typo)
David Schleef [Thu, 7 Aug 2003 01:06:28 +0000 (01:06 +0000)]
readd pcmcia modules (typo)

21 years agodiable isapnp, because it doesn't compile on 2.6
David Schleef [Thu, 7 Aug 2003 01:04:14 +0000 (01:04 +0000)]
diable isapnp, because it doesn't compile on 2.6

21 years agoadd link flag for modtool. separate out PCMCIA-based drivers
David Schleef [Thu, 7 Aug 2003 01:03:13 +0000 (01:03 +0000)]
add link flag for modtool.  separate out PCMCIA-based drivers

21 years agoactually works now
David Schleef [Thu, 7 Aug 2003 01:02:20 +0000 (01:02 +0000)]
actually works now

21 years agopass command line options to configure
David Schleef [Thu, 7 Aug 2003 01:02:02 +0000 (01:02 +0000)]
pass command line options to configure

21 years agom4 macros for a bunch of Linux ops
David Schleef [Thu, 7 Aug 2003 01:01:21 +0000 (01:01 +0000)]
m4 macros for a bunch of Linux ops

21 years agospeed up pio ai fifo transfer a little
Frank Mori Hess [Wed, 6 Aug 2003 22:01:04 +0000 (22:01 +0000)]
speed up pio ai fifo transfer a little

21 years agoconfig/modversions.h and linux/modversions.h are not equivalent
Frank Mori Hess [Tue, 5 Aug 2003 22:39:40 +0000 (22:39 +0000)]
config/modversions.h and linux/modversions.h are not equivalent

21 years agooverride MODVERDIR
Frank Mori Hess [Tue, 5 Aug 2003 22:38:24 +0000 (22:38 +0000)]
override MODVERDIR

21 years agofix overwrite of LINUXDIR and trivial tweaks
Frank Mori Hess [Tue, 5 Aug 2003 20:02:09 +0000 (20:02 +0000)]
fix overwrite of LINUXDIR and trivial tweaks

21 years agofix for NULL undefined?
Frank Mori Hess [Tue, 5 Aug 2003 19:23:11 +0000 (19:23 +0000)]
fix for NULL undefined?

21 years agolinux 2.6 flag extraction
Frank Mori Hess [Tue, 5 Aug 2003 18:55:06 +0000 (18:55 +0000)]
linux 2.6 flag extraction

21 years agoreplace all hex codes with KERNEL_VERSION() for clairity
Frank Mori Hess [Tue, 5 Aug 2003 18:28:20 +0000 (18:28 +0000)]
replace all hex codes with KERNEL_VERSION() for clairity

21 years agoComedi's version is now in config.h
David Schleef [Tue, 5 Aug 2003 03:46:56 +0000 (03:46 +0000)]
Comedi's version is now in config.h

21 years agotool for making kernel modules
David Schleef [Tue, 5 Aug 2003 03:37:15 +0000 (03:37 +0000)]
tool for making kernel modules

21 years agonew makefile
David Schleef [Tue, 5 Aug 2003 03:36:36 +0000 (03:36 +0000)]
new makefile

21 years agoholder for linux macro
David Schleef [Tue, 5 Aug 2003 03:35:55 +0000 (03:35 +0000)]
holder for linux macro

21 years agoautomake!
David Schleef [Tue, 5 Aug 2003 03:34:52 +0000 (03:34 +0000)]
automake!

21 years agoBackport Frank's 2.6 changes to 2.4
David Schleef [Tue, 5 Aug 2003 03:34:04 +0000 (03:34 +0000)]
Backport Frank's 2.6 changes to 2.4

21 years agoChange IRQ_HANDLED to 1 when used as an rvalue
David Schleef [Tue, 5 Aug 2003 03:32:30 +0000 (03:32 +0000)]
Change IRQ_HANDLED to 1 when used as an rvalue

21 years agoautomake Makefiles
David Schleef [Tue, 5 Aug 2003 03:30:35 +0000 (03:30 +0000)]
automake Makefiles

21 years agoI'm a contributor, too
David Schleef [Tue, 5 Aug 2003 03:29:26 +0000 (03:29 +0000)]
I'm a contributor, too

21 years agobugfix from Steven Jenkins
Frank Mori Hess [Mon, 4 Aug 2003 20:23:43 +0000 (20:23 +0000)]
bugfix from Steven Jenkins

21 years agoadded some 2.2 pci hotplug compat
Frank Mori Hess [Mon, 4 Aug 2003 19:10:09 +0000 (19:10 +0000)]
added some 2.2 pci hotplug compat

21 years agoget_free_page() is gone in 2.6
Frank Mori Hess [Mon, 4 Aug 2003 18:56:32 +0000 (18:56 +0000)]
get_free_page() is gone in 2.6

21 years agoupdate to 2.6 interrupt handler prototype
Frank Mori Hess [Mon, 4 Aug 2003 18:48:40 +0000 (18:48 +0000)]
update to 2.6 interrupt handler prototype

21 years agopci_present() gone in 2.6
Frank Mori Hess [Mon, 4 Aug 2003 18:47:18 +0000 (18:47 +0000)]
pci_present() gone in 2.6

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