From 373df8c69ecb86889402e13c80bc7a0d8ecbcb08 Mon Sep 17 00:00:00 2001 From: Philip Edelbrock Date: Fri, 24 Sep 1999 06:53:14 +0000 Subject: [PATCH] (Phil) Improved detection. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@579 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/chips/bt869.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/chips/bt869.c b/kernel/chips/bt869.c index 01d30f51..84bf9e73 100644 --- a/kernel/chips/bt869.c +++ b/kernel/chips/bt869.c @@ -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 */