diff options
| author | Rodolfo Giometti <giometti@linux.it> | 2010-11-26 17:06:56 +0100 | 
|---|---|---|
| committer | Ben Dooks <ben-linux@fluff.org> | 2011-01-04 01:19:43 +0000 | 
| commit | eda6bee6c7e67b5bd17bdbced0926f5687f686d5 (patch) | |
| tree | 3f2be4bb958e1fd320494973d55c45f91381ef4a /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
| parent | 03ed6a3aa600c48593c3984812fda2d5945ddb46 (diff) | |
i2c-mv64xxx: send repeated START between messages in xfer
As stated into file include/linux/i2c.h we must send a repeated START
between messages in the same xfer groupset:
 * Except when I2C "protocol mangling" is used, all I2C adapters implement
 * the standard rules for I2C transactions.  Each transaction begins with a
 * START.  That is followed by the slave address, and a bit encoding read
 * versus write.  Then follow all the data bytes, possibly including a byte
 * with SMBus PEC.  The transfer terminates with a NAK, or when all those
 * bytes have been transferred and ACKed.  If this is the last message in a
 * group, it is followed by a STOP.  Otherwise it is followed by the next
 * @i2c_msg transaction segment, beginning with a (repeated) START.
Signed-off-by: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Mauro Barella <mbarella@vds-it.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions
