Changeset 4953

Show
Ignore:
Timestamp:
10/14/07 14:35:10 (1 year ago)
Author:
khali
Message:

i2c-nforce2: Declare PEC as supported. This is a backport from Linux 2.6.
Kill dead code.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/CHANGES

    r4950 r4953  
    2222  Module fscher: Add missing read of control register (2.6 backport) 
    2323  Module i2c-i801: Add Tolapai support (2.6 backport) 
     24  Module i2c-nforce2: Declare PEC as supported (2.6 backport) 
    2425  Module i2c-piix4: Add ATI SB700 and SB800 support (2.6 backport) 
    2526  Module lm93: Fix an array overrun (2.6 backport) 
  • lm-sensors/trunk/kernel/busses/i2c-nforce2.c

    r4612 r4953  
    135135                       unsigned short flags, char read_write, 
    136136                       u8 command, int size, union i2c_smbus_data *data); 
    137 /* 
    138 static int nforce2_block_transaction(union i2c_smbus_data *data, 
    139                                   char read_write, int i2c_enable); 
    140  */ 
    141137static u32 nforce2_func(struct i2c_adapter *adapter); 
    142138 
     
    279275        /* other functionality might be possible, but is not tested */ 
    280276        return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | 
    281             I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA /*
    282             I2C_FUNC_SMBUS_BLOCK_DATA */
     277            I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA
     278            I2C_FUNC_SMBUS_HWPEC_CALC
    283279} 
    284280