]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c-i801: Use the internal 32-byte buffer on ICH4+
authorOleg Ryjkov <olegr@google.com>
Thu, 12 Jul 2007 12:12:31 +0000 (14:12 +0200)
committerJean Delvare <khali@hyperion.delvare>
Thu, 12 Jul 2007 12:12:31 +0000 (14:12 +0200)
commit7edcb9abb594a8f3b4ca756e03d01c870aeae127
tree1a58c21abdb71a2ec146225e0d226103926dbbd7
parentca8b9e32a11a7cbfecbef00c8451a79fe1af392e
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 <olegr@google.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/i2c/busses/i2c-i801
drivers/i2c/busses/i2c-i801.c