Changeset 5362

Show
Ignore:
Timestamp:
10/19/08 11:50:16 (5 years ago)
Author:
khali
Message:

Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines, as was just done in the
Linux 2.6 kernel.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r5359 r5362  
    33 
    44SVN-HEAD 
     5  File i2c-dev.h: Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines 
    56  Library: Avoid namespace pollution 
    67           Add support for the IT8720F chip 
  • lm-sensors/trunk/kernel/include/i2c-dev.h

    r4950 r5362  
    6767#define I2C_FUNC_SMBUS_READ_I2C_BLOCK   0x04000000 /* I2C-like block xfer  */ 
    6868#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK  0x08000000 /* w/ 1-byte reg. addr. */ 
    69 #define I2C_FUNC_SMBUS_READ_I2C_BLOCK_2  0x10000000 /* I2C-like block xfer  */ 
    70 #define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2 0x20000000 /* w/ 2-byte reg. addr. */ 
    7169 
    7270#define I2C_FUNC_SMBUS_BYTE (I2C_FUNC_SMBUS_READ_BYTE | \ 
     
    8078#define I2C_FUNC_SMBUS_I2C_BLOCK (I2C_FUNC_SMBUS_READ_I2C_BLOCK | \ 
    8179                                  I2C_FUNC_SMBUS_WRITE_I2C_BLOCK) 
    82 #define I2C_FUNC_SMBUS_I2C_BLOCK_2 (I2C_FUNC_SMBUS_READ_I2C_BLOCK_2 | \ 
    83                                     I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2) 
    8480 
    8581/* Old name, for compatibility */