On Fri, Jul 18, 2008 at 12:13:30AM +0800, Wen Wang wrote:
> Hi all,
> I have a problem writing an I2C device driver and would greatly appreciate
> if someone could provide some enlightenment.
> 
> I'm working on a project needs to access registers with 16bits address
> through I2C. But unfortunately I can not find a way to achieve this, cause
> it seems that current kernel I2C framework only supports 8bits address
> register.

The easiest way is to create a function that uses a pair of i2c messages,
the first message sends the 16bits of address pointer to the device, the
second one either reads or writes data.
 
> So I'm wondering do I miss something or what can I do? Any ideas?
> 
> Thanks
> Wen

> _______________________________________________
> i2c mailing list
> i2c@lm-sensors.org
> http://lists.lm-sensors.org/mailman/listinfo/i2c

-- 
Ben ([EMAIL PROTECTED], http://www.fluff.org/)

  'a smiley only costs 4 bytes'

_______________________________________________
i2c mailing list
i2c@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

Reply via email to