mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-09 16:21:51 +00:00
Fix functionality flags. Backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5257 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
9195f25c65
commit
ab3a660f22
2 files changed
+2
-3
No files matched your search
@@ -4,6 +4,7 @@ lm_sensors CHANGES file
|
||||
SVN-HEAD
|
||||
Library: Don't choke on unrecognized devices, part 2
|
||||
Module asb100: Remove some dead code (2.6 backport)
|
||||
Module i2c-amd756: Fix functionality flags (2.6 backport)
|
||||
Module i2c-amd756-s4882: Fix an error path (2.6 backport)
|
||||
Module i2c-i801: Drop broken I2C block read support
|
||||
Add ICH10 support
|
||||
|
||||
@@ -206,9 +206,7 @@ static s32 amd756_access(struct i2c_adapter * adap, u16 addr,
|
||||
{
|
||||
int i, len;
|
||||
|
||||
/** TODO: Should I supporte the 10-bit transfers? */
|
||||
switch (size) {
|
||||
/* TODO: proc call is supported, I'm just not sure what to do here... */
|
||||
case I2C_SMBUS_QUICK:
|
||||
outw_p(((addr & 0x7f) << 1) | (read_write & 0x01),
|
||||
SMB_HOST_ADDRESS);
|
||||
@@ -312,7 +310,7 @@ static u32 amd756_func(struct i2c_adapter *adapter)
|
||||
{
|
||||
return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE |
|
||||
I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA |
|
||||
I2C_FUNC_SMBUS_BLOCK_DATA | I2C_FUNC_SMBUS_PROC_CALL;
|
||||
I2C_FUNC_SMBUS_BLOCK_DATA;
|
||||
}
|
||||
|
||||
static struct i2c_algorithm smbus_algorithm = {
|
||||
|
||||
Reference in new issue
Block a user