Commit graph

1110 commits

Author SHA1 Message Date
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
a61ed59402 Fixed return values from comedi_mark_buffer_read/written(). Removed
some redundant assignments of __comedi_errno
2008-02-11 20:50:14 +00:00
Frank Mori Hess
d2809f82d5 Added some "type" elements to docbook output, although they don't really
have much effect.
2008-02-11 16:42:28 +00:00
Frank Mori Hess
a7ece13dbd Added a link and remove some wrong (obsolete?) bits in the description
of comedi_cancel().
2008-02-11 16:25:15 +00:00
Frank Mori Hess
4e7a93e646 Rearranged section heirarchy. Made capitalization of section titles
consistent.
2008-02-11 15:50:36 +00:00
Frank Mori Hess
86a6fa5989 Added section for comedi_subdevice_type enum. 2008-02-08 21:42:25 +00:00
Frank Mori Hess
3a5c3a8fb0 Added some links to core function references, and fixed some bitrot.
Deprecated comedi_set_global_oor_behavior since it only affects
comedi_to_phys (which is already deprecated).
2008-02-08 21:41:32 +00:00
Frank Mori Hess
db048dfa6f Fixed some spelling errors "sucess"->"success". 2008-02-08 19:02:18 +00:00
Frank Mori Hess
e3526fbd7c Removed some wrong or obsolete information. Made it xinclude the
tutorial programs tut1.c and tut2.c
2008-02-08 18:48:27 +00:00
Frank Mori Hess
d73685a254 Minor tweak to comedi_get_softcal_converter description. 2008-02-08 18:28:26 +00:00
Frank Mori Hess
d7434f79bb trivial change to a comment. 2008-02-08 18:23:05 +00:00
Frank Mori Hess
f6a4444de8 Switched to use comedi_to_physical instead of deprecated comedi_to_phys. 2008-02-08 16:23:36 +00:00
Frank Mori Hess
9a472f9f4a Added some checking of return values for errors 2008-02-08 16:22:43 +00:00
Frank Mori Hess
6639f730fc Some minor tweaks. 2008-02-07 19:58:13 +00:00
Frank Mori Hess
cdb1384675 Updated drivers.txt from comedi 0.7.76 2008-01-28 21:34:06 +00:00
Frank Mori Hess
46bd0a16ba comedi_internal_trigger is provided by comedilib now. 2008-01-28 20:38:47 +00:00
Frank Mori Hess
242aa6405f Fixed another problem with mmap test on subdevice using lsampl_t. 2008-01-28 20:35:14 +00:00
Frank Mori Hess
115b6a66c1 Fixed bug in mmap test when run on subdevice with SDF_LSAMPL. 2008-01-28 20:27:19 +00:00
Frank Mori Hess
064f43b4f8 Added css stylesheet for html docs. At the momment, it just gives a
light gray background to display of "programlisting" elements.
2008-01-28 19:30:01 +00:00
Ian Abbott
0145624108 Don't use SDF_WRITEABLE flag to check if read (or write) command is
applicable.  Instead, check that the specified subdevice matches the
read (or write) subdevice.
2008-01-28 16:10:11 +00:00
Frank Mori Hess
32c98f9506 Added some links. 2008-01-25 15:00:01 +00:00
Frank Mori Hess
d5d5d74cf5 Links to http://www.comedi.org everywhere. 2008-01-24 21:35:24 +00:00
Frank Mori Hess
0b172a6493 Did a little editing and updating for bitrotten parts. 2008-01-24 21:09:32 +00:00
Frank Mori Hess
73cf1bf2e6 Use "email" element. 2008-01-24 21:09:05 +00:00
Frank Mori Hess
1a24ec3043 Fixed indentation, shouldn't have made any content changes. 2008-01-24 19:30:00 +00:00
Frank Mori Hess
dfaf144f85 Fixed indentation. Performed some editing of content. Removed some parts
which were wrong, or made no sense to me.
2008-01-24 19:11:18 +00:00
Frank Mori Hess
48a0731a29 Added some missing "para" elements in the legalnotice. Fixed up
indentation.
2008-01-24 15:08:47 +00:00
Frank Mori Hess
ab8d0426c3 Forgot to add this new file, it's part of conversion to docbook-xml. 2008-01-24 01:34:10 +00:00
Frank Mori Hess
a0568092e7 Converted comedilib docs to docbook-xml 4.4, fixing a bunch of
parse errors along the way (mostly unclosed tags).
2008-01-24 01:32:41 +00:00
Frank Mori Hess
a06bba542a Added more INSN_CONFIG wrappers: comedi_get_clock_source(),
comedi_get_gate_source(), and comedi_get_routing().  Added "channel"
parameter to some of the INSN_CONFIG wrappers.
2008-01-23 18:56:52 +00:00
Frank Mori Hess
76791bfeed Added comedi_set_filter() and comedi_set_routing() configuration
instruction wrappers.
2008-01-18 16:37:32 +00:00
Frank Mori Hess
64d656994a Updated to use comedi_set_clock_source() wrapper. 2008-01-17 17:10:07 +00:00
Frank Mori Hess
b3627840ac Added reference entries for new configuration instruction wrappers. 2008-01-17 17:03:01 +00:00
Ian Abbott
1979b2f2cc More memory initialization, error detection and cleanup in get_subdevices()
and get_rangeinfo().
2008-01-17 13:52:02 +00:00
Ian Abbott
625d44af04 Free elements of rangeinfo_list on close. 2008-01-17 13:50:32 +00:00
Frank Mori Hess
37dc388297 Return 0 from the INSN_CONFIG wrappers on success. 2008-01-16 20:09:38 +00:00
Frank Mori Hess
ebe72a2b2a Added more memory initialization for the sake of valgrind (especially
memory that gets set by ioctls that valgrind can't see).  Added a little
error handling for a few memory allocations.
2008-01-16 19:45:05 +00:00
Frank Mori Hess
4d07ce9969 Moved some wrappers for INSN_CONFIG instructions into comedilib.
Will add some reference documentation for the new functions soon.
2008-01-15 21:01:40 +00:00
Frank Mori Hess
8e610500f3 Split function references into subsections. Always build docs in
$(srcdir).
2008-01-14 22:15:07 +00:00
Frank Mori Hess
d1ff202fc4 fixed typo in hotplug warning message. 2008-01-14 20:29:37 +00:00
Bernd Porr
9493cf1b47 Synced this with comedi. PWM support. 2008-01-13 23:18:05 +00:00
Ian Abbott
599cf81a1b Define datarootdir, docdir, htmldir and pdfdir if not defined by autoconf
(first defined in autoconf-2.59c).
2007-12-19 11:44:16 +00:00
Frank Mori Hess
624228b8fe Added a little more description of return value from
comedi_mark_buffer_read(), from Jan Gukelberger <g.u.g.i@gmx.de>.
2007-12-17 00:06:39 +00:00
Ian Abbott
0b21f80783 Avoid mixing declarations and code. 2007-12-10 13:20:19 +00:00
Frank Mori Hess
f87490e0f6 Fixed setting of comedi_errno in comedi_dio_config() for invalid
arguments.
2007-12-01 15:54:08 +00:00
Frank Mori Hess
792e4b741f Got rid of obsolete error codes. 2007-12-01 15:53:18 +00:00
Ian Abbott
3464515b7d Added blancmange curve. 2007-11-30 18:20:15 +00:00
Ian Abbott
92eb0d52bc Selected waveform with -n. Shifted up sine wave if necessary. Added new
waveforms.  Fixed cycloid. :-)
2007-11-30 16:02:30 +00:00
Ian Abbott
df5e7fde3f Synced with comedi. 2007-11-30 12:24:08 +00:00
Bernd Porr
ebd3258a05 New firmware with PWM support. It uses the GPIF of the board to stream
out the bit streams.
2007-11-25 21:17:14 +00:00