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

23 years agomade digital output readable
Frank Mori Hess [Sun, 8 Jul 2001 22:41:22 +0000 (22:41 +0000)]
made digital output readable

23 years agoput if(cmd->chanlist) block in cmdtest, dropped digital io read/write insn
Frank Mori Hess [Sun, 8 Jul 2001 22:40:46 +0000 (22:40 +0000)]
put if(cmd->chanlist) block in cmdtest, dropped digital io read/write insn
that have been replaced by insn_bits.  Made digital output readable.

23 years agoput if(cmd->chanlist) block in cmdtest to prevent segfault with comedi_test.
Frank Mori Hess [Sun, 8 Jul 2001 22:27:15 +0000 (22:27 +0000)]
put if(cmd->chanlist) block in cmdtest to prevent segfault with comedi_test.
Chucked old digital io insn_read and insn_write since there is an insn_bits.
Added SUBD_READABLE flag to digital output device.

23 years agoFixed oops in das16_cmd_test() because cmd->chanlist was NULL.
David Schleef [Sun, 8 Jul 2001 21:46:44 +0000 (21:46 +0000)]
Fixed oops in das16_cmd_test() because cmd->chanlist was NULL.

23 years agoUpdate from ivan
David Schleef [Fri, 6 Jul 2001 20:13:56 +0000 (20:13 +0000)]
Update from ivan

23 years agofixed cmdtest
Frank Mori Hess [Fri, 6 Jul 2001 15:22:54 +0000 (15:22 +0000)]
fixed cmdtest

23 years agochanged declaration of bufinfo spinlock to static. This doesn't actually matter,
Frank Mori Hess [Thu, 5 Jul 2001 16:01:18 +0000 (16:01 +0000)]
changed declaration of bufinfo spinlock to static. This doesn't actually matter,
since it is only there to prevent interrupts, but makes the code look less buggy.

23 years agofix for trig emulation by cmd
Frank Mori Hess [Thu, 5 Jul 2001 15:55:09 +0000 (15:55 +0000)]
fix for trig emulation by cmd

23 years agoRemove duplicate code
David Schleef [Thu, 5 Jul 2001 05:34:47 +0000 (05:34 +0000)]
Remove duplicate code

23 years agoRewrote checking in comedi_fop_open(), fixed spinlock init
David Schleef [Thu, 5 Jul 2001 05:33:16 +0000 (05:33 +0000)]
Rewrote checking in comedi_fop_open(), fixed spinlock init
problem.

23 years agoFix Oops when reporting 0 boards.
David Schleef [Thu, 5 Jul 2001 05:29:18 +0000 (05:29 +0000)]
Fix Oops when reporting 0 boards.

23 years agoadded pc104 board definitions, fixed das16/330 definition
Frank Mori Hess [Wed, 4 Jul 2001 20:36:56 +0000 (20:36 +0000)]
added pc104 board definitions, fixed das16/330 definition

23 years ago2.4.6 kernel linux/mm.h does not define GFP_BUFFER...
Frank Mori Hess [Wed, 4 Jul 2001 19:12:36 +0000 (19:12 +0000)]
2.4.6 kernel linux/mm.h does not define GFP_BUFFER...

23 years agonew driver, untested
Frank Mori Hess [Tue, 3 Jul 2001 21:11:18 +0000 (21:11 +0000)]
new driver, untested

23 years agoCheck for dos-like end of line
David Schleef [Tue, 3 Jul 2001 00:31:38 +0000 (00:31 +0000)]
Check for dos-like end of line

23 years agoI'm gunna hafta start kickin' some asses if files are checked in
David Schleef [Tue, 3 Jul 2001 00:04:44 +0000 (00:04 +0000)]
I'm gunna hafta start kickin' some asses if files are checked in
with CR/LF end-of-lines.

23 years agomasked flags in divisor functions, so argument doesn't need to be masked before passi...
Frank Mori Hess [Mon, 2 Jul 2001 23:59:04 +0000 (23:59 +0000)]
masked flags in divisor functions, so argument doesn't need to be masked before passing to functions

23 years agoAdded ivan
David Schleef [Mon, 2 Jul 2001 23:57:58 +0000 (23:57 +0000)]
Added ivan

23 years agoremoved some unnecessary lines from command tests
Frank Mori Hess [Mon, 2 Jul 2001 23:57:36 +0000 (23:57 +0000)]
removed some unnecessary lines from command tests

23 years agorandom todo checkin
David Schleef [Mon, 2 Jul 2001 23:57:03 +0000 (23:57 +0000)]
random todo checkin

23 years agooops, small mistake won't make any difference but might as well be correct
Frank Mori Hess [Mon, 2 Jul 2001 03:33:38 +0000 (03:33 +0000)]
oops, small mistake won't make any difference but might as well be correct

23 years agofix for possible weirdness in ai read insn
Frank Mori Hess [Mon, 2 Jul 2001 03:16:49 +0000 (03:16 +0000)]
fix for possible weirdness in ai read insn

23 years agoUpdate from Ivan
David Schleef [Sun, 1 Jul 2001 00:02:11 +0000 (00:02 +0000)]
Update from Ivan

23 years agoHeh. revert change to config.in and apply to config.dist
David Schleef [Thu, 28 Jun 2001 23:33:11 +0000 (23:33 +0000)]
Heh.  revert change to config.in and apply to config.dist

23 years agoUpdate
David Schleef [Thu, 28 Jun 2001 23:31:51 +0000 (23:31 +0000)]
Update

23 years agoFix compilation for PCI code
David Schleef [Thu, 28 Jun 2001 23:31:16 +0000 (23:31 +0000)]
Fix compilation for PCI code

23 years agoAdded TRIG_OTHER
David Schleef [Thu, 28 Jun 2001 22:22:20 +0000 (22:22 +0000)]
Added TRIG_OTHER

23 years agoChange MOD_INSTALL_PATH to INSTALL_MOD_PATH
David Schleef [Wed, 27 Jun 2001 22:07:43 +0000 (22:07 +0000)]
Change MOD_INSTALL_PATH to INSTALL_MOD_PATH

23 years agoUpdates for cb_pcidda driver
David Schleef [Wed, 27 Jun 2001 19:08:27 +0000 (19:08 +0000)]
Updates for cb_pcidda driver

23 years agoNew driver from Ivan Martinez
David Schleef [Wed, 27 Jun 2001 19:06:48 +0000 (19:06 +0000)]
New driver from Ivan Martinez

23 years agominor updates
Frank Mori Hess [Wed, 27 Jun 2001 17:27:22 +0000 (17:27 +0000)]
minor updates

23 years agofix for stop_src == TRIG_NONE
Frank Mori Hess [Wed, 27 Jun 2001 16:29:27 +0000 (16:29 +0000)]
fix for stop_src == TRIG_NONE

23 years agoadded support for external triggering/pacing and burst mode
Frank Mori Hess [Tue, 26 Jun 2001 18:38:40 +0000 (18:38 +0000)]
added support for external triggering/pacing and burst mode

23 years agofixed include that prevented compile
Frank Mori Hess [Tue, 26 Jun 2001 16:27:35 +0000 (16:27 +0000)]
fixed include that prevented compile

23 years agofixed typo for pcm3730
Frank Mori Hess [Tue, 26 Jun 2001 16:26:18 +0000 (16:26 +0000)]
fixed typo for pcm3730

23 years agoscapped autoprobe, which was ultimately unable to distinguish boards, changed
Frank Mori Hess [Tue, 26 Jun 2001 01:27:25 +0000 (01:27 +0000)]
scapped autoprobe, which was ultimately unable to distinguish boards, changed
it into just a check that id bits are consistent with user's board selection.

23 years agoI recently stumbled across an explanation of why you clear the dma flip-flop...
Frank Mori Hess [Mon, 25 Jun 2001 22:36:16 +0000 (22:36 +0000)]
I recently stumbled across an explanation of why you clear the dma flip-flop...

23 years agoFix typo.
David Schleef [Mon, 25 Jun 2001 19:37:51 +0000 (19:37 +0000)]
Fix typo.

23 years agoupdated some entries for das16 and cb_pcidas
Frank Mori Hess [Mon, 25 Jun 2001 19:23:05 +0000 (19:23 +0000)]
updated some entries for das16 and cb_pcidas

23 years agofixes for burst mode, added das1201 das1202 entries. Autoprobing of board
Frank Mori Hess [Mon, 25 Jun 2001 18:46:23 +0000 (18:46 +0000)]
fixes for burst mode, added das1201 das1202 entries.  Autoprobing of board
types is weak, that needs to be fixed.

23 years agoupdated das16 and cb-pcidas info
Frank Mori Hess [Mon, 25 Jun 2001 17:18:04 +0000 (17:18 +0000)]
updated das16 and cb-pcidas info

23 years agoadded support for das1600 burst mode
Frank Mori Hess [Mon, 25 Jun 2001 17:05:40 +0000 (17:05 +0000)]
added support for das1600 burst mode

23 years agofixed error, added some comments
Frank Mori Hess [Mon, 25 Jun 2001 17:05:16 +0000 (17:05 +0000)]
fixed error, added some comments

23 years agofixed a bug I created
Frank Mori Hess [Sun, 24 Jun 2001 01:45:03 +0000 (01:45 +0000)]
fixed a bug I created

23 years agoadded preliminary comedi_cmd support. Untested.
Frank Mori Hess [Sun, 24 Jun 2001 01:32:44 +0000 (01:32 +0000)]
added preliminary comedi_cmd support.  Untested.

23 years agoentered correct max conversion rates
Frank Mori Hess [Sun, 24 Jun 2001 01:18:03 +0000 (01:18 +0000)]
entered correct max conversion rates

23 years agofixed settings of master clock speed through options
Frank Mori Hess [Sat, 23 Jun 2001 21:56:27 +0000 (21:56 +0000)]
fixed settings of master clock speed through options

23 years agofixed bugs with master clock speed in hertz instead of nanosec, added
Frank Mori Hess [Sat, 23 Jun 2001 18:11:37 +0000 (18:11 +0000)]
fixed bugs with master clock speed in hertz instead of nanosec, added
isa dma initialization code that I forgot to put in

23 years agooverhaul of comedi_cmd support. Needs more work, but ready for initial
Frank Mori Hess [Fri, 22 Jun 2001 23:34:17 +0000 (23:34 +0000)]
overhaul of comedi_cmd support.  Needs more work, but ready for initial
testing (Chris Baugher said he'd give it a test run.)

23 years agodma is no longer disabled in das1800 driver when rt suppport is configured
Frank Mori Hess [Fri, 22 Jun 2001 15:50:42 +0000 (15:50 +0000)]
dma is no longer disabled in das1800 driver when rt suppport is configured
for comedi.  dma is instead disabled on a cmd by cmd basis when the TRIG_RT
flag is received.

23 years agoFix header
David Schleef [Thu, 21 Jun 2001 22:43:42 +0000 (22:43 +0000)]
Fix header