All of lore.kernel.org
 help / color / mirror / Atom feed
From: lt@ncic.ac.cn (Liu Tao)
To: lm-sensors@vger.kernel.org
Subject: [PATCH] <SMBus block read I2C emulation>, <i2c-2.8.1>
Date: Thu, 19 May 2005 06:24:27 +0000	[thread overview]
Message-ID: <200311271749.52305.lt@ncic.ac.cn> (raw)

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

             reply	other threads:[~2005-05-19  6:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 Liu Tao [this message]
2005-05-19  6:24 ` [PATCH] <SMBus block read I2C emulation>, <i2c-2.8.1> Mark Studebaker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311271749.52305.lt@ncic.ac.cn \
    --to=lt@ncic.ac.cn \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.