comedi.git
22 years agoChanges needed for 671x boards
David Schleef [Sun, 10 Feb 2002 23:55:22 +0000 (23:55 +0000)]
Changes needed for 671x boards

22 years agoConvert to pci_resource_start()
David Schleef [Sun, 10 Feb 2002 05:05:07 +0000 (05:05 +0000)]
Convert to pci_resource_start()

22 years agoMoved edge/level rising/falling defs to comedi.h
David Schleef [Sun, 10 Feb 2002 05:04:20 +0000 (05:04 +0000)]
Moved edge/level rising/falling defs to comedi.h

22 years agoRemove 2.0 PCI code
David Schleef [Sun, 10 Feb 2002 04:56:45 +0000 (04:56 +0000)]
Remove 2.0 PCI code

22 years agoAdded a few things to interface
David Schleef [Sun, 10 Feb 2002 04:54:09 +0000 (04:54 +0000)]
Added a few things to interface

22 years agoRemoval of 2.0 PCI support
David Schleef [Sun, 10 Feb 2002 04:21:24 +0000 (04:21 +0000)]
Removal of 2.0 PCI support

22 years agoMore DMA hacking. Works nicely now. Allocator moved to mite.c.
David Schleef [Sun, 10 Feb 2002 04:13:57 +0000 (04:13 +0000)]
More DMA hacking.  Works nicely now.  Allocator moved to mite.c.
Converted to new MITE DMA functions and dynamic ring buffer.  Added
more mite interrupt handling.

22 years agoChange buffer allocation to use mite allocator.
David Schleef [Sun, 10 Feb 2002 04:11:36 +0000 (04:11 +0000)]
Change buffer allocation to use mite allocator.

22 years agoAttempt to fix for new MITE DMA code. Cleanups.
David Schleef [Sun, 10 Feb 2002 04:11:05 +0000 (04:11 +0000)]
Attempt to fix for new MITE DMA code.  Cleanups.

22 years agoIfdef old DMA functions
David Schleef [Sun, 10 Feb 2002 04:09:46 +0000 (04:09 +0000)]
Ifdef old DMA functions

22 years agoRemove old PCI support. Remove static ring buffer. #ifdef old
David Schleef [Sun, 10 Feb 2002 04:09:16 +0000 (04:09 +0000)]
Remove old PCI support.  Remove static ring buffer.  #ifdef old
dma functions.

22 years agoCleanups: remove old PCI support. Fix more places for mite->chan.
David Schleef [Sun, 10 Feb 2002 03:37:14 +0000 (03:37 +0000)]
Cleanups: remove old PCI support.  Fix more places for mite->chan.
Remove ring[].dar usage.

22 years agoAdded cpu_to_le32() for big-endian machines. Removed unused functions.
David Schleef [Sun, 10 Feb 2002 03:26:49 +0000 (03:26 +0000)]
Added cpu_to_le32() for big-endian machines.  Removed unused functions.
Cleanups.  Converted most to use mite->chan.  Added functions for
ni_pcidio.  Added chsr dump function.

22 years agoAdded more defines. Added new functions, works on ni_pcidio. Added
David Schleef [Sun, 10 Feb 2002 03:19:40 +0000 (03:19 +0000)]
Added more defines.  Added new functions, works on ni_pcidio.  Added
elements to mite structure to handle a dynamic ring buffer.

22 years agoCheckpoint for DMA hacking. Mostly works for small N.
David Schleef [Sun, 10 Feb 2002 01:02:55 +0000 (01:02 +0000)]
Checkpoint for DMA hacking.  Mostly works for small N.

22 years agoTimed input works in non-DMA mode.
David Schleef [Sat, 9 Feb 2002 05:57:49 +0000 (05:57 +0000)]
Timed input works in non-DMA mode.

22 years agoUpdate from Dan. Fixes conflict between rounding timer values and
David Schleef [Sat, 9 Feb 2002 01:38:44 +0000 (01:38 +0000)]
Update from Dan.  Fixes conflict between rounding timer values and
speed cutoff.

22 years agoCleanups. Should work identically to last revision.
David Schleef [Sat, 9 Feb 2002 00:49:24 +0000 (00:49 +0000)]
Cleanups.  Should work identically to last revision.

22 years agoCompilation fixes
David Schleef [Fri, 8 Feb 2002 23:11:15 +0000 (23:11 +0000)]
Compilation fixes

22 years agoNew drivers
David Schleef [Fri, 8 Feb 2002 23:10:45 +0000 (23:10 +0000)]
New drivers

22 years agoBig hack attack results in new driver. Film at 11.
David Schleef [Fri, 8 Feb 2002 23:09:47 +0000 (23:09 +0000)]
Big hack attack results in new driver.  Film at 11.

22 years agoUpdated documentation
David Schleef [Fri, 8 Feb 2002 21:03:58 +0000 (21:03 +0000)]
Updated documentation

22 years agoUpdate from Dan
David Schleef [Thu, 7 Feb 2002 21:06:14 +0000 (21:06 +0000)]
Update from Dan

22 years agonewer versino of icp_multi driver that Anne Smorthit had mailed to me while she
Frank Mori Hess [Thu, 7 Feb 2002 18:11:37 +0000 (18:11 +0000)]
newer versino of icp_multi driver that Anne Smorthit had mailed to me while she
was trying to debug it

22 years agoadded a paragraph about preparing a kernel source directory to match an
Frank Mori Hess [Thu, 7 Feb 2002 17:55:05 +0000 (17:55 +0000)]
added a paragraph about preparing a kernel source directory to match an
already compiled kernel.

22 years agoRevert poll conditions: if device is non-busy, set the poll flags so
David Schleef [Wed, 6 Feb 2002 21:48:05 +0000 (21:48 +0000)]
Revert poll conditions: if device is non-busy, set the poll flags so
the app can read the error.  This is how it used to be, and I'm not
sure why I changed (broke) it.

22 years agoChange caldac code to be slightly less confusing
David Schleef [Wed, 6 Feb 2002 20:41:21 +0000 (20:41 +0000)]
Change caldac code to be slightly less confusing

22 years agoRevert some previous dumb changes with events. This should
David Schleef [Wed, 6 Feb 2002 09:04:55 +0000 (09:04 +0000)]
Revert some previous dumb changes with events.  This should
get polling/select/regular read working again.  There is an
unresolved problem:  a normal select/read cycle on a device will
fail to show the end of acquisition.  One solution is to always
have the app read 0 bytes at the end of acquisition, but people
got confused when that was necessary.

22 years agorandom ci
David Schleef [Wed, 6 Feb 2002 05:22:16 +0000 (05:22 +0000)]
random ci

22 years agoFix documentation numbers
David Schleef [Wed, 6 Feb 2002 05:21:49 +0000 (05:21 +0000)]
Fix documentation numbers

22 years agoNew driver
David Schleef [Wed, 6 Feb 2002 05:21:09 +0000 (05:21 +0000)]
New driver

22 years agochanged pci_alloc_consistent compatibility function so it can allocate up
Frank Mori Hess [Tue, 5 Feb 2002 01:19:26 +0000 (01:19 +0000)]
changed pci_alloc_consistent compatibility function so it can allocate up
to 2M.

22 years agoChange Comedi buffer allocator to use a virtual function in the
David Schleef [Mon, 4 Feb 2002 00:28:19 +0000 (00:28 +0000)]
Change Comedi buffer allocator to use a virtual function in the
subdevice structure.  Added a default allocator.  Added an override
in ni_pcimio, to use dma_alloc_consistent.  Changed the number of
maximum caldac in ni_pcimio -- mostly bogus, but is used for testing.

22 years agoRemove buf_change, add buf_alloc in subdevice structure
David Schleef [Mon, 4 Feb 2002 00:25:22 +0000 (00:25 +0000)]
Remove buf_change, add buf_alloc in subdevice structure

22 years agoAdd comedi_event() call in mite interrupt handler
David Schleef [Mon, 4 Feb 2002 00:23:48 +0000 (00:23 +0000)]
Add comedi_event() call in mite interrupt handler

22 years agofixed error handling for mite_setup
Frank Mori Hess [Sat, 2 Feb 2002 17:21:44 +0000 (17:21 +0000)]
fixed error handling for mite_setup

22 years agofixed race in interrupt handler
Frank Mori Hess [Fri, 1 Feb 2002 22:23:27 +0000 (22:23 +0000)]
fixed race in interrupt handler

22 years agoGenerate tar file in local dir
David Schleef [Fri, 1 Feb 2002 00:18:37 +0000 (00:18 +0000)]
Generate tar file in local dir

22 years agoversion bump
David Schleef [Fri, 1 Feb 2002 00:17:51 +0000 (00:17 +0000)]
version bump

22 years agoFix problem with constructing new version numbers r0_7_63
David Schleef [Fri, 1 Feb 2002 00:16:05 +0000 (00:16 +0000)]
Fix problem with constructing new version numbers

22 years agoFor 0.7.63
David Schleef [Fri, 1 Feb 2002 00:09:51 +0000 (00:09 +0000)]
For 0.7.63

22 years agoFix event handling bugs.
David Schleef [Fri, 1 Feb 2002 00:05:43 +0000 (00:05 +0000)]
Fix event handling bugs.

22 years ago0.7.62 changelog
David Schleef [Fri, 1 Feb 2002 00:00:14 +0000 (00:00 +0000)]
0.7.62 changelog

22 years agofixed pointer arithmetic
Frank Mori Hess [Wed, 30 Jan 2002 03:19:08 +0000 (03:19 +0000)]
fixed pointer arithmetic

22 years agoYet another iteration.
David Schleef [Sun, 27 Jan 2002 02:28:10 +0000 (02:28 +0000)]
Yet another iteration.

22 years agoYet another iteration.
David Schleef [Sun, 27 Jan 2002 01:54:46 +0000 (01:54 +0000)]
Yet another iteration.

22 years agoAnother iteration on the AI 611x chanlist problem
David Schleef [Sun, 27 Jan 2002 01:43:44 +0000 (01:43 +0000)]
Another iteration on the AI 611x chanlist problem

22 years agoFix AI chanlist configuration on 611x
David Schleef [Sat, 26 Jan 2002 23:52:08 +0000 (23:52 +0000)]
Fix AI chanlist configuration on 611x

22 years agoMerge AO chanlist configuration into one function
David Schleef [Sat, 26 Jan 2002 23:51:30 +0000 (23:51 +0000)]
Merge AO chanlist configuration into one function

22 years agoExport to versioned directory
David Schleef [Tue, 22 Jan 2002 09:50:50 +0000 (09:50 +0000)]
Export to versioned directory

22 years agoCreate drivers.txt. r0_7_62
David Schleef [Tue, 22 Jan 2002 09:47:25 +0000 (09:47 +0000)]
Create drivers.txt.

22 years agoFix rule to make drivers.txt. Add rule to run check_driver.
David Schleef [Tue, 22 Jan 2002 09:47:15 +0000 (09:47 +0000)]
Fix rule to make drivers.txt.  Add rule to run check_driver.

22 years agomove scripts
David Schleef [Tue, 22 Jan 2002 09:43:40 +0000 (09:43 +0000)]
move scripts

22 years agoCleanup the release script
David Schleef [Tue, 22 Jan 2002 09:38:37 +0000 (09:38 +0000)]
Cleanup the release script

22 years agoadded a little note about PCMCIA
Frank Mori Hess [Tue, 22 Jan 2002 03:32:40 +0000 (03:32 +0000)]
added a little note about PCMCIA

22 years agooops I wanted the pcmcia device names to match the names that need to be
Frank Mori Hess [Tue, 22 Jan 2002 03:11:20 +0000 (03:11 +0000)]
oops I wanted the pcmcia device names to match the names that need to be
passed to comedi_config

22 years agofixing device names for pcmcia
Frank Mori Hess [Tue, 22 Jan 2002 03:08:31 +0000 (03:08 +0000)]
fixing device names for pcmcia

22 years agoFix export-objs being unconditionally recompiled
David Schleef [Tue, 22 Jan 2002 00:55:33 +0000 (00:55 +0000)]
Fix export-objs being unconditionally recompiled

22 years agoAdded a test for SDF_RT
David Schleef [Tue, 22 Jan 2002 00:16:56 +0000 (00:16 +0000)]
Added a test for SDF_RT

22 years agoAdded DIO subdevice support. Untested. Added SPEED_LIMIT #define.
David Schleef [Tue, 22 Jan 2002 00:14:38 +0000 (00:14 +0000)]
Added DIO subdevice support.  Untested.  Added SPEED_LIMIT #define.

22 years agoSome National Instruments PCI IDs
David Schleef [Tue, 22 Jan 2002 00:12:43 +0000 (00:12 +0000)]
Some National Instruments PCI IDs

22 years agoAdded pci-6036e
David Schleef [Sun, 20 Jan 2002 23:31:42 +0000 (23:31 +0000)]
Added pci-6036e

22 years agoChange malloc.h to slab.h
David Schleef [Tue, 15 Jan 2002 12:08:07 +0000 (12:08 +0000)]
Change malloc.h to slab.h

22 years agoupdate
David Schleef [Tue, 15 Jan 2002 12:05:57 +0000 (12:05 +0000)]
update

22 years agoRemove comedi_done and friends
David Schleef [Tue, 15 Jan 2002 12:03:39 +0000 (12:03 +0000)]
Remove comedi_done and friends

22 years agoFix problems with old bash
David Schleef [Tue, 15 Jan 2002 12:00:30 +0000 (12:00 +0000)]
Fix problems with old bash

22 years agoAdded PCI_VENDOR_IDs. Removed comedi_done and friends. Fixed
David Schleef [Tue, 15 Jan 2002 11:59:52 +0000 (11:59 +0000)]
Added PCI_VENDOR_IDs.  Removed comedi_done and friends.  Fixed
compilation without CONFIG_PROC_FS.  Removed dead code.

22 years ago*** empty log message ***
David Schleef [Tue, 15 Jan 2002 11:56:45 +0000 (11:56 +0000)]
*** empty log message ***

22 years agoConvert all uses of comedi_bufcheck, comedi_done, comedi_error_done,
David Schleef [Tue, 15 Jan 2002 11:54:56 +0000 (11:54 +0000)]
Convert all uses of comedi_bufcheck, comedi_done, comedi_error_done,
comedi_eobuf, and comedi_eos to setting s->async flags and calling
comedi_event.

22 years agoCleanups suggested by check_driver. Mostly leaky symbols, incorrect
David Schleef [Tue, 15 Jan 2002 11:50:54 +0000 (11:50 +0000)]
Cleanups suggested by check_driver.  Mostly leaky symbols, incorrect
use of free_irq() and SA_SHIRQ, and pci_device_id tables.

22 years agoUpdate for new 8255 interface
David Schleef [Tue, 15 Jan 2002 11:42:38 +0000 (11:42 +0000)]
Update for new 8255 interface

22 years agoNew checks. Wrap some old checks in check_all
David Schleef [Tue, 15 Jan 2002 11:38:41 +0000 (11:38 +0000)]
New checks.  Wrap some old checks in check_all

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