From ebb3d6401d78e653287df546c2a3bc0dbeb600a3 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 24 Jul 2007 23:36:00 +0200 Subject: [PATCH] --- yaml --- r: 63438 b: refs/heads/master c: acf346a311588e4cb659c183b9e312fa313dbb7f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/hwmon/lm78.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6d3c77e1238c..4e9ba60c8dd9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f08a34874f93d5081c735ffcb2f9071be9b5d270 +refs/heads/master: acf346a311588e4cb659c183b9e312fa313dbb7f diff --git a/trunk/drivers/hwmon/lm78.c b/trunk/drivers/hwmon/lm78.c index 9fb572f03ba5..565c4e679b8d 100644 --- a/trunk/drivers/hwmon/lm78.c +++ b/trunk/drivers/hwmon/lm78.c @@ -864,7 +864,7 @@ static int __init lm78_isa_found(unsigned short address) /* Determine the chip type */ outb_p(LM78_REG_CHIPID, address + LM78_ADDR_REG_OFFSET); val = inb_p(address + LM78_DATA_REG_OFFSET); - if (val == 0x00 /* LM78 */ + if (val == 0x00 || val == 0x20 /* LM78 */ || val == 0x40 /* LM78-J */ || (val & 0xfe) == 0xc0) /* LM79 */ found = 1;