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

23 years agoPowerPC has higher IRQ numbers.
David Schleef [Sat, 14 Jul 2001 21:43:18 +0000 (21:43 +0000)]
PowerPC has higher IRQ numbers.

23 years agoAdd some headers
David Schleef [Sat, 14 Jul 2001 21:42:33 +0000 (21:42 +0000)]
Add some headers

23 years agoResolve conflict with function defined in PPC kernel
David Schleef [Sat, 14 Jul 2001 21:41:24 +0000 (21:41 +0000)]
Resolve conflict with function defined in PPC kernel

23 years agoFix a little buglet in cmd_test
David Schleef [Sat, 14 Jul 2001 21:39:24 +0000 (21:39 +0000)]
Fix a little buglet in cmd_test

23 years agoimproved initialization to make sure hardware conversion counter doesn't prevent
Frank Mori Hess [Sat, 14 Jul 2001 00:33:19 +0000 (00:33 +0000)]
improved initialization to make sure hardware conversion counter doesn't prevent
comedi_cmd from working, some other random changes

23 years agoadded a little more debug info
Frank Mori Hess [Fri, 13 Jul 2001 18:12:27 +0000 (18:12 +0000)]
added a little more debug info

23 years agooops, last time I was looking at the section of the manual that described the
Frank Mori Hess [Fri, 13 Jul 2001 17:41:49 +0000 (17:41 +0000)]
oops, last time I was looking at the section of the manual that described the
s5920 instead of the s5933 section

23 years agoAdded pci_enable_device()
David Schleef [Fri, 13 Jul 2001 01:55:05 +0000 (01:55 +0000)]
Added pci_enable_device()

23 years agotrying to get interrupts enabled on the amcc s5933...
Frank Mori Hess [Thu, 12 Jul 2001 16:24:27 +0000 (16:24 +0000)]
trying to get interrupts enabled on the amcc s5933...

23 years agoAdded INSN_CONFIG to insn parsing.
David Schleef [Wed, 11 Jul 2001 19:01:01 +0000 (19:01 +0000)]
Added INSN_CONFIG to insn parsing.

23 years agofixed detection of analog input or output subdevice
Frank Mori Hess [Tue, 10 Jul 2001 22:28:44 +0000 (22:28 +0000)]
fixed detection of analog input or output subdevice

23 years agoFix problem with DO subdevices in insn_rw_emulate_bits()
David Schleef [Tue, 10 Jul 2001 22:12:17 +0000 (22:12 +0000)]
Fix problem with DO subdevices in insn_rw_emulate_bits()

23 years agoset sdf readable flag for digital output
Frank Mori Hess [Tue, 10 Jul 2001 21:59:21 +0000 (21:59 +0000)]
set sdf readable flag for digital output

23 years ago*** empty log message ***
David Schleef [Tue, 10 Jul 2001 21:47:25 +0000 (21:47 +0000)]
*** empty log message ***

23 years agoNeeds more help
David Schleef [Tue, 10 Jul 2001 21:46:41 +0000 (21:46 +0000)]
Needs more help

23 years agoEmpty file needed here
David Schleef [Tue, 10 Jul 2001 21:45:46 +0000 (21:45 +0000)]
Empty file needed here

23 years agoPerl rocks my world
David Schleef [Tue, 10 Jul 2001 21:42:15 +0000 (21:42 +0000)]
Perl rocks my world

23 years agoFix memory leak with caldac maxdata list.
David Schleef [Tue, 10 Jul 2001 21:32:04 +0000 (21:32 +0000)]
Fix memory leak with caldac maxdata list.
Changed init of AI_Personal_Register to 0xa420.  Could cause problems.

23 years agoFix buffer overrun problem
David Schleef [Tue, 10 Jul 2001 21:28:14 +0000 (21:28 +0000)]
Fix buffer overrun problem

23 years agoBecome more evil about checking for instruction support
David Schleef [Tue, 10 Jul 2001 21:27:39 +0000 (21:27 +0000)]
Become more evil about checking for instruction support

23 years agoAdd a check_driver override
David Schleef [Tue, 10 Jul 2001 21:25:56 +0000 (21:25 +0000)]
Add a check_driver override

23 years agoFix cmdtest logic bug
David Schleef [Tue, 10 Jul 2001 21:23:18 +0000 (21:23 +0000)]
Fix cmdtest logic bug

23 years agoSplit check_and_setup_channel_list() into separate functions
David Schleef [Tue, 10 Jul 2001 21:20:02 +0000 (21:20 +0000)]
Split check_and_setup_channel_list() into separate functions

23 years agoAdded wrapper defs for cmdtest
David Schleef [Tue, 10 Jul 2001 21:19:12 +0000 (21:19 +0000)]
Added wrapper defs for cmdtest

23 years agoAdded chunk for ni_at_a2150
David Schleef [Tue, 10 Jul 2001 21:11:39 +0000 (21:11 +0000)]
Added chunk for ni_at_a2150

23 years agoRemove old drivers
David Schleef [Tue, 10 Jul 2001 21:04:20 +0000 (21:04 +0000)]
Remove old drivers

23 years agoRemoved -old drivers
David Schleef [Tue, 10 Jul 2001 21:03:46 +0000 (21:03 +0000)]
Removed -old drivers

23 years agoSo long, you served well.
David Schleef [Tue, 10 Jul 2001 21:02:20 +0000 (21:02 +0000)]
So long, you served well.

23 years agoAdd len_chanlist initialization
David Schleef [Tue, 10 Jul 2001 20:22:40 +0000 (20:22 +0000)]
Add len_chanlist initialization

23 years agoFix len_chanlist comment
David Schleef [Tue, 10 Jul 2001 20:22:19 +0000 (20:22 +0000)]
Fix len_chanlist comment

23 years agomerged ivan's changes with mine
Frank Mori Hess [Tue, 10 Jul 2001 16:34:03 +0000 (16:34 +0000)]
merged ivan's changes with mine

23 years agoadded initialization of s->len_chanlist
Frank Mori Hess [Mon, 9 Jul 2001 21:13:10 +0000 (21:13 +0000)]
added initialization of s->len_chanlist

23 years agooops forgot to include header file
Frank Mori Hess [Mon, 9 Jul 2001 18:38:56 +0000 (18:38 +0000)]
oops forgot to include header file

23 years agoadded 2 8255 digital io subdevices
Frank Mori Hess [Mon, 9 Jul 2001 18:38:03 +0000 (18:38 +0000)]
added 2 8255 digital io subdevices

23 years agofixed attach/detach so ioports are only released if they were successfully allocated
Frank Mori Hess [Mon, 9 Jul 2001 18:26:44 +0000 (18:26 +0000)]
fixed attach/detach so ioports are only released if they were successfully allocated

23 years agodebugging moves slowly forward...
Frank Mori Hess [Sun, 8 Jul 2001 23:07:53 +0000 (23:07 +0000)]
debugging moves slowly forward...

23 years agoput if(cmd->chanlist) block in cmdtest
Frank Mori Hess [Sun, 8 Jul 2001 22:43:29 +0000 (22:43 +0000)]
put if(cmd->chanlist) block in cmdtest