Changeset 5363
Legend:
- Unmodified
- Added
- Removed
-
i2c/trunk/CHANGES
r5295 r5363 10 10 SVN-HEAD 11 11 Makefile: Fallback to simple depmod if System.map can't be found 12 i2c.h: Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines 12 13 13 14 2.10.5 (20071024) -
i2c/trunk/TODO
r4356 r5363 69 69 Emulation support is required. 70 70 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. 77 72 Note that writes with an arbitrary number of address bytes 78 73 are actually supported now by treating the extra bytes as -
i2c/trunk/kernel/i2c.h
r4994 r5363 405 405 #define I2C_FUNC_SMBUS_READ_I2C_BLOCK 0x04000000 /* I2C-like block xfer */ 406 406 #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. */409 407 410 408 #define I2C_FUNC_SMBUS_BYTE (I2C_FUNC_SMBUS_READ_BYTE | \ … … 418 416 #define I2C_FUNC_SMBUS_I2C_BLOCK (I2C_FUNC_SMBUS_READ_I2C_BLOCK | \ 419 417 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)422 418 423 419 #define I2C_FUNC_SMBUS_EMUL (I2C_FUNC_SMBUS_QUICK | \
