From: Oleg Ryjkov Date: Thu, 12 Jul 2007 12:12:31 +0000 (+0200) Subject: i2c-i801: Use the internal 32-byte buffer on ICH4+ X-Git-Tag: v2.6.23-rc1~1112^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7edcb9abb594a8f3b4ca756e03d01c870aeae127;p=pandora-kernel.git i2c-i801: Use the internal 32-byte buffer on ICH4+ Add an ability to utilize the internal SRAM buffer on ICH4 and newer host controllers to speed up execution of block operations. I've split the code so that it is more clear which block transaction is performed. First of all the host controller's type is identified. isich4 is set when we think that the controller has the internal buffer. Then, before every block transaction, if isich4 is set, we attempt to enable the E32B bit in SMBAUXCTL register. Signed-off-by: Oleg Ryjkov Signed-off-by: Jean Delvare --- Reading git-diff-tree failed