mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-20 19:41:47 +00:00
(Phil) Voodoo3 I2C bus driver works and now properly detects missed 'acks'
during a transaction. It also can detect a 'hung' bus prior to starting a transaction. It seems to properly read and write to the BT869. Todo: support for multiple voodoo3 cards. Support for other transaction types (fairly simple). Use code as a start for a better algo-bit adapter template? Complete the bt869 driver. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@452 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
ab1d4f5d32
commit
ad7c7e2834
2 files changed
+76
-35
No files matched your search
@@ -31,6 +31,8 @@
|
||||
|
||||
/* Addresses to scan */
|
||||
static unsigned short normal_i2c[] = {SENSORS_I2C_END};
|
||||
|
||||
/* also can be on 0x45 */
|
||||
static unsigned short normal_i2c_range[] = {0x44,0x45,SENSORS_I2C_END};
|
||||
static unsigned int normal_isa[] = {SENSORS_ISA_END};
|
||||
static unsigned int normal_isa_range[] = {SENSORS_ISA_END};
|
||||
@@ -169,7 +171,7 @@ printk("bt869.o: probing address %d .\n",address);
|
||||
new_client->addr,0xC4,0); /* set status bank 0 */
|
||||
cur = smbus_read_byte_data(adapter,address,0);
|
||||
printk("bt869.o: address 0x%X testing-->0x%X\n",address,cur);
|
||||
if ((cur | 0x27) != 0x27)
|
||||
if (cur != 0x22)
|
||||
goto ERROR1;
|
||||
|
||||
/* Determine the chip type */
|
||||
|
||||
Reference in new issue
Block a user