From: Frank Mori Hess Date: Tue, 16 Sep 2008 14:01:38 +0000 (+0000) Subject: synced with comedi. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ac9f5f248fe1aae78266ff4855d93eefeb659bf6;p=comedilib.git synced with comedi. --- diff --git a/include/comedi.h b/include/comedi.h index 4f64572..ca9a43c 100644 --- a/include/comedi.h +++ b/include/comedi.h @@ -276,6 +276,13 @@ extern "C" { COMEDI_OPENDRAIN = 2 }; + enum comedi_support_level + { + COMEDI_UNKNOWN_SUPPORT = 0, + COMEDI_SUPPORTED, + COMEDI_UNSUPPORTED + }; + /* ioctls */ #define CIO 'd' @@ -385,6 +392,7 @@ extern "C" { unsigned int flags; }; + struct comedi_subdinfo_struct { unsigned int type; unsigned int n_chan; @@ -395,7 +403,8 @@ extern "C" { unsigned int flags; /* channel flags */ unsigned int range_type; /* lookup in kernel */ unsigned int settling_time_0; - unsigned int unused[9]; + unsigned insn_bits_support; /* see support_level enum for values*/ + unsigned int unused[8]; }; struct comedi_devinfo_struct {