• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: Commit

2.4.36-stable kernel tree


Commit MetaInfo

Revisão37df6743a8b69c748759c817170c4b1b43f63c38 (tree)
Hora2008-11-09 23:06:08
AutorJean Delvare <khali@linu...>
CommiterWilly Tarreau

Mensagem de Log

i2c: Update comment of I2C_FUNC_SMBUS_*_I2C_BLOCK

Update the comment of I2C_FUNC_SMBUS_*_I2C_BLOCK, makes it in line
with the external i2c repository and the 2.6 kernel.

Signed-off-by: Jean Delvare <khali@linux-fr.org>

Mudança Sumário

Diff

--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -379,8 +379,8 @@ struct i2c_msg {
379379 #define I2C_FUNC_SMBUS_PROC_CALL 0x00800000
380380 #define I2C_FUNC_SMBUS_READ_BLOCK_DATA 0x01000000
381381 #define I2C_FUNC_SMBUS_WRITE_BLOCK_DATA 0x02000000
382-#define I2C_FUNC_SMBUS_READ_I2C_BLOCK 0x04000000 /* New I2C-like block */
383-#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 0x08000000 /* transfer */
382+#define I2C_FUNC_SMBUS_READ_I2C_BLOCK 0x04000000 /* I2C-like block xfer */
383+#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 0x08000000 /* w/ 1-byte reg. addr. */
384384
385385 #define I2C_FUNC_SMBUS_BYTE (I2C_FUNC_SMBUS_READ_BYTE | \
386386 I2C_FUNC_SMBUS_WRITE_BYTE)
Show on old repository browser