mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-20 19:41:47 +00:00
(Phil) Expanded i2c-voodoo3 support to handle all transaction types
except block. I also made a minor change to the bt869 driver to match. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@463 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
af28af0259
commit
2c24e55d3d
2 files changed
+148
-26
No files matched your search
@@ -193,7 +193,7 @@ printk("bt869.o: probing address %d .\n",address);
|
||||
/* Now, we do the remaining detection. It is lousy. */
|
||||
smbus_write_byte_data(new_client->adapter,
|
||||
new_client->addr,0xC4,0); /* set status bank 0 */
|
||||
cur = smbus_read_byte_data(adapter,address,0);
|
||||
cur = smbus_read_byte(adapter,address);
|
||||
printk("bt869.o: address 0x%X testing-->0x%X\n",address,cur);
|
||||
if ((cur | 0x20) != 0x22)
|
||||
goto ERROR1;
|
||||
|
||||
Reference in new issue
Block a user