From mboxrd@z Thu Jan 1 00:00:00 1970 From: mds@paradyne.com (Mark Studebaker) Date: Thu, 19 May 2005 06:24:27 +0000 Subject: [PATCH] , Message-Id: <3FC6AEF0.95264C0F@paradyne.com> List-Id: References: <200311271749.52305.lt@ncic.ac.cn> In-Reply-To: <200311271749.52305.lt@ncic.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org 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