Frank Mori Hess [Sat, 28 Jul 2001 14:50:18 +0000 (14:50 +0000)]
added a pci_enable_device() call
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
Frank Mori Hess [Fri, 27 Jul 2001 18:54:37 +0000 (18:54 +0000)]
removed nulling of s->busy in driver
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
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
David Schleef [Thu, 26 Jul 2001 22:43:40 +0000 (22:43 +0000)]
Updated with my least favorite questions to answer.
David Schleef [Thu, 26 Jul 2001 22:28:43 +0000 (22:28 +0000)]
Make note of Red Hat kernel doc
David Schleef [Thu, 26 Jul 2001 22:26:11 +0000 (22:26 +0000)]
More info
David Schleef [Thu, 26 Jul 2001 13:16:15 +0000 (13:16 +0000)]
Fix for PowerPC. I'd bet it breaks i386.
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.
David Schleef [Thu, 26 Jul 2001 13:05:22 +0000 (13:05 +0000)]
Fix to pull in the RTAI config.h
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.
Frank Mori Hess [Wed, 25 Jul 2001 23:21:02 +0000 (23:21 +0000)]
fix to prevent use of rt interrupt with shared interrupt
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.
David Schleef [Tue, 24 Jul 2001 10:38:35 +0000 (10:38 +0000)]
Don't fail if PCMCIA version doesn't match.
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
David Schleef [Tue, 24 Jul 2001 10:35:58 +0000 (10:35 +0000)]
Remove s->do_lock, s->do_unlock
David Schleef [Tue, 24 Jul 2001 10:35:18 +0000 (10:35 +0000)]
Change some print's to DPRINTK's
David Schleef [Tue, 24 Jul 2001 10:34:27 +0000 (10:34 +0000)]
fix typo in document number
David Schleef [Tue, 24 Jul 2001 10:33:42 +0000 (10:33 +0000)]
Uncomment pci_enable_device check
David Schleef [Tue, 24 Jul 2001 10:33:09 +0000 (10:33 +0000)]
Cleanups, add check_timed()
David Schleef [Tue, 24 Jul 2001 10:32:05 +0000 (10:32 +0000)]
#ifdef for some experimental RTAI code
Frank Mori Hess [Tue, 24 Jul 2001 00:28:28 +0000 (00:28 +0000)]
added virt_to_bus() translations to set_dma_addr() arguments
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
Frank Mori Hess [Mon, 23 Jul 2001 22:04:17 +0000 (22:04 +0000)]
drop attempted use of demand-mode dma
Frank Mori Hess [Mon, 23 Jul 2001 18:50:58 +0000 (18:50 +0000)]
bug fixes
David Schleef [Mon, 23 Jul 2001 18:47:50 +0000 (18:47 +0000)]
*** empty log message ***
David Schleef [Mon, 23 Jul 2001 18:47:38 +0000 (18:47 +0000)]
Update from Michal Dobes
David Schleef [Mon, 23 Jul 2001 18:46:52 +0000 (18:46 +0000)]
Updates from Michal Dobes
David Schleef [Mon, 23 Jul 2001 18:45:20 +0000 (18:45 +0000)]
Added some stuff
David Schleef [Mon, 23 Jul 2001 18:43:38 +0000 (18:43 +0000)]
Patch from Dan
Frank Mori Hess [Mon, 23 Jul 2001 15:27:38 +0000 (15:27 +0000)]
more lines to clear that interrupt
Frank Mori Hess [Sun, 22 Jul 2001 22:00:26 +0000 (22:00 +0000)]
comedi_cmd works now, added some debugging info to insn
Frank Mori Hess [Sun, 22 Jul 2001 16:11:04 +0000 (16:11 +0000)]
should work now, really.
Frank Mori Hess [Sun, 22 Jul 2001 16:10:31 +0000 (16:10 +0000)]
fixed compile error
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
Frank Mori Hess [Sun, 22 Jul 2001 04:53:27 +0000 (04:53 +0000)]
bug fixes
Frank Mori Hess [Sun, 22 Jul 2001 04:21:04 +0000 (04:21 +0000)]
fixed channel selection bits that had confused binary with hex
Frank Mori Hess [Fri, 20 Jul 2001 19:26:42 +0000 (19:26 +0000)]
added a couple boards
Frank Mori Hess [Fri, 20 Jul 2001 19:18:41 +0000 (19:18 +0000)]
some updates
Frank Mori Hess [Fri, 20 Jul 2001 18:47:45 +0000 (18:47 +0000)]
added a couple entries
Frank Mori Hess [Fri, 20 Jul 2001 18:40:17 +0000 (18:40 +0000)]
made chanlist cmdtests return 5
Frank Mori Hess [Fri, 20 Jul 2001 18:37:25 +0000 (18:37 +0000)]
added analog input insn
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
Frank Mori Hess [Fri, 20 Jul 2001 15:23:30 +0000 (15:23 +0000)]
2.4 kernel pci fixes
David Schleef [Thu, 19 Jul 2001 22:13:28 +0000 (22:13 +0000)]
Add pci_enable_device()
Frank Mori Hess [Thu, 19 Jul 2001 16:37:54 +0000 (16:37 +0000)]
fixing some bitrot
Frank Mori Hess [Wed, 18 Jul 2001 22:57:38 +0000 (22:57 +0000)]
added start_src TRIG_EXT and stop_src TRIG_NONE
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
Frank Mori Hess [Wed, 18 Jul 2001 16:45:45 +0000 (16:45 +0000)]
interrupts are working, trying to get them cleared properly now.
David Schleef [Wed, 18 Jul 2001 08:55:12 +0000 (08:55 +0000)]
Fixed high-bit problem for AO on ao_unipolar=1 boards.
David Schleef [Wed, 18 Jul 2001 08:15:41 +0000 (08:15 +0000)]
Slap together some notes about insn_config
Frank Mori Hess [Mon, 16 Jul 2001 15:48:53 +0000 (15:48 +0000)]
making progress now...
Frank Mori Hess [Sun, 15 Jul 2001 19:14:18 +0000 (19:14 +0000)]
added to a comment
Frank Mori Hess [Sun, 15 Jul 2001 18:39:39 +0000 (18:39 +0000)]
fixed typo in a2150_get_timing()
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
Frank Mori Hess [Sun, 15 Jul 2001 01:18:58 +0000 (01:18 +0000)]
fixed bug in cmd_test
David Schleef [Sat, 14 Jul 2001 21:43:18 +0000 (21:43 +0000)]
PowerPC has higher IRQ numbers.
David Schleef [Sat, 14 Jul 2001 21:42:33 +0000 (21:42 +0000)]
Add some headers
David Schleef [Sat, 14 Jul 2001 21:41:24 +0000 (21:41 +0000)]
Resolve conflict with function defined in PPC kernel
David Schleef [Sat, 14 Jul 2001 21:39:24 +0000 (21:39 +0000)]
Fix a little buglet in cmd_test
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
Frank Mori Hess [Fri, 13 Jul 2001 18:12:27 +0000 (18:12 +0000)]
added a little more debug info
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
David Schleef [Fri, 13 Jul 2001 01:55:05 +0000 (01:55 +0000)]
Added pci_enable_device()
Frank Mori Hess [Thu, 12 Jul 2001 16:24:27 +0000 (16:24 +0000)]
trying to get interrupts enabled on the amcc s5933...
David Schleef [Wed, 11 Jul 2001 19:01:01 +0000 (19:01 +0000)]
Added INSN_CONFIG to insn parsing.
Frank Mori Hess [Tue, 10 Jul 2001 22:28:44 +0000 (22:28 +0000)]
fixed detection of analog input or output subdevice
David Schleef [Tue, 10 Jul 2001 22:12:17 +0000 (22:12 +0000)]
Fix problem with DO subdevices in insn_rw_emulate_bits()
Frank Mori Hess [Tue, 10 Jul 2001 21:59:21 +0000 (21:59 +0000)]
set sdf readable flag for digital output
David Schleef [Tue, 10 Jul 2001 21:47:25 +0000 (21:47 +0000)]
*** empty log message ***
David Schleef [Tue, 10 Jul 2001 21:46:41 +0000 (21:46 +0000)]
Needs more help
David Schleef [Tue, 10 Jul 2001 21:45:46 +0000 (21:45 +0000)]
Empty file needed here
David Schleef [Tue, 10 Jul 2001 21:42:15 +0000 (21:42 +0000)]
Perl rocks my world
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.
David Schleef [Tue, 10 Jul 2001 21:28:14 +0000 (21:28 +0000)]
Fix buffer overrun problem
David Schleef [Tue, 10 Jul 2001 21:27:39 +0000 (21:27 +0000)]
Become more evil about checking for instruction support
David Schleef [Tue, 10 Jul 2001 21:25:56 +0000 (21:25 +0000)]
Add a check_driver override
David Schleef [Tue, 10 Jul 2001 21:23:18 +0000 (21:23 +0000)]
Fix cmdtest logic bug
David Schleef [Tue, 10 Jul 2001 21:20:02 +0000 (21:20 +0000)]
Split check_and_setup_channel_list() into separate functions
David Schleef [Tue, 10 Jul 2001 21:19:12 +0000 (21:19 +0000)]
Added wrapper defs for cmdtest
David Schleef [Tue, 10 Jul 2001 21:11:39 +0000 (21:11 +0000)]
Added chunk for ni_at_a2150
David Schleef [Tue, 10 Jul 2001 21:04:20 +0000 (21:04 +0000)]
Remove old drivers
David Schleef [Tue, 10 Jul 2001 21:03:46 +0000 (21:03 +0000)]
Removed -old drivers
David Schleef [Tue, 10 Jul 2001 21:02:20 +0000 (21:02 +0000)]
So long, you served well.
David Schleef [Tue, 10 Jul 2001 20:22:40 +0000 (20:22 +0000)]
Add len_chanlist initialization
David Schleef [Tue, 10 Jul 2001 20:22:19 +0000 (20:22 +0000)]
Fix len_chanlist comment
Frank Mori Hess [Tue, 10 Jul 2001 16:34:03 +0000 (16:34 +0000)]
merged ivan's changes with mine
Frank Mori Hess [Mon, 9 Jul 2001 21:13:10 +0000 (21:13 +0000)]
added initialization of s->len_chanlist
Frank Mori Hess [Mon, 9 Jul 2001 18:38:56 +0000 (18:38 +0000)]
oops forgot to include header file
Frank Mori Hess [Mon, 9 Jul 2001 18:38:03 +0000 (18:38 +0000)]
added 2 8255 digital io subdevices
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
Frank Mori Hess [Sun, 8 Jul 2001 23:07:53 +0000 (23:07 +0000)]
debugging moves slowly forward...
Frank Mori Hess [Sun, 8 Jul 2001 22:43:29 +0000 (22:43 +0000)]
put if(cmd->chanlist) block in cmdtest
Frank Mori Hess [Sun, 8 Jul 2001 22:41:22 +0000 (22:41 +0000)]
made digital output readable
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.
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.
David Schleef [Sun, 8 Jul 2001 21:46:44 +0000 (21:46 +0000)]
Fixed oops in das16_cmd_test() because cmd->chanlist was NULL.
David Schleef [Fri, 6 Jul 2001 20:13:56 +0000 (20:13 +0000)]
Update from ivan
Frank Mori Hess [Fri, 6 Jul 2001 15:22:54 +0000 (15:22 +0000)]
fixed cmdtest