Changeset 4015

Show
Ignore:
Timestamp:
11/05/05 18:07:46 (8 years ago)
Author:
khali
Message:

Backport SMBus PEC support rewrite from Linux 2.6:

The new SMBus PEC implementation doesn't support PEC emulation on
non-PEC non-I2C SMBus masters, so we can drop all related code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/kernel/i2c.h

    r4013 r4015  
    445445        __u16 word; 
    446446        __u8 block[I2C_SMBUS_BLOCK_MAX + 2]; /* block[0] is used for length */ 
    447                                                     /* and one more for PEC */ 
     447                               /* and one more for user-space compatibility */ 
    448448}; 
    449449 
     
    462462#define I2C_SMBUS_I2C_BLOCK_DATA    6 
    463463#define I2C_SMBUS_BLOCK_PROC_CALL   7           /* SMBus 2.0 */ 
    464 #define I2C_SMBUS_BLOCK_DATA_PEC    8           /* SMBus 2.0 */ 
    465 #define I2C_SMBUS_PROC_CALL_PEC     9           /* SMBus 2.0 */ 
    466 #define I2C_SMBUS_BLOCK_PROC_CALL_PEC  10       /* SMBus 2.0 */ 
    467 #define I2C_SMBUS_WORD_DATA_PEC    11           /* SMBus 2.0 */ 
    468464 
    469465