(Phil) Improved detection.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@579 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Philip Edelbrock committed 1999-09-24 06:53:14 +00:00
1 parent 11bc8953e4
commit 373df8c69e
1 file changed
+1 -1
+1 -1
View File
@@ -207,7 +207,7 @@ printk("bt869.o: probing address %d .\n",address);
new_client->addr,0xC4,0); /* set status bank 0 */
cur = i2c_smbus_read_byte(adapter,address);
printk("bt869.o: address 0x%X testing-->0x%X\n",address,cur);
if ((cur | 0x20) != 0x22)
if ((cur & 0xE0) != 0x20)
goto ERROR1;
/* Determine the chip type */