All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] question about comment in i2c.h
@ 2005-09-22 19:13 Hideki IWAMOTO
  2005-09-24 11:37 ` Jean Delvare
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Hideki IWAMOTO @ 2005-09-22 19:13 UTC (permalink / raw)
  To: lm-sensors

I want to ask about the following comment in i2c.h.
What does "one more for read length in block process call" mean?
In i2c_smbus_block_process_call and i2c_smbus_xfer_emulated,
block[0] is used for the read length.

 union i2c_smbus_data {
         __u8 byte;
         __u16 word;
         __u8 block[I2C_SMBUS_BLOCK_MAX + 3]; /* block[0] is used for length */
                           /* one more for read length in block process call */
                                                     /* and one more for PEC */
 };


----
Hideki IWAMOTO  h-iwamoto@kit.hi-ho.ne.jp

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-27  9:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-22 19:13 [lm-sensors] question about comment in i2c.h Hideki IWAMOTO
2005-09-24 11:37 ` Jean Delvare
2005-09-26 23:10 ` Mark Studebaker
2005-09-26 23:13 ` Mark Studebaker
2005-09-27  9:38 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.