Corrected comments describing read_subdevice and write_subdevice members
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 16 Jul 2007 14:01:40 +0000 (14:01 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 16 Jul 2007 14:01:40 +0000 (14:01 +0000)
of comedi_devinfo

doc/reference.sgml

index fe3e82500fb1a165ca4279da1cc34b072eb1c5d5..8584cc503357f20f631cd6438f285d945d97ea42 100644 (file)
@@ -232,8 +232,8 @@ struct comedi_devinfo_struct{
   unsigned int n_subdevs;       // number of subdevices on this device
   char         driver_name[COMEDI_NAMELEN];
   char         board_name[COMEDI_NAMELEN];
-  int          read_subdevice;  // number of read devices
-  int          write_subdevice; // number of write devices
+  int          read_subdevice;  // index of subdevice whose buffer is read by read(), etc. on file descriptor from comedi_fileno() (negative means none)
+  int          write_subdevice; // index of subdevice whose buffer is written by write(), etc. on file descriptor from comedi_fileno() (negatove means none).
   int          unused[30];
 };