comedi.git
22 years agoNew driver
David Schleef [Tue, 15 Jan 2002 11:35:05 +0000 (11:35 +0000)]
New driver

22 years agoamcc_s5933.o exports symbols. Change DT282x CONFIG option. Add a
David Schleef [Tue, 15 Jan 2002 11:27:59 +0000 (11:27 +0000)]
amcc_s5933.o exports symbols.  Change DT282x CONFIG option.  Add a
few drivers.

22 years agoChanged CONFIG option for DT282x
David Schleef [Tue, 15 Jan 2002 11:26:56 +0000 (11:26 +0000)]
Changed CONFIG option for DT282x

22 years agoAdded preliminary command support. From Ildefond Magrans <ildefons@ifae.es>
David Schleef [Tue, 15 Jan 2002 11:25:42 +0000 (11:25 +0000)]
Added preliminary command support.  From Ildefond Magrans <ildefons@ifae.es>

22 years agoadded a little printk for when request_irq fails
Frank Mori Hess [Mon, 14 Jan 2002 22:37:41 +0000 (22:37 +0000)]
added a little printk for when request_irq fails

22 years agoaccording to linux device drivers, POSIX standard is to return -ENOTTY for
Frank Mori Hess [Thu, 10 Jan 2002 18:10:17 +0000 (18:10 +0000)]
according to linux device drivers, POSIX standard is to return -ENOTTY for
invalid ioctl number

22 years agogot rid of some preproccesor ugliness by converting to use of pci_resource_start()
Frank Mori Hess [Thu, 10 Jan 2002 02:18:53 +0000 (02:18 +0000)]
got rid of some preproccesor ugliness by converting to use of pci_resource_start()

22 years agoadded pci_resource_start() compatibility macro
Frank Mori Hess [Thu, 10 Jan 2002 01:35:16 +0000 (01:35 +0000)]
added pci_resource_start() compatibility macro

22 years agoshould be fixed for 1602/16 now
Frank Mori Hess [Thu, 10 Jan 2002 00:01:28 +0000 (00:01 +0000)]
should be fixed for 1602/16 now

22 years agoprevented it from switching dma channels when using dual dma and polled, unless a...
Frank Mori Hess [Wed, 9 Jan 2002 00:42:46 +0000 (00:42 +0000)]
prevented it from switching dma channels when using dual dma and polled, unless a terminal count
has actually occured.

22 years agoreenabled debugging code to try and get 1602/16 working
Frank Mori Hess [Tue, 8 Jan 2002 20:42:54 +0000 (20:42 +0000)]
reenabled debugging code to try and get 1602/16 working

22 years agomade poll() work on dma transfers again
Frank Mori Hess [Thu, 3 Jan 2002 02:05:53 +0000 (02:05 +0000)]
made poll() work on dma transfers again

22 years agomerged some duplicated code, and became more careful about clearing board's
Frank Mori Hess [Tue, 1 Jan 2002 17:46:11 +0000 (17:46 +0000)]
merged some duplicated code, and became more careful about clearing board's
interrupt status bits.  Makes no noticeable difference though, dual isa dma can
still get clobbered by heavy hard drive i/o with 2.2 kernel (the
hard drive bursts are causing greater than 200 millisec interrupt latencies).

22 years agofixed bug with dma transfers not being quite the length I wanted them
Frank Mori Hess [Tue, 1 Jan 2002 02:55:41 +0000 (02:55 +0000)]
fixed bug with dma transfers not being quite the length I wanted them
to be.

22 years ago*** empty log message ***
David Schleef [Sun, 30 Dec 2001 07:47:09 +0000 (07:47 +0000)]
*** empty log message ***

22 years agoFix warning about requesting region.
David Schleef [Sun, 30 Dec 2001 07:46:23 +0000 (07:46 +0000)]
Fix warning about requesting region.

23 years agocorrected top speed for 6040
Frank Mori Hess [Mon, 17 Dec 2001 22:14:27 +0000 (22:14 +0000)]
corrected top speed for 6040

23 years agoCheck for the case where 'make dep' was not run.
David Schleef [Sat, 15 Dec 2001 16:39:26 +0000 (16:39 +0000)]
Check for the case where 'make dep' was not run.

23 years agoChanged Makefile.modbuild to run configure script in empty environment to
Frank Mori Hess [Sat, 15 Dec 2001 06:52:16 +0000 (06:52 +0000)]
Changed Makefile.modbuild to run configure script in empty environment to
prevent variables from a stale LINUXDIR from getting imported.  Finally
got comedi/Config.in to properly prompt for comedi_rt_timer depending
on whether we are using an RT kernel or not.

23 years agoprevented CFLAGS from gettings written twice to .buildvars
Frank Mori Hess [Sat, 15 Dec 2001 02:37:06 +0000 (02:37 +0000)]
prevented CFLAGS from gettings written twice to .buildvars

23 years agoLinux-2.2 defines CC to be 'gcc -D__KERNEL__ -I$(HPATH)'. Hack a
David Schleef [Sat, 15 Dec 2001 02:23:30 +0000 (02:23 +0000)]
Linux-2.2 defines CC to be 'gcc -D__KERNEL__ -I$(HPATH)'.  Hack a
workaround.

23 years agoChange prototype of subdev_8255_init() (void * -> unsigned long) to make
David Schleef [Fri, 14 Dec 2001 22:10:56 +0000 (22:10 +0000)]
Change prototype of subdev_8255_init() (void * -> unsigned long) to make
it more 64-bit friendly.

23 years ago64-bit cleanups
David Schleef [Fri, 14 Dec 2001 21:44:28 +0000 (21:44 +0000)]
64-bit cleanups

23 years agoPull CC, AS, and LD from kernel. Sparc64 needs it.
David Schleef [Fri, 14 Dec 2001 21:43:34 +0000 (21:43 +0000)]
Pull CC, AS, and LD from kernel.  Sparc64 needs it.

23 years agooops undid accidental reversion of linux/slab.h to linux/malloc.h
Frank Mori Hess [Fri, 14 Dec 2001 19:49:44 +0000 (19:49 +0000)]
oops undid accidental reversion of linux/slab.h to linux/malloc.h

23 years agomoved clearing of interrupt to beginning of interrupt handler from end.
Frank Mori Hess [Fri, 14 Dec 2001 19:48:48 +0000 (19:48 +0000)]
moved clearing of interrupt to beginning of interrupt handler from end.

23 years agoFix Makefile.modbuild to delete Makefiles on distclean, CFLAGS not to
David Schleef [Fri, 14 Dec 2001 19:25:14 +0000 (19:25 +0000)]
Fix Makefile.modbuild to delete Makefiles on distclean, CFLAGS not to
duplicate kernel flags. Fix scripts/dep.* to not add to CFLAGS if
the RTAI/RTLinux include directories don't exist.  (Might not be an
error -- otherwise it's difficult to compile for a real-time patched
kernel without the RTAI/RTLinux source.)

23 years agoAdded Changelog
David Schleef [Fri, 14 Dec 2001 19:20:49 +0000 (19:20 +0000)]
Added Changelog

23 years agofix for stop_src == TRIG_NONE
Frank Mori Hess [Fri, 14 Dec 2001 19:15:31 +0000 (19:15 +0000)]
fix for stop_src == TRIG_NONE

23 years agoFix to export LINUXDIR.
David Schleef [Fri, 14 Dec 2001 19:09:50 +0000 (19:09 +0000)]
Fix to export LINUXDIR.

23 years agoadded useless line to maybe help sparc compilation
Frank Mori Hess [Mon, 10 Dec 2001 17:44:45 +0000 (17:44 +0000)]
added useless line to maybe help sparc compilation

23 years agookay, MODULE_LICENSE was introduced in 2.4.10
Frank Mori Hess [Mon, 10 Dec 2001 17:32:37 +0000 (17:32 +0000)]
okay, MODULE_LICENSE was introduced in 2.4.10

23 years agolittle cleanup
Frank Mori Hess [Mon, 10 Dec 2001 17:27:33 +0000 (17:27 +0000)]
little cleanup

23 years agofixes for 2.2 compile
Frank Mori Hess [Fri, 7 Dec 2001 22:23:54 +0000 (22:23 +0000)]
fixes for 2.2 compile

23 years agofix for MODULE_LICENSE() with 2.2 kernels
Frank Mori Hess [Fri, 7 Dec 2001 21:53:32 +0000 (21:53 +0000)]
fix for MODULE_LICENSE() with 2.2 kernels

23 years agoAdd module license, clean up init/cleanup.
David Schleef [Fri, 7 Dec 2001 02:14:20 +0000 (02:14 +0000)]
Add module license, clean up init/cleanup.

23 years agoRemove bogus driver registration
David Schleef [Fri, 7 Dec 2001 02:13:28 +0000 (02:13 +0000)]
Remove bogus driver registration

23 years agoFix symbol leakage
David Schleef [Fri, 7 Dec 2001 02:12:43 +0000 (02:12 +0000)]
Fix symbol leakage

23 years agoAdd module license to INITCLEANUP
David Schleef [Fri, 7 Dec 2001 02:12:03 +0000 (02:12 +0000)]
Add module license to INITCLEANUP

23 years agoAdd module license
David Schleef [Fri, 7 Dec 2001 02:10:49 +0000 (02:10 +0000)]
Add module license

23 years agoSplit apart into a module and header
David Schleef [Fri, 7 Dec 2001 02:09:03 +0000 (02:09 +0000)]
Split apart into a module and header

23 years agoAdded menuconfig script, slightly modified from 2.4.16
David Schleef [Fri, 7 Dec 2001 02:02:58 +0000 (02:02 +0000)]
Added menuconfig script, slightly modified from 2.4.16

23 years agoAdded lxdialog for menuconfig
David Schleef [Fri, 7 Dec 2001 02:01:41 +0000 (02:01 +0000)]
Added lxdialog for menuconfig

23 years agoFixes to the new build system
David Schleef [Fri, 7 Dec 2001 01:57:55 +0000 (01:57 +0000)]
Fixes to the new build system

23 years agoremoved duplicate copies of rt_pend_tq stuff
Frank Mori Hess [Mon, 3 Dec 2001 22:07:13 +0000 (22:07 +0000)]
removed duplicate copies of rt_pend_tq stuff

23 years ago2.2 linux/malloc.h just includes linux/slab.h, this file was causing the kmalloc
Frank Mori Hess [Mon, 3 Dec 2001 20:54:22 +0000 (20:54 +0000)]
2.2 linux/malloc.h just includes linux/slab.h, this file was causing the kmalloc
versioning to get messed up somehow (linux 2.2.19).

23 years agoremoving autogenerated makefiles from cvs
Frank Mori Hess [Mon, 3 Dec 2001 20:43:09 +0000 (20:43 +0000)]
removing autogenerated makefiles from cvs

23 years agofixes for compile on rtlinux-3.1 with linux 2.2.19
Frank Mori Hess [Mon, 3 Dec 2001 20:40:18 +0000 (20:40 +0000)]
fixes for compile on rtlinux-3.1 with linux 2.2.19

23 years agoNot used in new build system
David Schleef [Sat, 1 Dec 2001 05:34:28 +0000 (05:34 +0000)]
Not used in new build system

23 years agorel_comedi moved to scripts. patch-rtai cleaned up, although it
David Schleef [Sat, 1 Dec 2001 05:33:15 +0000 (05:33 +0000)]
rel_comedi moved to scripts.  patch-rtai cleaned up, although it
doesn't work anymore.

23 years agoMoved to comedilib
David Schleef [Sat, 1 Dec 2001 05:29:36 +0000 (05:29 +0000)]
Moved to comedilib

23 years agoMoved to comedilib a long time ago, should have been deleted
David Schleef [Sat, 1 Dec 2001 05:27:21 +0000 (05:27 +0000)]
Moved to comedilib a long time ago, should have been deleted

23 years agoNot needed in the new build system
David Schleef [Sat, 1 Dec 2001 05:25:43 +0000 (05:25 +0000)]
Not needed in the new build system

23 years agoThese have been in comedilib for a long time
David Schleef [Sat, 1 Dec 2001 05:25:15 +0000 (05:25 +0000)]
These have been in comedilib for a long time

23 years agoDon't want this directory anymore
David Schleef [Sat, 1 Dec 2001 05:24:12 +0000 (05:24 +0000)]
Don't want this directory anymore

23 years agoIrrelevant, now that comedi_trig has been completely removed
David Schleef [Sat, 1 Dec 2001 05:20:26 +0000 (05:20 +0000)]
Irrelevant, now that comedi_trig has been completely removed

23 years agoThese files are now generated from .c files
David Schleef [Sat, 1 Dec 2001 05:19:48 +0000 (05:19 +0000)]
These files are now generated from .c files

23 years agoFix modversions, installation, drivers.txt targets.
David Schleef [Sat, 1 Dec 2001 05:18:26 +0000 (05:18 +0000)]
Fix modversions, installation, drivers.txt targets.

23 years agoRemove spurious floating point code that shouldn't be there
David Schleef [Sat, 1 Dec 2001 05:11:02 +0000 (05:11 +0000)]
Remove spurious floating point code that shouldn't be there

23 years agoChange malloc.h to slab.h. Fixed header references to modbuild
David Schleef [Sat, 1 Dec 2001 04:48:09 +0000 (04:48 +0000)]
Change malloc.h to slab.h.  Fixed header references to modbuild
directory.

23 years agoChange malloc.h to slab.h. Minor fixes for RTAI on PPC.
David Schleef [Sat, 1 Dec 2001 04:45:54 +0000 (04:45 +0000)]
Change malloc.h to slab.h.  Minor fixes for RTAI on PPC.

23 years agoFor the new build system. Extracts build flags from Linux
David Schleef [Sat, 1 Dec 2001 04:41:38 +0000 (04:41 +0000)]
For the new build system.  Extracts build flags from Linux

23 years agoMassive rewrite of the configure/build system
David Schleef [Sat, 1 Dec 2001 04:40:45 +0000 (04:40 +0000)]
Massive rewrite of the configure/build system

23 years agoDon't need this.
David Schleef [Sat, 1 Dec 2001 02:09:57 +0000 (02:09 +0000)]
Don't need this.

23 years agoChange linux/malloc.h to linux/slab.h
David Schleef [Sat, 1 Dec 2001 01:16:59 +0000 (01:16 +0000)]
Change linux/malloc.h to linux/slab.h

23 years agoI'm tired of these being in a separate directory
David Schleef [Sat, 1 Dec 2001 01:15:35 +0000 (01:15 +0000)]
I'm tired of these being in a separate directory

23 years agoChange linux/malloc.h to linux/slab.h
David Schleef [Sat, 1 Dec 2001 01:07:37 +0000 (01:07 +0000)]
Change linux/malloc.h to linux/slab.h

23 years agoLinux-2.4 prefers slab.h
David Schleef [Sat, 1 Dec 2001 00:34:53 +0000 (00:34 +0000)]
Linux-2.4 prefers slab.h

23 years agocorrected typo
Frank Mori Hess [Thu, 29 Nov 2001 23:38:22 +0000 (23:38 +0000)]
corrected typo

23 years agoremoved more old trig stuff
Frank Mori Hess [Fri, 23 Nov 2001 03:03:56 +0000 (03:03 +0000)]
removed more old trig stuff

23 years agookay, _really_ fixed problem with comedi_rt_timer getting compiled on non-RT kernels
Frank Mori Hess [Fri, 23 Nov 2001 02:57:06 +0000 (02:57 +0000)]
okay, _really_ fixed problem with comedi_rt_timer getting compiled on non-RT kernels
when make config used defaults in config.dist

23 years agooops parse error
Frank Mori Hess [Thu, 22 Nov 2001 16:32:08 +0000 (16:32 +0000)]
oops parse error

23 years agofixed error in calculating counter a0 and b1 values
Frank Mori Hess [Thu, 22 Nov 2001 16:20:24 +0000 (16:20 +0000)]
fixed error in calculating counter a0 and b1 values

23 years agofix to cmdtest
Frank Mori Hess [Thu, 22 Nov 2001 16:15:34 +0000 (16:15 +0000)]
fix to cmdtest

23 years agofixed bug noted by Massimiliano Cialdi
Frank Mori Hess [Thu, 22 Nov 2001 16:01:45 +0000 (16:01 +0000)]
fixed bug noted by Massimiliano Cialdi

23 years agofixed bug in pacing when both convert_src and scan_begin_src are TRIG_TIMER
Frank Mori Hess [Thu, 22 Nov 2001 15:57:47 +0000 (15:57 +0000)]
fixed bug in pacing when both convert_src and scan_begin_src are TRIG_TIMER

23 years agotrig go bye bye
Frank Mori Hess [Thu, 22 Nov 2001 06:36:29 +0000 (06:36 +0000)]
trig go bye bye

23 years agofixed declarations
Frank Mori Hess [Thu, 22 Nov 2001 01:21:54 +0000 (01:21 +0000)]
fixed declarations

23 years agoremoved async.cur_chanlist_len
Frank Mori Hess [Thu, 22 Nov 2001 01:09:56 +0000 (01:09 +0000)]
removed async.cur_chanlist_len

23 years agofixed problem with make trying to compile comedi_rt_timer with non-RT kernel,
Frank Mori Hess [Wed, 21 Nov 2001 20:26:19 +0000 (20:26 +0000)]
fixed problem with make trying to compile comedi_rt_timer with non-RT kernel,
removed useless trig support prompt

23 years agoadded support for scan_begin_src == TRIG_TIMER
Frank Mori Hess [Wed, 21 Nov 2001 20:24:01 +0000 (20:24 +0000)]
added support for scan_begin_src == TRIG_TIMER

23 years agofixed offset for ao mode 1 register, multiple channel analog out should work now
Frank Mori Hess [Sun, 18 Nov 2001 18:26:24 +0000 (18:26 +0000)]
fixed offset for ao mode 1 register, multiple channel analog out should work now

23 years agofixed an error I made
Frank Mori Hess [Sun, 18 Nov 2001 18:08:28 +0000 (18:08 +0000)]
fixed an error I made

23 years agoadded initialization of async->cur_chan and cur_chanlist_len to comedi_command() r0_7_61
Frank Mori Hess [Fri, 16 Nov 2001 20:59:49 +0000 (20:59 +0000)]
added initialization of async->cur_chan and cur_chanlist_len to comedi_command()

23 years agofixed bug that caused nasty interaction between analog input command and analog outpu...
Frank Mori Hess [Fri, 16 Nov 2001 20:42:24 +0000 (20:42 +0000)]
fixed bug that caused nasty interaction between analog input command and analog output instruction

23 years agoseems to work okay, removed some debugging message spam
Frank Mori Hess [Fri, 16 Nov 2001 20:04:45 +0000 (20:04 +0000)]
seems to work okay, removed some debugging message spam

23 years agofixed sending of BLOCK events with pio transfers
Frank Mori Hess [Thu, 15 Nov 2001 18:22:24 +0000 (18:22 +0000)]
fixed sending of BLOCK events with pio transfers

23 years agoshould properly calibrate itself according to eeprom now (excepting bugs)
Frank Mori Hess [Wed, 14 Nov 2001 20:51:24 +0000 (20:51 +0000)]
should properly calibrate itself according to eeprom now (excepting bugs)

23 years agoremoved some duplicated function declarations
Frank Mori Hess [Wed, 14 Nov 2001 20:28:53 +0000 (20:28 +0000)]
removed some duplicated function declarations

23 years agoadded stuff for reading data from boards eeprom as first step towards making
Frank Mori Hess [Wed, 14 Nov 2001 17:09:41 +0000 (17:09 +0000)]
added stuff for reading data from boards eeprom as first step towards making
board calibrate itself according to range and factory calibration.

23 years agoimplemented data munging for analog output commands
Frank Mori Hess [Mon, 12 Nov 2001 22:19:31 +0000 (22:19 +0000)]
implemented data munging for analog output commands

23 years agodisabled driver's debugging messages
Frank Mori Hess [Mon, 12 Nov 2001 18:58:53 +0000 (18:58 +0000)]
disabled driver's debugging messages

23 years agoThe release script. I could never find it when necessary, so it's
David Schleef [Fri, 9 Nov 2001 23:30:38 +0000 (23:30 +0000)]
The release script.  I could never find it when necessary, so it's
here now.

23 years agofixed problem with setting of bipolar mode in analog out command noted by
Frank Mori Hess [Fri, 9 Nov 2001 21:29:48 +0000 (21:29 +0000)]
fixed problem with setting of bipolar mode in analog out command noted by
Amish Dave.  However, have noticed that no data munging appears to ever get
done on analog output commands (it does get done in ao insn) so this is
still a problem that needs to be fixed.

23 years agofixed bug with checking number of caldac channels noted by Amish Dave
Frank Mori Hess [Fri, 9 Nov 2001 20:26:17 +0000 (20:26 +0000)]
fixed bug with checking number of caldac channels noted by Amish Dave

23 years agomade prompting for linux directory work like prompting for rtlinux directory
Frank Mori Hess [Thu, 8 Nov 2001 17:32:35 +0000 (17:32 +0000)]
made prompting for linux directory work like prompting for rtlinux directory
(doesn't assume directory found in .sourcedirs is correct)

23 years agotook into account possibility of pci_enable_device failure
Frank Mori Hess [Wed, 7 Nov 2001 20:33:31 +0000 (20:33 +0000)]
took into account possibility of pci_enable_device failure

23 years agoinitial attempt at pcmcia support
Frank Mori Hess [Wed, 7 Nov 2001 20:31:26 +0000 (20:31 +0000)]
initial attempt at pcmcia support

23 years agoadded daqcard-1200
Frank Mori Hess [Wed, 7 Nov 2001 20:31:05 +0000 (20:31 +0000)]
added daqcard-1200

23 years agoFixed all the bugs I'm aware of. Just needs pcmcia support added now.
Frank Mori Hess [Wed, 7 Nov 2001 00:43:15 +0000 (00:43 +0000)]
Fixed all the bugs I'm aware of.  Just needs pcmcia support added now.