Changeset 5363

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

Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines. They never went in kernel 2.4
and were just dropped from kernel 2.6.

Location:
i2c/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/CHANGES

    r5295 r5363  
    1010SVN-HEAD 
    1111  Makefile: Fallback to simple depmod if System.map can't be found 
     12  i2c.h: Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines 
    1213 
    13142.10.5 (20071024) 
  • i2c/trunk/TODO

    r4356 r5363  
    6969  Emulation support is required. 
    7070  General 16-bit support for all transaction types will require 
    71   many changes. Support for 16-bit address block 
    72   accesses only can be added more easily, and the 
    73   functionality #defines I2C_FUNC_SMBUS_READ_I2C_BLOCK_2 and 
    74   I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2 have been added to i2c.h. 
    75   This may be enough to begin with for these new eeproms. 
    76   The emulation layer has not been implemented. 
     71  many changes. 
    7772  Note that writes with an arbitrary number of address bytes 
    7873  are actually supported now by treating the extra bytes as 
  • i2c/trunk/kernel/i2c.h

    r4994 r5363  
    405405#define I2C_FUNC_SMBUS_READ_I2C_BLOCK   0x04000000 /* I2C-like block xfer  */ 
    406406#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK  0x08000000 /* w/ 1-byte reg. addr. */ 
    407 #define I2C_FUNC_SMBUS_READ_I2C_BLOCK_2  0x10000000 /* I2C-like block xfer  */ 
    408 #define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2 0x20000000 /* w/ 2-byte reg. addr. */ 
    409407 
    410408#define I2C_FUNC_SMBUS_BYTE (I2C_FUNC_SMBUS_READ_BYTE | \ 
     
    418416#define I2C_FUNC_SMBUS_I2C_BLOCK (I2C_FUNC_SMBUS_READ_I2C_BLOCK | \ 
    419417                                  I2C_FUNC_SMBUS_WRITE_I2C_BLOCK) 
    420 #define I2C_FUNC_SMBUS_I2C_BLOCK_2 (I2C_FUNC_SMBUS_READ_I2C_BLOCK_2 | \ 
    421                                     I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2) 
    422418 
    423419#define I2C_FUNC_SMBUS_EMUL (I2C_FUNC_SMBUS_QUICK | \