David Schleef
cd7cab9458
dist generated lex and yacc sources
2003-08-16 00:18:04 +00:00
Frank Mori Hess
8e33ed9c6e
added detection of flex/bison to configure
2003-07-06 00:11:13 +00:00
Frank Mori Hess
9825b8a1af
be a little more careful about fixing up calibration file path, although
...
it doesn't make any practical difference
2003-05-31 16:58:45 +00:00
Frank Mori Hess
9b78a41963
fix default calibration file path for boards with '/' in name
2003-05-28 21:18:34 +00:00
Frank Mori Hess
aa47373687
replace return with YYABORT
2003-05-28 18:55:36 +00:00
Frank Mori Hess
6ad2b6c950
trying to fix undefined symbol problems people are having
2003-05-18 00:26:59 +00:00
Frank Mori Hess
4cfdf12baa
added -D_REENTRANT to library cflags
2003-05-16 21:15:17 +00:00
Frank Mori Hess
4c95630d22
added driver name to default calibration file path
2003-05-09 00:00:51 +00:00
Frank Mori Hess
8a9e9861f1
made default comedi_calibrate behaviour a little smarter, shared more
...
code between comedilib and comedi_calibrate
2003-05-06 23:37:45 +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
d5ea98f55b
changed convention for default calibration file naming to something
...
more transparent and robust (since I figured out how to get minor number
from code for ls)
2003-05-06 00:36:18 +00:00
Frank Mori Hess
9799051d65
fixed comedi_apply_calibration so it applies all matching calibrations
...
instead of just the first one
2003-05-05 03:18:19 +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
e75f09dcf9
i shouldn't have made comedi_internal_data_read() inline, it's too long,
...
and it causes gcc 2.9 to produce a bogus warning
2003-05-03 14:57:15 +00:00
David Schleef
8ab858452b
autoconfiscate
2003-05-02 07:53:44 +00:00
David Schleef
151b9dbf2b
clean up warning
2003-05-02 07:37:03 +00:00
David Schleef
c2557b6b01
Fix yacc and lex building
2003-05-02 07:33:20 +00:00
David Schleef
b28c52a42f
autoconfiscation
2003-05-02 07:19:00 +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
2e0f10fe44
added some dependency file generation
2003-04-25 01:44:21 +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
28b69b8a05
fix initialization of line counter, some yytext -> calib_yytext changes
2003-04-19 01:40:32 +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
4bae28d80c
added -D_REENTRANT to library CFLAGS
2003-03-19 16:26:37 +00:00
Frank Mori Hess
1a67e3d7af
made parsing slightly more forgiving with respect to commas, in case user
...
hand-edits calibration file
2003-03-06 19:07:33 +00:00
Frank Mori Hess
83a410a7b8
stopped comments from getting printed
2003-03-06 19:06:06 +00:00
Frank Mori Hess
b27a2340a2
moved stderr output to use COMEDILIB_DEBUG()
2003-03-06 19:05:16 +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
afaad08b77
catch errors from find_calibration()
2003-03-01 01:03:39 +00:00
Frank Mori Hess
0a9abb8446
fixed missing dollar signs, and "subdev" should have been "subdevices"
2003-02-28 22:40:52 +00:00
Frank Mori Hess
c63d33ed23
finished implementing comedi_set_calibration() (for real this time),
...
untested
2003-02-28 20:51:04 +00:00
Frank Mori Hess
518159f129
fixed finding calibration based on subdevice. Ignore previous log
...
message about finishing implementation of comedi_set_calibration(), as
it's only half done.
2003-02-26 19:36:56 +00:00
Frank Mori Hess
e36d2e5b3a
finished implementing comedi_set_calibration() (untested)
2003-02-26 19:19:57 +00:00
Frank Mori Hess
723db82ce5
beginnings of comedi_set_calibration()
2003-02-24 22:30:43 +00:00
Frank Mori Hess
b7de679b2f
fixed setting of __comedi_errno after ioctl
2003-02-16 16:45:13 +00:00
Frank Mori Hess
9d4aa91837
include string.h for memset()
2003-01-01 23:08:07 +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
b4fd07f2cf
Add comedi_get_read/write_subdevice()
2002-05-18 22:48:19 +00:00
David Schleef
a915ab1206
Fix up data_read_* code
2002-05-17 02:19:52 +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
Frank Mori Hess
75e3c0fcef
some more additions so flags don't cause invalid channel error
2002-04-30 23:07:00 +00:00