comedi.git
23 years agoimplemented data munging for analog output commands
Frank Mori Hess [Mon, 12 Nov 2001 22:19:31 +0000 (22:19 +0000)]
implemented data munging for analog output commands

23 years agodisabled driver's debugging messages
Frank Mori Hess [Mon, 12 Nov 2001 18:58:53 +0000 (18:58 +0000)]
disabled driver's debugging messages

23 years agoThe release script. I could never find it when necessary, so it's
David Schleef [Fri, 9 Nov 2001 23:30:38 +0000 (23:30 +0000)]
The release script.  I could never find it when necessary, so it's
here now.

23 years agofixed problem with setting of bipolar mode in analog out command noted by
Frank Mori Hess [Fri, 9 Nov 2001 21:29:48 +0000 (21:29 +0000)]
fixed problem with setting of bipolar mode in analog out command noted by
Amish Dave.  However, have noticed that no data munging appears to ever get
done on analog output commands (it does get done in ao insn) so this is
still a problem that needs to be fixed.

23 years agofixed bug with checking number of caldac channels noted by Amish Dave
Frank Mori Hess [Fri, 9 Nov 2001 20:26:17 +0000 (20:26 +0000)]
fixed bug with checking number of caldac channels noted by Amish Dave

23 years agomade prompting for linux directory work like prompting for rtlinux directory
Frank Mori Hess [Thu, 8 Nov 2001 17:32:35 +0000 (17:32 +0000)]
made prompting for linux directory work like prompting for rtlinux directory
(doesn't assume directory found in .sourcedirs is correct)

23 years agotook into account possibility of pci_enable_device failure
Frank Mori Hess [Wed, 7 Nov 2001 20:33:31 +0000 (20:33 +0000)]
took into account possibility of pci_enable_device failure

23 years agoinitial attempt at pcmcia support
Frank Mori Hess [Wed, 7 Nov 2001 20:31:26 +0000 (20:31 +0000)]
initial attempt at pcmcia support

23 years agoadded daqcard-1200
Frank Mori Hess [Wed, 7 Nov 2001 20:31:05 +0000 (20:31 +0000)]
added daqcard-1200

23 years agoFixed all the bugs I'm aware of. Just needs pcmcia support added now.
Frank Mori Hess [Wed, 7 Nov 2001 00:43:15 +0000 (00:43 +0000)]
Fixed all the bugs I'm aware of.  Just needs pcmcia support added now.

23 years agoUpdated with new drivers
David Schleef [Tue, 6 Nov 2001 22:23:08 +0000 (22:23 +0000)]
Updated with new drivers

23 years agoAdded implementation of comedi_poll(). This function may be useful
David Schleef [Tue, 6 Nov 2001 22:16:09 +0000 (22:16 +0000)]
Added implementation of comedi_poll().  This function may be useful
in the core, although presumably the behavior should be different
if the driver doesn't implement poll.

23 years agoChange #ifdefs to DPRINTK() macro. Eliminated bogus udelay(1)s.
David Schleef [Tue, 6 Nov 2001 22:13:15 +0000 (22:13 +0000)]
Change #ifdefs to DPRINTK() macro.  Eliminated bogus udelay(1)s.

23 years agomade pci interrupt shareable, implemented writes for eeprom subdevice, made
Frank Mori Hess [Tue, 6 Nov 2001 18:43:29 +0000 (18:43 +0000)]
made pci interrupt shareable, implemented writes for eeprom subdevice, made
it properly flush all data to comedi on stop_src == TRIG_EXT

23 years agofixed Devices: list to prevent parse error during 'make drivers.txt'
Frank Mori Hess [Tue, 6 Nov 2001 00:40:10 +0000 (00:40 +0000)]
fixed Devices: list to prevent parse error during 'make drivers.txt'

23 years agoloading of caldacs from eeprom works now
Frank Mori Hess [Mon, 5 Nov 2001 21:29:51 +0000 (21:29 +0000)]
loading of caldacs from eeprom works now

23 years agoimplemented work around to correct (nearly undocumented by NI, and then incorrectly...
Frank Mori Hess [Mon, 5 Nov 2001 05:20:59 +0000 (05:20 +0000)]
implemented work around to correct (nearly undocumented by NI, and then incorrectly documented) caldac design mistake

23 years agobug fixes
Frank Mori Hess [Mon, 5 Nov 2001 04:18:20 +0000 (04:18 +0000)]
bug fixes

23 years agosome more caldac/eeprom stuff
Frank Mori Hess [Sun, 4 Nov 2001 00:22:22 +0000 (00:22 +0000)]
some more caldac/eeprom stuff

23 years agoadded device id for pci card, pci device table, started on calibration/eeprom stuff,
Frank Mori Hess [Sat, 3 Nov 2001 02:10:09 +0000 (02:10 +0000)]
added device id for pci card, pci device table, started on calibration/eeprom stuff,
fixed symbol leaks, some bugfixes.

23 years agogot rid of some excess ioport allocation
Frank Mori Hess [Fri, 2 Nov 2001 20:04:03 +0000 (20:04 +0000)]
got rid of some excess ioport allocation

23 years agoadded some debugging messages
Frank Mori Hess [Fri, 2 Nov 2001 19:48:36 +0000 (19:48 +0000)]
added some debugging messages

23 years agomore bugfixing. Seems to work during initial testing with lab-pc-1200 board.
Frank Mori Hess [Fri, 2 Nov 2001 00:39:39 +0000 (00:39 +0000)]
more bugfixing.  Seems to work during initial testing with lab-pc-1200 board.
Still needs more thorough testing though.

23 years agoadded support for some 1200 series boards, fixed some bugs
Frank Mori Hess [Thu, 1 Nov 2001 17:55:21 +0000 (17:55 +0000)]
added support for some 1200 series boards, fixed some bugs

23 years agoadded command support. Lotsa bugs still, but almost ready to enter testing and debug...
Frank Mori Hess [Tue, 30 Oct 2001 00:07:04 +0000 (00:07 +0000)]
added command support.  Lotsa bugs still, but almost ready to enter testing and debugging phase

23 years agofixed stop_src == TRIG_NONE bug
Frank Mori Hess [Mon, 29 Oct 2001 23:53:46 +0000 (23:53 +0000)]
fixed stop_src == TRIG_NONE bug

23 years agonew driver. insn support only. untested.
Frank Mori Hess [Fri, 26 Oct 2001 21:02:34 +0000 (21:02 +0000)]
new driver.  insn support only.  untested.

23 years agofixed a bunch of insn_bits functions
Frank Mori Hess [Thu, 25 Oct 2001 22:11:19 +0000 (22:11 +0000)]
fixed a bunch of insn_bits functions

23 years agoFixed bug creating ai_xorlist[] because of change in ni_gainlkup[]
David Schleef [Wed, 24 Oct 2001 22:21:06 +0000 (22:21 +0000)]
Fixed bug creating ai_xorlist[] because of change in ni_gainlkup[]

23 years agoAdded flags in chanspec description
David Schleef [Wed, 24 Oct 2001 22:19:13 +0000 (22:19 +0000)]
Added flags in chanspec description

23 years agoAdded in-line documentation section
David Schleef [Wed, 24 Oct 2001 22:16:19 +0000 (22:16 +0000)]
Added in-line documentation section

23 years agoAdded ssv_dnp driver
David Schleef [Wed, 24 Oct 2001 22:12:12 +0000 (22:12 +0000)]
Added ssv_dnp driver

23 years agoNew driver from Robert Schwebel
David Schleef [Wed, 24 Oct 2001 22:11:46 +0000 (22:11 +0000)]
New driver from Robert Schwebel

23 years agoput back line that I shouldn't have removed
Frank Mori Hess [Fri, 19 Oct 2001 15:37:50 +0000 (15:37 +0000)]
put back line that I shouldn't have removed

23 years agoread now returns -EIO (once) at end of data stream if aquisition was terminated by
Frank Mori Hess [Thu, 18 Oct 2001 23:16:58 +0000 (23:16 +0000)]
read now returns -EIO (once) at end of data stream if aquisition was terminated by
an error, returns 0 if aquisition terminated normally.

23 years agofixed null dereference if you try to configure pcm-das08 without card inserted
Frank Mori Hess [Tue, 9 Oct 2001 22:20:42 +0000 (22:20 +0000)]
fixed null dereference if you try to configure pcm-das08 without card inserted

23 years agofixed bug with stop_src == TRIG_NONE introduced with changes for poll() code
Frank Mori Hess [Sun, 7 Oct 2001 20:45:31 +0000 (20:45 +0000)]
fixed bug with stop_src == TRIG_NONE introduced with changes for poll() code

23 years agochanged type of ni_gainlkup to get rid of compiler's overflow warnings
Frank Mori Hess [Sun, 7 Oct 2001 20:39:13 +0000 (20:39 +0000)]
changed type of ni_gainlkup to get rid of compiler's overflow warnings

23 years agopcmcia support for pcm-das08, mostly just merging in stuff from dummy_cs.c
Frank Mori Hess [Fri, 5 Oct 2001 21:41:11 +0000 (21:41 +0000)]
pcmcia support for pcm-das08, mostly just merging in stuff from dummy_cs.c

23 years agoAdded support for 611x style configuration memory
David Schleef [Thu, 4 Oct 2001 23:52:25 +0000 (23:52 +0000)]
Added support for 611x style configuration memory

23 years agochange formatting
David Schleef [Thu, 4 Oct 2001 23:51:20 +0000 (23:51 +0000)]
change formatting

23 years agosome preparation for adding pcmcia support
Frank Mori Hess [Tue, 2 Oct 2001 00:46:02 +0000 (00:46 +0000)]
some preparation for adding pcmcia support

23 years agofixed 2.4 compile error and some bugs
Frank Mori Hess [Sun, 30 Sep 2001 17:01:06 +0000 (17:01 +0000)]
fixed 2.4 compile error and some bugs

23 years agofixed checking of chanlist in cmdtest for analog out
Frank Mori Hess [Sun, 30 Sep 2001 16:36:57 +0000 (16:36 +0000)]
fixed checking of chanlist in cmdtest for analog out

23 years agooops forgot to update Devices:
Frank Mori Hess [Fri, 28 Sep 2001 20:18:54 +0000 (20:18 +0000)]
oops forgot to update Devices:

23 years agoadded support for pc104 and pcm das08 cards, but pcmcia specific support for pcm...
Frank Mori Hess [Fri, 28 Sep 2001 20:16:39 +0000 (20:16 +0000)]
added support for pc104 and pcm das08 cards, but pcmcia specific support for pcm card
still needs to be added.  Fixed digital i/o insn.

23 years agoMAX_N_CALDACS should be 28
David Schleef [Thu, 27 Sep 2001 21:20:38 +0000 (21:20 +0000)]
MAX_N_CALDACS should be 28

23 years ago*** empty log message ***
David Schleef [Thu, 27 Sep 2001 21:20:01 +0000 (21:20 +0000)]
*** empty log message ***

23 years agoRemove useless debugging message
David Schleef [Thu, 27 Sep 2001 21:19:40 +0000 (21:19 +0000)]
Remove useless debugging message

23 years agofixed error in pci-das08 board definition
Frank Mori Hess [Thu, 27 Sep 2001 16:02:28 +0000 (16:02 +0000)]
fixed error in pci-das08 board definition

23 years agoadded poll() support
Frank Mori Hess [Wed, 26 Sep 2001 00:56:55 +0000 (00:56 +0000)]
added poll() support

23 years agofixed poll() code by unlocking spinlock on spurious interrupt
Frank Mori Hess [Wed, 26 Sep 2001 00:07:01 +0000 (00:07 +0000)]
fixed poll() code by unlocking spinlock on spurious interrupt

23 years agoswitched allocation of the dma descriptor array to pci_alloc_consistent
Frank Mori Hess [Mon, 24 Sep 2001 20:10:24 +0000 (20:10 +0000)]
switched allocation of the dma descriptor array to pci_alloc_consistent

23 years agofixed symbol leak, started using hardware conversion counter to keep
Frank Mori Hess [Sun, 23 Sep 2001 02:56:35 +0000 (02:56 +0000)]
fixed symbol leak, started using hardware conversion counter to keep
track of how many samples are available in fifo.  That's not so useful for
fifo half-full interrupt handling,
but will be helpful if I add poll() support.

23 years agoAdded pxi-6031e
David Schleef [Fri, 21 Sep 2001 23:23:04 +0000 (23:23 +0000)]
Added pxi-6031e

23 years agoFixed Devices:
David Schleef [Fri, 21 Sep 2001 23:22:49 +0000 (23:22 +0000)]
Fixed Devices:

23 years agofixed decrement of conversion count with dma transfers
Frank Mori Hess [Thu, 20 Sep 2001 17:44:03 +0000 (17:44 +0000)]
fixed decrement of conversion count with dma transfers

23 years agomore pci dma stuff, ready for inital testing
Frank Mori Hess [Wed, 19 Sep 2001 20:43:47 +0000 (20:43 +0000)]
more pci dma stuff, ready for inital testing

23 years agofixed typo in Devices:, and commiting older tweaks that I had left uncommited
Frank Mori Hess [Wed, 19 Sep 2001 19:48:35 +0000 (19:48 +0000)]
fixed typo in Devices:, and commiting older tweaks that I had left uncommited

23 years agoremoved an obsolete comment
Frank Mori Hess [Wed, 19 Sep 2001 19:46:49 +0000 (19:46 +0000)]
removed an obsolete comment

23 years agofixed typo in Devices: section
Frank Mori Hess [Wed, 19 Sep 2001 19:43:59 +0000 (19:43 +0000)]
fixed typo in Devices: section

23 years agotook out line that belonged in init.h, added include for definition of pci_alloc_cons...
Frank Mori Hess [Wed, 19 Sep 2001 19:25:49 +0000 (19:25 +0000)]
took out line that belonged in init.h, added include for definition of pci_alloc_consistent()
used by older kernels

23 years agoChange name to devices.txt
David Schleef [Wed, 19 Sep 2001 00:35:48 +0000 (00:35 +0000)]
Change name to devices.txt

23 years agoFix another parse error
David Schleef [Wed, 19 Sep 2001 00:35:30 +0000 (00:35 +0000)]
Fix another parse error

23 years agoFix parse problem
David Schleef [Wed, 19 Sep 2001 00:33:50 +0000 (00:33 +0000)]
Fix parse problem

23 years agoAdded Devices: documentation to rest of drivers
David Schleef [Tue, 18 Sep 2001 23:45:12 +0000 (23:45 +0000)]
Added Devices: documentation to rest of drivers

23 years agoMoved scripts to scripts/
David Schleef [Tue, 18 Sep 2001 23:44:26 +0000 (23:44 +0000)]
Moved scripts to scripts/

23 years agomore pci-dma stuff, still nonfunctional
Frank Mori Hess [Tue, 18 Sep 2001 23:23:36 +0000 (23:23 +0000)]
more pci-dma stuff, still nonfunctional

23 years agoScripts to extract documentation
David Schleef [Tue, 18 Sep 2001 22:51:01 +0000 (22:51 +0000)]
Scripts to extract documentation

23 years ago*** empty log message ***
David Schleef [Tue, 18 Sep 2001 22:49:24 +0000 (22:49 +0000)]
*** empty log message ***

23 years agonew
David Schleef [Tue, 18 Sep 2001 22:45:41 +0000 (22:45 +0000)]
new

23 years agoFixed a segfault in nidio_detach() when configure fails because it can't
David Schleef [Tue, 18 Sep 2001 20:54:39 +0000 (20:54 +0000)]
Fixed a segfault in nidio_detach() when configure fails because it can't
find board

23 years agoChange file location comment
David Schleef [Tue, 18 Sep 2001 19:28:30 +0000 (19:28 +0000)]
Change file location comment

23 years agoPatch from Anders Blomdell, fixing AI.
David Schleef [Tue, 18 Sep 2001 19:20:05 +0000 (19:20 +0000)]
Patch from Anders Blomdell, fixing AI.

23 years agosome initial pci dma stuff, doesn't do anything useful yet
Frank Mori Hess [Mon, 17 Sep 2001 23:48:41 +0000 (23:48 +0000)]
some initial pci dma stuff, doesn't do anything useful yet

23 years agofixed symbol leak, and settings of SDF_GROUND subdevice flag
Frank Mori Hess [Sun, 16 Sep 2001 19:29:51 +0000 (19:29 +0000)]
fixed symbol leak, and settings of SDF_GROUND subdevice flag

23 years agosome bugfixes
Frank Mori Hess [Fri, 14 Sep 2001 22:21:22 +0000 (22:21 +0000)]
some bugfixes

23 years agoadded support for stop_src TRIG_COUNT that I forgot, fixed end-of-line problems my...
Frank Mori Hess [Fri, 14 Sep 2001 18:55:13 +0000 (18:55 +0000)]
added support for stop_src TRIG_COUNT that I forgot, fixed end-of-line problems my editor was having

23 years agoanalog input commands may possibly work now
Frank Mori Hess [Fri, 14 Sep 2001 18:39:02 +0000 (18:39 +0000)]
analog input commands may possibly work now

23 years agoOops. Fix typo in previous check-in.
David Schleef [Fri, 14 Sep 2001 04:06:15 +0000 (04:06 +0000)]
Oops.  Fix typo in previous check-in.

23 years agoRemoved last remnants of trig support for drivers
David Schleef [Fri, 14 Sep 2001 04:00:53 +0000 (04:00 +0000)]
Removed last remnants of trig support for drivers

23 years agoRemoved last remnants of comedi_trig support for drivers
David Schleef [Fri, 14 Sep 2001 03:59:12 +0000 (03:59 +0000)]
Removed last remnants of comedi_trig support for drivers

23 years agorewrote much of the trig support. No longer uses any of the old
David Schleef [Fri, 14 Sep 2001 03:57:20 +0000 (03:57 +0000)]
rewrote much of the trig support.  No longer uses any of the old
internal trig stuff.

23 years agoRemove min() macro
David Schleef [Fri, 14 Sep 2001 03:54:54 +0000 (03:54 +0000)]
Remove min() macro

23 years agoAdded a target for drivers.txt
David Schleef [Fri, 14 Sep 2001 03:54:33 +0000 (03:54 +0000)]
Added a target for drivers.txt

23 years agoComplete phase-out of comedi_trig in drivers
David Schleef [Fri, 14 Sep 2001 03:19:05 +0000 (03:19 +0000)]
Complete phase-out of comedi_trig in drivers

23 years agoComplete phase-out of comedi_trig support
David Schleef [Fri, 14 Sep 2001 03:16:49 +0000 (03:16 +0000)]
Complete phase-out of comedi_trig support

23 years agoAdd list of devices to documentation
David Schleef [Fri, 14 Sep 2001 02:44:03 +0000 (02:44 +0000)]
Add list of devices to documentation

23 years agoChange comedi_trig compat to deprecated
David Schleef [Fri, 14 Sep 2001 02:19:41 +0000 (02:19 +0000)]
Change comedi_trig compat to deprecated

23 years agofixed sending of events for analog output
Frank Mori Hess [Thu, 13 Sep 2001 17:19:57 +0000 (17:19 +0000)]
fixed sending of events for analog output

23 years agoFix argument of mem_test_region()
David Schleef [Thu, 13 Sep 2001 00:48:02 +0000 (00:48 +0000)]
Fix argument of mem_test_region()

23 years agoFixed argument of pci_enable_dev()
David Schleef [Thu, 13 Sep 2001 00:47:11 +0000 (00:47 +0000)]
Fixed argument of pci_enable_dev()

23 years agoMoved driver documentation to inline documentation
David Schleef [Wed, 12 Sep 2001 23:07:36 +0000 (23:07 +0000)]
Moved driver documentation to inline documentation

23 years agoAdded check for documentation in source code
David Schleef [Wed, 12 Sep 2001 22:45:01 +0000 (22:45 +0000)]
Added check for documentation in source code

23 years agoRemoved VD_DDS
David Schleef [Wed, 12 Sep 2001 22:23:18 +0000 (22:23 +0000)]
Removed VD_DDS

23 years agodoes still need to ioremap for 2.4 kernels though
Frank Mori Hess [Wed, 12 Sep 2001 21:00:48 +0000 (21:00 +0000)]
does still need to ioremap for 2.4 kernels though

23 years agooops, apparently it's not even a pci driver, that pci in the name tricked me
Frank Mori Hess [Wed, 12 Sep 2001 20:43:23 +0000 (20:43 +0000)]
oops, apparently it's not even a pci driver, that pci in the name tricked me

23 years agoadded comment regarding lack of pci support & ioremap
Frank Mori Hess [Wed, 12 Sep 2001 20:31:22 +0000 (20:31 +0000)]
added comment regarding lack of pci support & ioremap

23 years agoadded check/request/release_mem_region() calls
Frank Mori Hess [Wed, 12 Sep 2001 20:13:27 +0000 (20:13 +0000)]
added check/request/release_mem_region() calls

23 years agoadded some compatibility macros for pci-dma buffer related functions, stolen
Frank Mori Hess [Wed, 12 Sep 2001 00:05:09 +0000 (00:05 +0000)]
added some compatibility macros for pci-dma buffer related functions, stolen
from Donald Becker's starfire.c driver