* [PATCH] <SMBus block read I2C emulation>, <i2c-2.8.1>
@ 2005-05-19 6:24 Liu Tao
2005-05-19 6:24 ` Mark Studebaker
0 siblings, 1 reply; 2+ messages in thread
From: Liu Tao @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
Hello!
Here is the patch to support SMBus Block Read and SMBus Block Process Call
protocols under I2C emulation. It adds the I2C_M_RECV_LEN flag.
To support the two protocols, an algorithm driver should handle the
I2C_M_RECV_LEN flag in its master_xfer routin, and return
I2C_FUNC_SMBUS_EMUL | I2C_FUNC_SMBUS_READ_BLOCK_DATA or
I2C_FUNC_SMBUS_EMUL | I2C_FUNC_SMBUS_BLOCK_PROC_CALL
in its functionality routin.
Existing algorithm drivers won't be affected by this patch.
--
Regards,
Liu Tao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c_smbus_emul.patch
Type: text/x-diff
Size: 3033 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20031127/c17a759e/i2c_smbus_emul.bin
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] <SMBus block read I2C emulation>, <i2c-2.8.1>
2005-05-19 6:24 [PATCH] <SMBus block read I2C emulation>, <i2c-2.8.1> Liu Tao
@ 2005-05-19 6:24 ` Mark Studebaker
0 siblings, 0 replies; 2+ messages in thread
From: Mark Studebaker @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
excellent.
would you please submit a patch for i2c-algo-bit?
then we can test and check in both together.
Liu Tao wrote:
>
> Hello!
>
> Here is the patch to support SMBus Block Read and SMBus Block Process Call
> protocols under I2C emulation. It adds the I2C_M_RECV_LEN flag.
>
> To support the two protocols, an algorithm driver should handle the
> I2C_M_RECV_LEN flag in its master_xfer routin, and return
> I2C_FUNC_SMBUS_EMUL | I2C_FUNC_SMBUS_READ_BLOCK_DATA or
> I2C_FUNC_SMBUS_EMUL | I2C_FUNC_SMBUS_BLOCK_PROC_CALL
> in its functionality routin.
>
> Existing algorithm drivers won't be affected by this patch.
>
> --
> Regards,
> Liu Tao
>
>
> Name: i2c_smbus_emul.patch
> i2c_smbus_emul.patch Type: text/x-diff
> Encoding: 7bit
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-19 6:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19 6:24 [PATCH] <SMBus block read I2C emulation>, <i2c-2.8.1> Liu Tao
2005-05-19 6:24 ` Mark Studebaker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.