Changeset 4951 for i2c/trunk/doc

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

dev-interface clarifications. This is a backport from Linux 2.6, original
patch by David Brownell.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • i2c/trunk/doc/dev-interface

    r3988 r4951  
    9191ioctl(file,I2C_TENBIT,long select) 
    9292  Selects ten bit addresses if select not equals 0, selects normal 7 bit 
    93   addresses if select equals 0. Default 0. 
     93  addresses if select equals 0. Default 0.  This request is only valid 
     94  if the adapter has I2C_FUNC_10BIT_ADDR. 
    9495 
    9596ioctl(file,I2C_PEC,long select) 
    9697  Selects SMBus PEC (packet error checking) generation and verification 
    9798  if select not equals 0, disables if select equals 0. Default 0. 
    98   Used only for SMBus transactions. 
     99  Used only for SMBus transactions.  This request only has an effect if the 
     100  the adapter has I2C_FUNC_SMBUS_PEC; it is still safe if not, it just 
     101  doesn't have any effect. 
    99102 
    100103ioctl(file,I2C_FUNCS,unsigned long *funcs) 
     
    104107 
    105108  Do combined read/write transaction without stop in between. 
    106   The argument is a pointer to a struct i2c_rdwr_ioctl_data { 
     109  Only valid if the adapter has I2C_FUNC_I2C.  The argument is 
     110  a pointer to a 
    107111 
     112  struct i2c_rdwr_ioctl_data { 
    108113      struct i2c_msg *msgs;  /* ptr to array of simple messages */ 
    109114      int nmsgs;             /* number of messages to exchange */