comedi.git
23 years agoDefine KILL_FASYNC()
David Schleef [Mon, 13 Aug 2001 11:08:42 +0000 (11:08 +0000)]
Define KILL_FASYNC()

23 years agoAdd check on .o file for symbol leakage
David Schleef [Mon, 13 Aug 2001 11:08:05 +0000 (11:08 +0000)]
Add check on .o file for symbol leakage

23 years agoFix symbol leaks
David Schleef [Mon, 13 Aug 2001 11:07:13 +0000 (11:07 +0000)]
Fix symbol leaks

23 years agoWant to keep comedi in comedi/, not drivers/comedi/
David Schleef [Mon, 13 Aug 2001 10:33:15 +0000 (10:33 +0000)]
Want to keep comedi in comedi/, not drivers/comedi/

23 years agoEliminated test on LINUX_V2x in favor of LINUX_VERSION_CODE tests.
David Schleef [Mon, 13 Aug 2001 10:29:19 +0000 (10:29 +0000)]
Eliminated test on LINUX_V2x in favor of LINUX_VERSION_CODE tests.

23 years agoRemove kern_compat, because it isn't used anymore.
David Schleef [Mon, 13 Aug 2001 10:27:54 +0000 (10:27 +0000)]
Remove kern_compat, because it isn't used anymore.
Fixed COMEDI_RELEASE.  Pendantry.

23 years agoAdd error to check if included directly
David Schleef [Mon, 13 Aug 2001 10:26:57 +0000 (10:26 +0000)]
Add error to check if included directly

23 years agoInclude comedidev instead of comedi_rt
David Schleef [Mon, 13 Aug 2001 10:26:28 +0000 (10:26 +0000)]
Include comedidev instead of comedi_rt

23 years agoFix Linux version dependencies
David Schleef [Mon, 13 Aug 2001 10:25:28 +0000 (10:25 +0000)]
Fix Linux version dependencies

23 years agoInitial priority IRQ support
David Schleef [Mon, 13 Aug 2001 10:23:35 +0000 (10:23 +0000)]
Initial priority IRQ support

23 years agoKeep comedi in same directory for now
David Schleef [Mon, 13 Aug 2001 10:21:34 +0000 (10:21 +0000)]
Keep comedi in same directory for now

23 years agoMove header file to the place where header files belong
David Schleef [Mon, 13 Aug 2001 10:01:00 +0000 (10:01 +0000)]
Move header file to the place where header files belong

23 years agoFix include of comedidev.h
David Schleef [Mon, 13 Aug 2001 09:41:27 +0000 (09:41 +0000)]
Fix include of comedidev.h

23 years agoMove define_bool for CONFIG_COMEDI
David Schleef [Mon, 13 Aug 2001 09:39:50 +0000 (09:39 +0000)]
Move define_bool for CONFIG_COMEDI

23 years agoAdded support for kbuild-2.5
David Schleef [Mon, 13 Aug 2001 09:35:33 +0000 (09:35 +0000)]
Added support for kbuild-2.5

23 years agoAdd board code for 6711, remove boards that will never be supported
David Schleef [Fri, 10 Aug 2001 22:29:28 +0000 (22:29 +0000)]
Add board code for 6711, remove boards that will never be supported

23 years agoAdd board code for DAQCard-6024E
David Schleef [Fri, 10 Aug 2001 22:28:42 +0000 (22:28 +0000)]
Add board code for DAQCard-6024E

23 years agoReplace pci_enable_device and add pci_set_master
David Schleef [Fri, 10 Aug 2001 22:28:07 +0000 (22:28 +0000)]
Replace pci_enable_device and add pci_set_master

23 years agoMoved some stuff to comedilib sgml doc
David Schleef [Fri, 10 Aug 2001 22:27:16 +0000 (22:27 +0000)]
Moved some stuff to comedilib sgml doc

23 years ago*** empty log message ***
David Schleef [Fri, 10 Aug 2001 22:26:46 +0000 (22:26 +0000)]
*** empty log message ***

23 years agotook into account possibility of pci_enable_device() failing
Frank Mori Hess [Thu, 9 Aug 2001 23:37:09 +0000 (23:37 +0000)]
took into account possibility of pci_enable_device() failing

23 years agoadded analog out insn for 1602 series
Frank Mori Hess [Thu, 9 Aug 2001 23:36:18 +0000 (23:36 +0000)]
added analog out insn for 1602 series

23 years agofixed pci autodetection that could have been confused by a second computer
Frank Mori Hess [Thu, 9 Aug 2001 17:20:41 +0000 (17:20 +0000)]
fixed pci autodetection that could have been confused by a second computer
boards card being present that was not supported by this driver.

23 years agofix for 2.4 kernels, fix uninitialized use of 'range' variable in pci230_ai_cmd()
Frank Mori Hess [Thu, 9 Aug 2001 16:45:27 +0000 (16:45 +0000)]
fix for 2.4 kernels, fix uninitialized use of 'range' variable in pci230_ai_cmd()

23 years agofixes for amplc_pci230.c
David Schleef [Thu, 9 Aug 2001 09:10:19 +0000 (09:10 +0000)]
fixes for amplc_pci230.c

23 years agoNew driver
David Schleef [Thu, 9 Aug 2001 08:18:52 +0000 (08:18 +0000)]
New driver

23 years agoA new driver from Allan Willcox.
David Schleef [Thu, 9 Aug 2001 08:18:42 +0000 (08:18 +0000)]
A new driver from Allan Willcox.

23 years agoadded pcidas-1602/16/jr entry
Frank Mori Hess [Mon, 6 Aug 2001 21:58:30 +0000 (21:58 +0000)]
added pcidas-1602/16/jr entry

23 years agoadded analog out insn for 1000 and 1200 series
Frank Mori Hess [Mon, 6 Aug 2001 21:48:05 +0000 (21:48 +0000)]
added analog out insn for 1000 and 1200 series

23 years agofix for 16 bit cards with smaller 512 sample fifo. some preparations for adding
Frank Mori Hess [Fri, 3 Aug 2001 20:37:55 +0000 (20:37 +0000)]
fix for 16 bit cards with smaller 512 sample fifo.  some preparations for adding
analog out support

23 years agofixed bug in cmdtest level 2
Frank Mori Hess [Thu, 2 Aug 2001 18:06:57 +0000 (18:06 +0000)]
fixed bug in cmdtest level 2

23 years agoremoved a bunch of unnecessary address-of operators which seem logically wrong, although
Frank Mori Hess [Thu, 2 Aug 2001 02:05:22 +0000 (02:05 +0000)]
removed a bunch of unnecessary address-of operators which seem logically wrong, although
this don't have any actual effect since gcc just seems to ignore them anyways.

23 years agomaking the common 'subdevice does not support commands' debugging message
Frank Mori Hess [Thu, 2 Aug 2001 01:33:45 +0000 (01:33 +0000)]
making the common 'subdevice does not support commands' debugging message
slightly more informative

23 years agoRearrange flags used for both cmd and trig. Added COMEDI_EV flags.
David Schleef [Wed, 1 Aug 2001 12:25:49 +0000 (12:25 +0000)]
Rearrange flags used for both cmd and trig.  Added COMEDI_EV flags.

23 years agoEnabled PCIDMA by default. Moved various functions into #ifdefs
David Schleef [Wed, 1 Aug 2001 12:13:16 +0000 (12:13 +0000)]
Enabled PCIDMA by default.  Moved various functions into #ifdefs
on PCIDMA.  Code cleanup.  Changed sign bit fixing sequences to
be addition.  Removed interrupt enabling in ni_ai_insn_read().

23 years agoversion bump
David Schleef [Wed, 1 Aug 2001 12:09:00 +0000 (12:09 +0000)]
version bump

23 years agoRemoved TRY_BLOCK code.
David Schleef [Wed, 1 Aug 2001 10:08:38 +0000 (10:08 +0000)]
Removed TRY_BLOCK code.

23 years agoAdded beginning of analog trigger support.
David Schleef [Wed, 1 Aug 2001 10:06:23 +0000 (10:06 +0000)]
Added beginning of analog trigger support.
Fixed dithering and deglitching.
Changed some board struct elements to boolean.

23 years agoA bunch of hopefully idempotent changes.
David Schleef [Wed, 1 Aug 2001 10:03:24 +0000 (10:03 +0000)]
A bunch of hopefully idempotent changes.

23 years agoA bunch of hopfully idempotent changes, mostly cleanups. A few
David Schleef [Wed, 1 Aug 2001 10:01:44 +0000 (10:01 +0000)]
A bunch of hopfully idempotent changes, mostly cleanups.  A few
minor bugfixes.

23 years agoFix typo
David Schleef [Mon, 30 Jul 2001 20:36:29 +0000 (20:36 +0000)]
Fix typo

23 years agoadded more dumping of debugging info
Frank Mori Hess [Mon, 30 Jul 2001 18:52:22 +0000 (18:52 +0000)]
added more dumping of debugging info

23 years agoMITE DMA works with any size acquisition and any size buffer, although
Tim Ousley [Sat, 28 Jul 2001 19:48:01 +0000 (19:48 +0000)]
MITE DMA works with any size acquisition and any size buffer, although
large buffers are still best.

23 years agoadded a pci_enable_device() call
Frank Mori Hess [Sat, 28 Jul 2001 14:50:18 +0000 (14:50 +0000)]
added a pci_enable_device() call

23 years agogetting rid of premature interrupt that occurs during attach, disabling
Frank Mori Hess [Fri, 27 Jul 2001 20:35:10 +0000 (20:35 +0000)]
getting rid of premature interrupt that occurs during attach, disabling
burst mode unless the chanlist actually has more than a single entry

23 years agoremoved nulling of s->busy in driver
Frank Mori Hess [Fri, 27 Jul 2001 18:54:37 +0000 (18:54 +0000)]
removed nulling of s->busy in driver

23 years agosilly me forgot to initialize software count of number of conversions
Frank Mori Hess [Fri, 27 Jul 2001 16:01:29 +0000 (16:01 +0000)]
silly me forgot to initialize software count of number of conversions

23 years agorounded up minimum conversion periods so cmd test doesn't get stuck between returning...
Frank Mori Hess [Fri, 27 Jul 2001 15:34:36 +0000 (15:34 +0000)]
rounded up minimum conversion periods so cmd test doesn't get stuck between returning 3 and 4

23 years agoUpdated with my least favorite questions to answer. r0_7_60
David Schleef [Thu, 26 Jul 2001 22:43:40 +0000 (22:43 +0000)]
Updated with my least favorite questions to answer.

23 years agoMake note of Red Hat kernel doc
David Schleef [Thu, 26 Jul 2001 22:28:43 +0000 (22:28 +0000)]
Make note of Red Hat kernel doc

23 years agoMore info
David Schleef [Thu, 26 Jul 2001 22:26:11 +0000 (22:26 +0000)]
More info

23 years agoFix for PowerPC. I'd bet it breaks i386.
David Schleef [Thu, 26 Jul 2001 13:16:15 +0000 (13:16 +0000)]
Fix for PowerPC.  I'd bet it breaks i386.

23 years agoFixes for RTAI. Change RT_TASK to be kmalloc'ed instead of
David Schleef [Thu, 26 Jul 2001 13:14:02 +0000 (13:14 +0000)]
Fixes for RTAI.  Change RT_TASK to be kmalloc'ed instead of
part of the devpriv structure because of alignment issues.
Switched to one-shot mode (for RTAI).  Changed task priority
to not conflict with RTAI watchdog.  More careful about
task init failure.

23 years agoFix to pull in the RTAI config.h
David Schleef [Thu, 26 Jul 2001 13:05:22 +0000 (13:05 +0000)]
Fix to pull in the RTAI config.h

23 years agoChange from Michal Dobes. Enables shared interrupt for rtc, so multiple interrupt
Frank Mori Hess [Thu, 26 Jul 2001 00:39:43 +0000 (00:39 +0000)]
Change from Michal Dobes.  Enables shared interrupt for rtc, so multiple interrupt
handlers can be attached to its interrupt.  It's wierd, but what the heck.

23 years agofix to prevent use of rt interrupt with shared interrupt
Frank Mori Hess [Wed, 25 Jul 2001 23:21:02 +0000 (23:21 +0000)]
fix to prevent use of rt interrupt with shared interrupt

23 years agofixed analog input insn wait for end of conversion, fixed external start trigger,
Frank Mori Hess [Tue, 24 Jul 2001 16:35:10 +0000 (16:35 +0000)]
fixed analog input insn wait for end of conversion, fixed external start trigger,
tweaked interrupt clearing.

23 years agoDon't fail if PCMCIA version doesn't match.
David Schleef [Tue, 24 Jul 2001 10:38:35 +0000 (10:38 +0000)]
Don't fail if PCMCIA version doesn't match.

23 years agosubdevice structure elements do_lock and do_unlock are unused, so
David Schleef [Tue, 24 Jul 2001 10:36:49 +0000 (10:36 +0000)]
subdevice structure elements do_lock and do_unlock are unused, so
comment them out

23 years agoRemove s->do_lock, s->do_unlock
David Schleef [Tue, 24 Jul 2001 10:35:58 +0000 (10:35 +0000)]
Remove s->do_lock, s->do_unlock

23 years agoChange some print's to DPRINTK's
David Schleef [Tue, 24 Jul 2001 10:35:18 +0000 (10:35 +0000)]
Change some print's to DPRINTK's

23 years agofix typo in document number
David Schleef [Tue, 24 Jul 2001 10:34:27 +0000 (10:34 +0000)]
fix typo in document number

23 years agoUncomment pci_enable_device check
David Schleef [Tue, 24 Jul 2001 10:33:42 +0000 (10:33 +0000)]
Uncomment pci_enable_device check

23 years agoCleanups, add check_timed()
David Schleef [Tue, 24 Jul 2001 10:33:09 +0000 (10:33 +0000)]
Cleanups, add check_timed()

23 years ago#ifdef for some experimental RTAI code
David Schleef [Tue, 24 Jul 2001 10:32:05 +0000 (10:32 +0000)]
#ifdef for some experimental RTAI code

23 years agoadded virt_to_bus() translations to set_dma_addr() arguments
Frank Mori Hess [Tue, 24 Jul 2001 00:28:28 +0000 (00:28 +0000)]
added virt_to_bus() translations to set_dma_addr() arguments

23 years agoundid some of my changes, applying michael dobe's patch with some fixes
Frank Mori Hess [Mon, 23 Jul 2001 23:04:11 +0000 (23:04 +0000)]
undid some of my changes, applying michael dobe's patch with some fixes

23 years agodrop attempted use of demand-mode dma
Frank Mori Hess [Mon, 23 Jul 2001 22:04:17 +0000 (22:04 +0000)]
drop attempted use of demand-mode dma

23 years agobug fixes
Frank Mori Hess [Mon, 23 Jul 2001 18:50:58 +0000 (18:50 +0000)]
bug fixes

23 years ago*** empty log message ***
David Schleef [Mon, 23 Jul 2001 18:47:50 +0000 (18:47 +0000)]
*** empty log message ***

23 years agoUpdate from Michal Dobes
David Schleef [Mon, 23 Jul 2001 18:47:38 +0000 (18:47 +0000)]
Update from Michal Dobes

23 years agoUpdates from Michal Dobes
David Schleef [Mon, 23 Jul 2001 18:46:52 +0000 (18:46 +0000)]
Updates from Michal Dobes

23 years agoAdded some stuff
David Schleef [Mon, 23 Jul 2001 18:45:20 +0000 (18:45 +0000)]
Added some stuff

23 years agoPatch from Dan
David Schleef [Mon, 23 Jul 2001 18:43:38 +0000 (18:43 +0000)]
Patch from Dan

23 years agomore lines to clear that interrupt
Frank Mori Hess [Mon, 23 Jul 2001 15:27:38 +0000 (15:27 +0000)]
more lines to clear that interrupt

23 years agocomedi_cmd works now, added some debugging info to insn
Frank Mori Hess [Sun, 22 Jul 2001 22:00:26 +0000 (22:00 +0000)]
comedi_cmd works now, added some debugging info to insn

23 years agoshould work now, really.
Frank Mori Hess [Sun, 22 Jul 2001 16:11:04 +0000 (16:11 +0000)]
should work now, really.

23 years agofixed compile error
Frank Mori Hess [Sun, 22 Jul 2001 16:10:31 +0000 (16:10 +0000)]
fixed compile error

23 years agoadded reset and sync of adc circuitry to attach as recommened by manual
Frank Mori Hess [Sun, 22 Jul 2001 05:02:42 +0000 (05:02 +0000)]
added reset and sync of adc circuitry to attach as recommened by manual

23 years agobug fixes
Frank Mori Hess [Sun, 22 Jul 2001 04:53:27 +0000 (04:53 +0000)]
bug fixes

23 years agofixed channel selection bits that had confused binary with hex
Frank Mori Hess [Sun, 22 Jul 2001 04:21:04 +0000 (04:21 +0000)]
fixed channel selection bits that had confused binary with hex

23 years agoadded a couple boards
Frank Mori Hess [Fri, 20 Jul 2001 19:26:42 +0000 (19:26 +0000)]
added a couple boards

23 years agosome updates
Frank Mori Hess [Fri, 20 Jul 2001 19:18:41 +0000 (19:18 +0000)]
some updates

23 years agoadded a couple entries
Frank Mori Hess [Fri, 20 Jul 2001 18:47:45 +0000 (18:47 +0000)]
added a couple entries

23 years agomade chanlist cmdtests return 5
Frank Mori Hess [Fri, 20 Jul 2001 18:40:17 +0000 (18:40 +0000)]
made chanlist cmdtests return 5

23 years agoadded analog input insn
Frank Mori Hess [Fri, 20 Jul 2001 18:37:25 +0000 (18:37 +0000)]
added analog input insn

23 years agomoved pci_enable_device to get rid of statement with no effect' compiler warning
Frank Mori Hess [Fri, 20 Jul 2001 15:24:25 +0000 (15:24 +0000)]
moved pci_enable_device to get rid of statement with no effect' compiler warning

23 years ago2.4 kernel pci fixes
Frank Mori Hess [Fri, 20 Jul 2001 15:23:30 +0000 (15:23 +0000)]
2.4 kernel pci fixes

23 years agoAdd pci_enable_device()
David Schleef [Thu, 19 Jul 2001 22:13:28 +0000 (22:13 +0000)]
Add pci_enable_device()

23 years agofixing some bitrot
Frank Mori Hess [Thu, 19 Jul 2001 16:37:54 +0000 (16:37 +0000)]
fixing some bitrot

23 years agoadded start_src TRIG_EXT and stop_src TRIG_NONE
Frank Mori Hess [Wed, 18 Jul 2001 22:57:38 +0000 (22:57 +0000)]
added start_src TRIG_EXT and stop_src TRIG_NONE

23 years agofixed amcc s5933 interrupt clear so it doesn't disable interrupts also
Frank Mori Hess [Wed, 18 Jul 2001 17:10:21 +0000 (17:10 +0000)]
fixed amcc s5933 interrupt clear so it doesn't disable interrupts also

23 years agointerrupts are working, trying to get them cleared properly now.
Frank Mori Hess [Wed, 18 Jul 2001 16:45:45 +0000 (16:45 +0000)]
interrupts are working, trying to get them cleared properly now.

23 years agoFixed high-bit problem for AO on ao_unipolar=1 boards.
David Schleef [Wed, 18 Jul 2001 08:55:12 +0000 (08:55 +0000)]
Fixed high-bit problem for AO on ao_unipolar=1 boards.

23 years agoSlap together some notes about insn_config
David Schleef [Wed, 18 Jul 2001 08:15:41 +0000 (08:15 +0000)]
Slap together some notes about insn_config

23 years agomaking progress now...
Frank Mori Hess [Mon, 16 Jul 2001 15:48:53 +0000 (15:48 +0000)]
making progress now...

23 years agoadded to a comment
Frank Mori Hess [Sun, 15 Jul 2001 19:14:18 +0000 (19:14 +0000)]
added to a comment

23 years agofixed typo in a2150_get_timing()
Frank Mori Hess [Sun, 15 Jul 2001 18:39:39 +0000 (18:39 +0000)]
fixed typo in a2150_get_timing()

23 years agoadded rejection of count == 1 for mode 3, added i8254_read() function
Frank Mori Hess [Sun, 15 Jul 2001 01:40:50 +0000 (01:40 +0000)]
added rejection of count == 1 for mode 3, added i8254_read() function

23 years agofixed bug in cmd_test
Frank Mori Hess [Sun, 15 Jul 2001 01:18:58 +0000 (01:18 +0000)]
fixed bug in cmd_test