Ian Abbott
76a2e658b7
Put __comedi_errno variable into thread-local storage if the compiler
...
supports it. Configuration test uses Alan Woodland's 'ax_tls.m4' from
<http://autoconf-archive.cryp.to/ax_tls.html >.
2009-02-18 14:10:54 +00:00
Frank Mori Hess
0c69850ffc
Made comedi_ioctl take its third argument as a void* instead of
...
and integer type, and got rid of a bunch of casts (and added a few).
2008-02-12 01:12:46 +00:00
Frank Mori Hess
792e4b741f
Got rid of obsolete error codes.
2007-12-01 15:53:18 +00:00
Frank Mori Hess
4f26b59efc
Parsing of calibration file with soft calibration information works now.
2006-08-22 20:13:44 +00:00
Frank Mori Hess
d686d1278f
First pass at parsing additional calibration file elements which
...
support software calibration.
2006-08-22 18:14:22 +00:00
Frank Mori Hess
0d0bfe17b9
exposed some lower-level calibration functions for more flexibility
2003-05-06 18:26:21 +00:00
Frank Mori Hess
4db55f5044
moved COMEDI_VERSION_CODE() macro to comedilib.h, added some version
...
checks to comedi_calibrate so it complains if it's using a driver
with known bugs. Converted 6071 calibration to ad8804 addressing.
2003-05-03 14:59:26 +00:00
Frank Mori Hess
0710248b23
tweaked include directives so gcc -MM generates better dependency files
2003-04-25 01:58:34 +00:00
Frank Mori Hess
e31f607b2e
added some white space to fix preprocessor weirdness, ## was causing
...
__FUNCTION__ to disappear instead of the comma?
2003-04-25 01:43:52 +00:00
Frank Mori Hess
ddba729d0e
fix deprecation warning with gcc3.2
2003-04-19 20:32:47 +00:00
Frank Mori Hess
163c004ada
make flex stuff as reentrant as i can
2003-03-19 20:08:26 +00:00
Frank Mori Hess
02062c63ac
comedi_apply_calibration() almost reentrant now
2003-03-19 18:56:19 +00:00
Frank Mori Hess
6dcb08e06b
a couple not so important tweaks to calibration file parsing, before
...
I leave it
2003-03-05 16:55:14 +00:00
Frank Mori Hess
fac040f462
got rid of unneccessary yyrestart()
2003-03-05 00:46:36 +00:00
Frank Mori Hess
b950e1c63c
removed libperl dependency by switching to bison/flex to parse calibration
...
file.
2003-03-05 00:30:00 +00:00
Frank Mori Hess
fb2bf948b2
Changed comedi_set_calibration() to comedi_apply_calibration(), and
...
made it much faster, it takes <100msec to run instead of >1sec.
It requires linking to libperl now (hope that's
okay). Renamed DEBUG() and _() in libinternal.h to COMEDILIB_DEBUG()
and GETTEXT() in order to avoid conflicts with perl headers.
2003-03-04 00:41:10 +00:00
Frank Mori Hess
b7de679b2f
fixed setting of __comedi_errno after ioctl
2003-02-16 16:45:13 +00:00
David Schleef
365b5ed395
Fix up some versioning mistakes
2002-06-13 00:00:03 +00:00
David Schleef
2851280824
Add symbol versioning. Versions need to be checked with 0.7.18
...
release.
2002-06-12 02:02:05 +00:00
David Schleef
f6fed64225
Make comedi_ioctl less verbose
2002-05-16 06:31:47 +00:00
David Schleef
85233be248
Added new ioctl() wrapper.
2002-05-16 06:30:54 +00:00
David Schleef
22ae504197
Change cmd tester to check for Comedi version, and then use
...
SDF_CMD flag.
2002-05-15 19:53:34 +00:00
David Schleef
619f6afc47
Remove all the ioctl_ wrappers, because they were dumb.
2002-05-11 07:35:31 +00:00
David Schleef
67f2ed4254
Change all the file headers to LGPL
2001-10-04 23:44:08 +00:00
David Schleef
baa125de2c
Oops. libintl.h needs to be #ifdef'd
2001-08-19 01:30:06 +00:00
David Schleef
c5acd7cc43
gettextization of error messages
2001-08-19 01:27:33 +00:00
David Schleef
beb18635c4
Fix comedi_get_cmd_* so that commands are only generated once.
...
More error messages.
2001-07-15 22:46:02 +00:00
Frank Mori Hess
5d2fa2394d
fix for compile warning with range.c
2001-07-10 23:12:16 +00:00
David Schleef
cf7397be84
Added _COMEDILIB_DEPRECATED, 'cuz we still support it internally
2001-06-27 22:17:17 +00:00
David Schleef
7ea936090e
Added insn ioctl support.
...
Added insn ioctl probing.
Renamed previously misnamed insnlist probing.
Rewrote comedi_data_read_n()
2001-06-12 10:38:50 +00:00
David Schleef
8f5391c3ce
added HAVE_COMEDI_POLL
2001-05-28 02:36:41 +00:00
Frank Mori Hess
fc62ecb25e
added buffer info ioctl support and some alpha buffer related functions
2001-04-06 23:12:42 +00:00
David Schleef
c9f298466f
lots of changes with commands and instructions
2000-09-03 02:22:28 +00:00
David Schleef
2baa4dd7f4
added insn support
2000-08-09 20:27:51 +00:00
David Schleef
b4bba38d0f
Initial revision
2000-02-02 05:14:23 +00:00