comedi.git
22 years agosome additions so cb_pcidas driver can use this header
Frank Mori Hess [Mon, 17 Jun 2002 15:47:33 +0000 (15:47 +0000)]
some additions so cb_pcidas driver can use this header

22 years agobitwise and should be logical and
Frank Mori Hess [Mon, 17 Jun 2002 15:47:10 +0000 (15:47 +0000)]
bitwise and should be logical and

22 years agomake comedi_buf_put automatically signal block events
Frank Mori Hess [Mon, 17 Jun 2002 15:46:03 +0000 (15:46 +0000)]
make comedi_buf_put automatically signal block events

22 years agoprevent callbacks from getting run when there is no command running
Frank Mori Hess [Mon, 17 Jun 2002 15:45:10 +0000 (15:45 +0000)]
prevent callbacks from getting run when there is no command running

22 years agoadded support for hardware scan counter
Frank Mori Hess [Mon, 17 Jun 2002 15:43:36 +0000 (15:43 +0000)]
added support for hardware scan counter

22 years agoChange subdevice 0 to DIO.
David Schleef [Thu, 13 Jun 2002 22:12:09 +0000 (22:12 +0000)]
Change subdevice 0 to DIO.

22 years agoremove -v option to tar
David Schleef [Fri, 7 Jun 2002 21:07:41 +0000 (21:07 +0000)]
remove -v option to tar

22 years agoversion bump r0_7_65
David Schleef [Fri, 7 Jun 2002 21:01:27 +0000 (21:01 +0000)]
version bump

22 years ago0.7.65
David Schleef [Fri, 7 Jun 2002 21:01:14 +0000 (21:01 +0000)]
0.7.65

22 years agoCleanups suggested by check_driver.
David Schleef [Fri, 7 Jun 2002 20:22:45 +0000 (20:22 +0000)]
Cleanups suggested by check_driver.

22 years agoChanged recently added test to warning
David Schleef [Fri, 7 Jun 2002 20:15:18 +0000 (20:15 +0000)]
Changed recently added test to warning

22 years agoAdded documentation block
David Schleef [Fri, 7 Jun 2002 20:14:46 +0000 (20:14 +0000)]
Added documentation block

22 years agoAdded Description tag
David Schleef [Fri, 7 Jun 2002 20:14:30 +0000 (20:14 +0000)]
Added Description tag

22 years agoFix driver structure, documentation
David Schleef [Fri, 7 Jun 2002 20:14:10 +0000 (20:14 +0000)]
Fix driver structure, documentation

22 years agoAdded documentation
David Schleef [Fri, 7 Jun 2002 20:13:47 +0000 (20:13 +0000)]
Added documentation

22 years ago*** empty log message ***
David Schleef [Fri, 7 Jun 2002 20:12:18 +0000 (20:12 +0000)]
*** empty log message ***

22 years agoRevert 16xe-50 caldacs to manual. Change *-xe-10 to manual.
David Schleef [Fri, 7 Jun 2002 19:55:10 +0000 (19:55 +0000)]
Revert 16xe-50 caldacs to manual.  Change *-xe-10 to manual.

22 years agoclean up warnings
David Schleef [Fri, 7 Jun 2002 19:53:57 +0000 (19:53 +0000)]
clean up warnings

22 years agoChange some caldacs to debug
David Schleef [Fri, 7 Jun 2002 00:03:00 +0000 (00:03 +0000)]
Change some caldacs to debug

22 years agoIgnore more MITE errors, and don't call disable_irq() when something
David Schleef [Fri, 7 Jun 2002 00:02:40 +0000 (00:02 +0000)]
Ignore more MITE errors, and don't call disable_irq() when something
goes wrong.  It's not nice to our neighbors.

22 years agoChange 16xe-50 caldacs to debug. Change max caldacs to 32.
David Schleef [Fri, 7 Jun 2002 00:01:52 +0000 (00:01 +0000)]
Change 16xe-50 caldacs to debug.  Change max caldacs to 32.

22 years agoOnly advertise TRIG_NONE as a stop source, since that's what we
David Schleef [Fri, 7 Jun 2002 00:01:13 +0000 (00:01 +0000)]
Only advertise TRIG_NONE as a stop source, since that's what we
support.

22 years agoFix: make sure to flag a EOS event in interrupts
David Schleef [Fri, 7 Jun 2002 00:00:07 +0000 (00:00 +0000)]
Fix: make sure to flag a EOS event in interrupts

22 years ago*** empty log message ***
David Schleef [Thu, 6 Jun 2002 23:56:14 +0000 (23:56 +0000)]
*** empty log message ***

22 years agofixed analog output insn for 4020
Frank Mori Hess [Mon, 3 Jun 2002 00:04:06 +0000 (00:04 +0000)]
fixed analog output insn for 4020

22 years agoadded pcidas-6023 support
Frank Mori Hess [Sun, 2 Jun 2002 01:27:38 +0000 (01:27 +0000)]
added pcidas-6023 support

22 years agoCOMEDI_CB_* flags are already defined in linux/comedi.h
Frank Mori Hess [Sun, 2 Jun 2002 00:48:21 +0000 (00:48 +0000)]
COMEDI_CB_* flags are already defined in linux/comedi.h

22 years agoadded check in command test for peculiar restrictions on pcidas-4020 chanlists
Frank Mori Hess [Sat, 1 Jun 2002 23:03:55 +0000 (23:03 +0000)]
added check in command test for peculiar restrictions on pcidas-4020 chanlists

22 years agoMake default mode for /dev/comediN 666 in devfs.
David Schleef [Wed, 29 May 2002 20:11:58 +0000 (20:11 +0000)]
Make default mode for /dev/comediN 666 in devfs.

22 years agoFixed AI_START trigger for PFI inputs
David Schleef [Wed, 29 May 2002 04:28:22 +0000 (04:28 +0000)]
Fixed AI_START trigger for PFI inputs

22 years agomade cb_pcidas64 external trigger configuration consistent
Frank Mori Hess [Wed, 29 May 2002 00:17:52 +0000 (00:17 +0000)]
made cb_pcidas64 external trigger configuration consistent

22 years agonew driver from Anders
David Schleef [Mon, 20 May 2002 18:38:53 +0000 (18:38 +0000)]
new driver from Anders

22 years agoAdd ni_ao_reset()
David Schleef [Fri, 17 May 2002 21:14:58 +0000 (21:14 +0000)]
Add ni_ao_reset()

22 years ago*** empty log message ***
David Schleef [Fri, 17 May 2002 20:27:57 +0000 (20:27 +0000)]
*** empty log message ***

22 years agoMostly revert CR_ALT_SOURCE changes and do it differently.
David Schleef [Fri, 17 May 2002 20:26:25 +0000 (20:26 +0000)]
Mostly revert CR_ALT_SOURCE changes and do it differently.

22 years agoMake CR_PACK less strict. Useful for comedilib.
David Schleef [Fri, 17 May 2002 02:23:54 +0000 (02:23 +0000)]
Make CR_PACK less strict.  Useful for comedilib.

22 years agotwiddling some documentation
Frank Mori Hess [Fri, 17 May 2002 01:51:43 +0000 (01:51 +0000)]
twiddling some documentation

22 years agofixed rtai operation by adding start_rt_timer() and stop_rt_timer()
Frank Mori Hess [Fri, 17 May 2002 01:44:05 +0000 (01:44 +0000)]
fixed rtai operation by adding start_rt_timer() and stop_rt_timer()

22 years agoundid some of my wrong changes to try and get analog out working again
Frank Mori Hess [Fri, 17 May 2002 00:00:35 +0000 (00:00 +0000)]
undid some of my wrong changes to try and get analog out working again

22 years agoChange inttrig error handling. Fix spelling errors.
David Schleef [Thu, 16 May 2002 22:37:02 +0000 (22:37 +0000)]
Change inttrig error handling.  Fix spelling errors.

22 years agoChange calibration channel configuration to CR_ALT_SOURCE. Add
David Schleef [Thu, 16 May 2002 22:19:47 +0000 (22:19 +0000)]
Change calibration channel configuration to CR_ALT_SOURCE.  Add
start_src=TRIG_INT to analog input.  Remove (non-working) stop_src=
TRIG_COUNT from analog output.  Fix spelling of SDF_WRITABLE.

22 years agoRemove release_mem_region()
David Schleef [Thu, 16 May 2002 22:16:59 +0000 (22:16 +0000)]
Remove release_mem_region()

22 years agoUpdate documentation
David Schleef [Thu, 16 May 2002 22:16:12 +0000 (22:16 +0000)]
Update documentation

22 years agoRemove dead code
David Schleef [Thu, 16 May 2002 22:15:36 +0000 (22:15 +0000)]
Remove dead code

22 years ago*** empty log message ***
David Schleef [Thu, 16 May 2002 22:14:47 +0000 (22:14 +0000)]
*** empty log message ***

22 years agoGlobally fix spelling of SDF_WRITABLE
David Schleef [Thu, 16 May 2002 22:13:38 +0000 (22:13 +0000)]
Globally fix spelling of SDF_WRITABLE

22 years agoChange pseudo-locking to spin locks.
David Schleef [Thu, 16 May 2002 22:10:53 +0000 (22:10 +0000)]
Change pseudo-locking to spin locks.

22 years agoRemove export of comedi_errno.
David Schleef [Thu, 16 May 2002 21:41:57 +0000 (21:41 +0000)]
Remove export of comedi_errno.

22 years agoPut #ifdef around symbols that are conditionally defined
David Schleef [Thu, 16 May 2002 21:40:55 +0000 (21:40 +0000)]
Put #ifdef around symbols that are conditionally defined

22 years agofixed a bug I made
Frank Mori Hess [Thu, 16 May 2002 16:09:44 +0000 (16:09 +0000)]
fixed a bug I made

22 years agoFix long-standing spelling error of writable
David Schleef [Thu, 16 May 2002 00:48:24 +0000 (00:48 +0000)]
Fix long-standing spelling error of writable

22 years agoAdd PFI subdevice
David Schleef [Wed, 15 May 2002 19:33:52 +0000 (19:33 +0000)]
Add PFI subdevice

22 years agoAdded open/close hooks to device structure
David Schleef [Wed, 15 May 2002 19:08:53 +0000 (19:08 +0000)]
Added open/close hooks to device structure

22 years agoDon't need request_mem_region(). I think.
David Schleef [Wed, 15 May 2002 19:06:58 +0000 (19:06 +0000)]
Don't need request_mem_region().  I think.

22 years ago6402 and 6025 attach opposite meanings to single-ended/differential bit
Frank Mori Hess [Mon, 13 May 2002 04:07:31 +0000 (04:07 +0000)]
6402 and 6025 attach opposite meanings to single-ended/differential bit

22 years agofixing config insn
Frank Mori Hess [Mon, 13 May 2002 02:35:56 +0000 (02:35 +0000)]
fixing config insn

22 years agocorrected return values of config insn
Frank Mori Hess [Sun, 12 May 2002 03:08:58 +0000 (03:08 +0000)]
corrected return values of config insn

22 years agoadded -e option to depmod, to promote more useful error reports on 'make install'
Frank Mori Hess [Sun, 12 May 2002 00:32:16 +0000 (00:32 +0000)]
added -e option to depmod, to promote more useful error reports on 'make install'

22 years agoadded contec driver
Frank Mori Hess [Sun, 12 May 2002 00:26:17 +0000 (00:26 +0000)]
added contec driver

22 years agoComments about possible problems on 6040e
David Schleef [Sat, 11 May 2002 06:20:55 +0000 (06:20 +0000)]
Comments about possible problems on 6040e

22 years agoUpdate documentation
David Schleef [Sat, 11 May 2002 06:20:17 +0000 (06:20 +0000)]
Update documentation

22 years agoversion bump
David Schleef [Fri, 10 May 2002 18:10:43 +0000 (18:10 +0000)]
version bump

22 years agoDon't use debugging caldac.
David Schleef [Fri, 10 May 2002 18:09:54 +0000 (18:09 +0000)]
Don't use debugging caldac.

22 years agoadded config insn for choosing rising or falling edge trigger
Frank Mori Hess [Tue, 7 May 2002 23:24:25 +0000 (23:24 +0000)]
added config insn for choosing rising or falling edge trigger

22 years agosync with comedilib
Frank Mori Hess [Tue, 7 May 2002 22:58:45 +0000 (22:58 +0000)]
sync with comedilib

22 years agogot rid of redirection to /dev/null since a lot of people have been hitting errors
Frank Mori Hess [Tue, 7 May 2002 18:16:54 +0000 (18:16 +0000)]
got rid of redirection to /dev/null since a lot of people have been hitting errors
silently at this point

22 years agofix for broken compatibility headers in 2.2.18 through 2.2.20, got rid of
Frank Mori Hess [Fri, 3 May 2002 17:27:34 +0000 (17:27 +0000)]
fix for broken compatibility headers in 2.2.18 through 2.2.20, got rid of
devfs_get_handle() which was apparently a typo

22 years agodevfs support introduced in 2.2.18
Frank Mori Hess [Fri, 3 May 2002 16:27:32 +0000 (16:27 +0000)]
devfs support introduced in 2.2.18

22 years agoadded devfs_find_handle()
Frank Mori Hess [Fri, 3 May 2002 16:23:54 +0000 (16:23 +0000)]
added devfs_find_handle()

22 years agofixed compilation against 2.2.0 kernel
Frank Mori Hess [Fri, 3 May 2002 16:13:43 +0000 (16:13 +0000)]
fixed compilation against 2.2.0 kernel

22 years agomight as well make pci_request_regions allocate 1 ioport so it's
Frank Mori Hess [Fri, 3 May 2002 03:20:55 +0000 (03:20 +0000)]
might as well make pci_request_regions allocate 1 ioport so it's
not a complete waste

22 years agofixed pci_resource_len for pre 2.2.18 kernels, I didn't realize it was
Frank Mori Hess [Fri, 3 May 2002 03:11:28 +0000 (03:11 +0000)]
fixed pci_resource_len for pre 2.2.18 kernels, I didn't realize it was
just a dummy function even for later 2.2 kernels.  Make pci_request_regions
compatibility stuff pretty useless.

22 years agoput typedef of dma_addr_t in asm/types.h and restricted it to pre 2.2.18 kernels
Frank Mori Hess [Fri, 3 May 2002 02:58:48 +0000 (02:58 +0000)]
put typedef of dma_addr_t in asm/types.h and restricted it to pre 2.2.18 kernels

22 years agoadded pci_set_master() compatibility
Frank Mori Hess [Fri, 3 May 2002 02:52:05 +0000 (02:52 +0000)]
added pci_set_master() compatibility

22 years agoadded typedef of dma_addr_t for earlier 2.2 kernels
Frank Mori Hess [Fri, 3 May 2002 02:27:56 +0000 (02:27 +0000)]
added typedef of dma_addr_t for earlier 2.2 kernels

22 years agoImproved compatibility for 2.2.14. May break other 2.2.x kernels.
David Schleef [Thu, 2 May 2002 23:10:41 +0000 (23:10 +0000)]
Improved compatibility for 2.2.14.  May break other 2.2.x kernels.

22 years agoAdded compat header for devfs on 2.2. kernels
David Schleef [Thu, 2 May 2002 19:01:21 +0000 (19:01 +0000)]
Added compat header for devfs on 2.2. kernels

22 years agoAdded devfs support
David Schleef [Thu, 2 May 2002 19:00:54 +0000 (19:00 +0000)]
Added devfs support

22 years agofixing races
Frank Mori Hess [Thu, 2 May 2002 16:01:45 +0000 (16:01 +0000)]
fixing races

22 years agoFixed references to 0.5-like channels in documentation.
David Schleef [Tue, 30 Apr 2002 21:12:48 +0000 (21:12 +0000)]
Fixed references to 0.5-like channels in documentation.

22 years agoadded comments describing scheme for reading/writing to comedi's buffer
Frank Mori Hess [Mon, 29 Apr 2002 20:16:58 +0000 (20:16 +0000)]
added comments describing scheme for reading/writing to comedi's buffer
that should be race-free and reliably detect overruns.

22 years ago*** empty log message ***
David Schleef [Fri, 26 Apr 2002 18:35:18 +0000 (18:35 +0000)]
*** empty log message ***

22 years agoAdd Contec PCI DIO
David Schleef [Fri, 26 Apr 2002 18:35:02 +0000 (18:35 +0000)]
Add Contec PCI DIO

22 years agoAdd contec_pci_dio.o
David Schleef [Fri, 26 Apr 2002 18:34:43 +0000 (18:34 +0000)]
Add contec_pci_dio.o

22 years agoInitial cleanup for driver.
David Schleef [Fri, 26 Apr 2002 18:34:22 +0000 (18:34 +0000)]
Initial cleanup for driver.

22 years agoNew driver from <s.rivoir@gts.it>
David Schleef [Fri, 26 Apr 2002 18:34:02 +0000 (18:34 +0000)]
New driver from <s.rivoir@gts.it>

22 years agoChange from int to comedi_t *
David Schleef [Fri, 26 Apr 2002 18:30:41 +0000 (18:30 +0000)]
Change from int to comedi_t *

22 years agoMoved comments to documentation area. Fixed initialization problem
David Schleef [Fri, 26 Apr 2002 18:28:11 +0000 (18:28 +0000)]
Moved comments to documentation area.  Fixed initialization problem
for local variable.

22 years agoAdd a few more prototypes
David Schleef [Fri, 26 Apr 2002 18:26:33 +0000 (18:26 +0000)]
Add a few more prototypes

22 years agoAdd PCI_VENDOR_ID_CONTEC
David Schleef [Fri, 26 Apr 2002 18:26:13 +0000 (18:26 +0000)]
Add PCI_VENDOR_ID_CONTEC

22 years agoAdd get.o to link
David Schleef [Fri, 26 Apr 2002 18:25:14 +0000 (18:25 +0000)]
Add get.o to link

22 years agoGlobally change int to comedi_t *. Split out _get functions from
David Schleef [Fri, 26 Apr 2002 18:24:47 +0000 (18:24 +0000)]
Globally change int to comedi_t *.  Split out _get functions from
kcomedilib_main.c.  Use spinlock instead of stupid, buggy
comedi_lock_semaphore.

22 years agoChanged to use comedi_t * instead of int for device token
David Schleef [Thu, 25 Apr 2002 21:52:57 +0000 (21:52 +0000)]
Changed to use comedi_t * instead of int for device token

22 years agoRandom reordering. This needs to be cleaned up somehow.
David Schleef [Thu, 25 Apr 2002 21:51:32 +0000 (21:51 +0000)]
Random reordering.  This needs to be cleaned up somehow.

22 years agoAdded logging and error functions.
David Schleef [Thu, 25 Apr 2002 21:50:57 +0000 (21:50 +0000)]
Added logging and error functions.

22 years agoremoved settling delay from ai read insn
Frank Mori Hess [Thu, 25 Apr 2002 19:22:19 +0000 (19:22 +0000)]
removed settling delay from ai read insn

22 years agostripped out some settle delays in analog input read insn, as per official policy
Frank Mori Hess [Thu, 25 Apr 2002 17:27:17 +0000 (17:27 +0000)]
stripped out some settle delays in analog input read insn, as per official policy

22 years agominor changes to get rid of 'statement with no effect' compiler warnings
Frank Mori Hess [Tue, 23 Apr 2002 15:08:35 +0000 (15:08 +0000)]
minor changes to get rid of 'statement with no effect' compiler warnings
on 2.2 kernel

22 years agoadded pci_disable_device()
Frank Mori Hess [Tue, 23 Apr 2002 15:07:57 +0000 (15:07 +0000)]
added pci_disable_device()

22 years agoAdded PCI-6534
David Schleef [Mon, 22 Apr 2002 04:04:34 +0000 (04:04 +0000)]
Added PCI-6534