David Schleef [Thu, 16 May 2002 21:41:57 +0000 (21:41 +0000)]
Remove export of comedi_errno.
David Schleef [Thu, 16 May 2002 21:40:55 +0000 (21:40 +0000)]
Put #ifdef around symbols that are conditionally defined
Frank Mori Hess [Thu, 16 May 2002 16:09:44 +0000 (16:09 +0000)]
fixed a bug I made
David Schleef [Thu, 16 May 2002 00:48:24 +0000 (00:48 +0000)]
Fix long-standing spelling error of writable
David Schleef [Wed, 15 May 2002 19:33:52 +0000 (19:33 +0000)]
Add PFI subdevice
David Schleef [Wed, 15 May 2002 19:08:53 +0000 (19:08 +0000)]
Added open/close hooks to device structure
David Schleef [Wed, 15 May 2002 19:06:58 +0000 (19:06 +0000)]
Don't need request_mem_region(). I think.
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
Frank Mori Hess [Mon, 13 May 2002 02:35:56 +0000 (02:35 +0000)]
fixing config insn
Frank Mori Hess [Sun, 12 May 2002 03:08:58 +0000 (03:08 +0000)]
corrected return values of config insn
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'
Frank Mori Hess [Sun, 12 May 2002 00:26:17 +0000 (00:26 +0000)]
added contec driver
David Schleef [Sat, 11 May 2002 06:20:55 +0000 (06:20 +0000)]
Comments about possible problems on 6040e
David Schleef [Sat, 11 May 2002 06:20:17 +0000 (06:20 +0000)]
Update documentation
David Schleef [Fri, 10 May 2002 18:10:43 +0000 (18:10 +0000)]
version bump
David Schleef [Fri, 10 May 2002 18:09:54 +0000 (18:09 +0000)]
Don't use debugging caldac.
Frank Mori Hess [Tue, 7 May 2002 23:24:25 +0000 (23:24 +0000)]
added config insn for choosing rising or falling edge trigger
Frank Mori Hess [Tue, 7 May 2002 22:58:45 +0000 (22:58 +0000)]
sync with comedilib
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
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
Frank Mori Hess [Fri, 3 May 2002 16:27:32 +0000 (16:27 +0000)]
devfs support introduced in 2.2.18
Frank Mori Hess [Fri, 3 May 2002 16:23:54 +0000 (16:23 +0000)]
added devfs_find_handle()
Frank Mori Hess [Fri, 3 May 2002 16:13:43 +0000 (16:13 +0000)]
fixed compilation against 2.2.0 kernel
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
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.
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
Frank Mori Hess [Fri, 3 May 2002 02:52:05 +0000 (02:52 +0000)]
added pci_set_master() compatibility
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
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.
David Schleef [Thu, 2 May 2002 19:01:21 +0000 (19:01 +0000)]
Added compat header for devfs on 2.2. kernels
David Schleef [Thu, 2 May 2002 19:00:54 +0000 (19:00 +0000)]
Added devfs support
Frank Mori Hess [Thu, 2 May 2002 16:01:45 +0000 (16:01 +0000)]
fixing races
David Schleef [Tue, 30 Apr 2002 21:12:48 +0000 (21:12 +0000)]
Fixed references to 0.5-like channels in documentation.
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.
David Schleef [Fri, 26 Apr 2002 18:35:18 +0000 (18:35 +0000)]
*** empty log message ***
David Schleef [Fri, 26 Apr 2002 18:35:02 +0000 (18:35 +0000)]
Add Contec PCI DIO
David Schleef [Fri, 26 Apr 2002 18:34:43 +0000 (18:34 +0000)]
Add contec_pci_dio.o
David Schleef [Fri, 26 Apr 2002 18:34:22 +0000 (18:34 +0000)]
Initial cleanup for driver.
David Schleef [Fri, 26 Apr 2002 18:34:02 +0000 (18:34 +0000)]
New driver from <s.rivoir@gts.it>
David Schleef [Fri, 26 Apr 2002 18:30:41 +0000 (18:30 +0000)]
Change from int to comedi_t *
David Schleef [Fri, 26 Apr 2002 18:28:11 +0000 (18:28 +0000)]
Moved comments to documentation area. Fixed initialization problem
for local variable.
David Schleef [Fri, 26 Apr 2002 18:26:33 +0000 (18:26 +0000)]
Add a few more prototypes
David Schleef [Fri, 26 Apr 2002 18:26:13 +0000 (18:26 +0000)]
Add PCI_VENDOR_ID_CONTEC
David Schleef [Fri, 26 Apr 2002 18:25:14 +0000 (18:25 +0000)]
Add get.o to link
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.
David Schleef [Thu, 25 Apr 2002 21:52:57 +0000 (21:52 +0000)]
Changed to use comedi_t * instead of int for device token
David Schleef [Thu, 25 Apr 2002 21:51:32 +0000 (21:51 +0000)]
Random reordering. This needs to be cleaned up somehow.
David Schleef [Thu, 25 Apr 2002 21:50:57 +0000 (21:50 +0000)]
Added logging and error functions.
Frank Mori Hess [Thu, 25 Apr 2002 19:22:19 +0000 (19:22 +0000)]
removed settling delay from ai read insn
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
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
Frank Mori Hess [Tue, 23 Apr 2002 15:07:57 +0000 (15:07 +0000)]
added pci_disable_device()
David Schleef [Mon, 22 Apr 2002 04:04:34 +0000 (04:04 +0000)]
Added PCI-6534
Frank Mori Hess [Mon, 22 Apr 2002 00:12:50 +0000 (00:12 +0000)]
analog output waveform operations shouldn't be enabled in insn
Frank Mori Hess [Sun, 21 Apr 2002 21:36:26 +0000 (21:36 +0000)]
bugfixes, added support for ad8402 calibration pots on 64xx series. pci-das6402/16
seems to work okay now, although I still experience occasional lockups from faulty
interrupt handling.
Frank Mori Hess [Fri, 19 Apr 2002 21:24:26 +0000 (21:24 +0000)]
Trying to calm down interrupt-happy chips, plus a little cleanup
Frank Mori Hess [Fri, 19 Apr 2002 20:29:46 +0000 (20:29 +0000)]
fixed setting of input range on 4020 commands, slight speed up for i2c
Frank Mori Hess [Fri, 19 Apr 2002 17:46:32 +0000 (17:46 +0000)]
trying to clarify interrupt logic a little
Frank Mori Hess [Fri, 19 Apr 2002 06:24:21 +0000 (06:24 +0000)]
added delay that seems to fix unreliable dma abort. Fixed selection of bnc inputs for adc
converts on 4020.
Frank Mori Hess [Thu, 18 Apr 2002 23:12:16 +0000 (23:12 +0000)]
fixing some bugs with Roman's help
Frank Mori Hess [Wed, 17 Apr 2002 23:46:46 +0000 (23:46 +0000)]
fixed setting of input range and reading of internal calibration sources for pci-das4020 insn.
Frank Mori Hess [Wed, 17 Apr 2002 21:40:55 +0000 (21:40 +0000)]
additions from Roman Fietze <fietze@s.netic.de> with additional modifications
by me. Now supports irq-less dma transfers with timer interrupt added to work around Roman's
broken dma controller.
Frank Mori Hess [Wed, 17 Apr 2002 16:13:01 +0000 (16:13 +0000)]
added note about keithley 1400 series id bits
Frank Mori Hess [Wed, 17 Apr 2002 04:23:33 +0000 (04:23 +0000)]
a tiny bit of cleanup, initial tests with pcidas-6040/16 look okay
Frank Mori Hess [Wed, 17 Apr 2002 04:02:15 +0000 (04:02 +0000)]
oops forgot to update header, fixes compile of cb_pcidas64.c
Frank Mori Hess [Tue, 16 Apr 2002 00:27:47 +0000 (00:27 +0000)]
i2c stuff works for 4020 now, albiet extremely slowly (1000 bits/sec!)
Frank Mori Hess [Sun, 14 Apr 2002 15:46:36 +0000 (15:46 +0000)]
calculate max number of bytes that can be read or written by using
buf_int_ptr and buf_user_ptr to avoid any possible race with comedi_buf_put*().
Frank Mori Hess [Sun, 14 Apr 2002 02:43:16 +0000 (02:43 +0000)]
moved increment of buf_int_count to beginning of comedi_buf_put*() to eliminate race
with buffer overrun check. Added setting of COMEDI_CB_BLOCK to comedi_buf_put() so
it doesn't need to be set in drivers
Frank Mori Hess [Sat, 13 Apr 2002 15:49:35 +0000 (15:49 +0000)]
converted some drivers to use comedi_buf_put_array
Frank Mori Hess [Mon, 8 Apr 2002 02:23:01 +0000 (02:23 +0000)]
more calibration support for 64xx and 4020 boards, and got rid of useless i2o reg definitions in plx9080.h
Frank Mori Hess [Mon, 8 Apr 2002 02:09:40 +0000 (02:09 +0000)]
fixes to make interrupt handling more robust
Frank Mori Hess [Mon, 8 Apr 2002 01:30:22 +0000 (01:30 +0000)]
added comedi_buf_put_array()
writes array to buffer
Frank Mori Hess [Sat, 6 Apr 2002 03:15:13 +0000 (03:15 +0000)]
fixed 6xxx boards to work with dma ch1, for compatibility with 4020
Frank Mori Hess [Fri, 5 Apr 2002 01:12:19 +0000 (01:12 +0000)]
fixed single-channel command
Frank Mori Hess [Fri, 5 Apr 2002 01:06:00 +0000 (01:06 +0000)]
fixed count of number of conversion completed using pio
Frank Mori Hess [Fri, 5 Apr 2002 01:02:13 +0000 (01:02 +0000)]
deal with grey coding of read and write fifo pointers on 4020
Frank Mori Hess [Fri, 5 Apr 2002 00:05:56 +0000 (00:05 +0000)]
pio and dma fixes for 4020
Frank Mori Hess [Thu, 4 Apr 2002 20:20:38 +0000 (20:20 +0000)]
more registers
Frank Mori Hess [Thu, 4 Apr 2002 19:46:58 +0000 (19:46 +0000)]
trying dma channel 1 for 4020, still trying to debug pio transfer
Frank Mori Hess [Thu, 4 Apr 2002 05:03:09 +0000 (05:03 +0000)]
fixed pio fifo drain for 4020
Frank Mori Hess [Wed, 3 Apr 2002 23:31:57 +0000 (23:31 +0000)]
temporary band-aid for 4020 pio transfer
Frank Mori Hess [Wed, 3 Apr 2002 22:59:51 +0000 (22:59 +0000)]
last change didn't work out too well, reverting parts of it
Frank Mori Hess [Wed, 3 Apr 2002 22:03:47 +0000 (22:03 +0000)]
added some debug messages to pio fifo drain
Frank Mori Hess [Wed, 3 Apr 2002 17:06:34 +0000 (17:06 +0000)]
I think we found the correct fifo register for 4020 now
Frank Mori Hess [Wed, 3 Apr 2002 17:03:35 +0000 (17:03 +0000)]
removed finished item
David Schleef [Wed, 3 Apr 2002 07:32:47 +0000 (07:32 +0000)]
Clean up compiler warning.
David Schleef [Wed, 3 Apr 2002 07:27:39 +0000 (07:27 +0000)]
Add pcl816 driver
David Schleef [Wed, 3 Apr 2002 07:27:02 +0000 (07:27 +0000)]
*** empty log message ***
David Schleef [Wed, 3 Apr 2002 07:26:22 +0000 (07:26 +0000)]
update for 0.7.64
David Schleef [Wed, 3 Apr 2002 07:25:21 +0000 (07:25 +0000)]
Pointless, misleading drivel
David Schleef [Wed, 3 Apr 2002 07:24:34 +0000 (07:24 +0000)]
Update of patch-scxi
David Schleef [Wed, 3 Apr 2002 07:22:35 +0000 (07:22 +0000)]
Clean up check_driver complaints
David Schleef [Wed, 3 Apr 2002 07:12:25 +0000 (07:12 +0000)]
From Juan Grigera <juan@grigera.com.ar>
David Schleef [Wed, 3 Apr 2002 07:10:42 +0000 (07:10 +0000)]
Add more documentation checking
Frank Mori Hess [Wed, 3 Apr 2002 05:25:25 +0000 (05:25 +0000)]
testing alternate fifo offset
Frank Mori Hess [Wed, 3 Apr 2002 05:07:12 +0000 (05:07 +0000)]
fixed cmdtest for 4020 and eeprom subdevice
Frank Mori Hess [Wed, 3 Apr 2002 01:32:04 +0000 (01:32 +0000)]
4020 fixes
Frank Mori Hess [Tue, 2 Apr 2002 23:44:51 +0000 (23:44 +0000)]
trying to debug location of fifo on 4020
Frank Mori Hess [Tue, 2 Apr 2002 22:49:20 +0000 (22:49 +0000)]
added eeprom subdevice, some fixes for 4020 although it still has some bugs
Frank Mori Hess [Mon, 1 Apr 2002 15:38:37 +0000 (15:38 +0000)]
added check to make sure interrupt handler doesn't get behind while reading
dma buffers