diff options
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/smsc47b397.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/hwmon/smsc47b397.c b/drivers/hwmon/smsc47b397.c index 7fe71576dea4..37ed8b33f01a 100644 --- a/drivers/hwmon/smsc47b397.c +++ b/drivers/hwmon/smsc47b397.c | |||
@@ -299,7 +299,7 @@ static int __init smsc47b397_find(unsigned short *addr) | |||
299 | superio_enter(); | 299 | superio_enter(); |
300 | id = superio_inb(SUPERIO_REG_DEVID); | 300 | id = superio_inb(SUPERIO_REG_DEVID); |
301 | 301 | ||
302 | if (id != 0x6f) { | 302 | if ((id != 0x6f) && (id != 0x81)) { |
303 | superio_exit(); | 303 | superio_exit(); |
304 | return -ENODEV; | 304 | return -ENODEV; |
305 | } | 305 | } |
@@ -310,8 +310,9 @@ static int __init smsc47b397_find(unsigned short *addr) | |||
310 | *addr = (superio_inb(SUPERIO_REG_BASE_MSB) << 8) | 310 | *addr = (superio_inb(SUPERIO_REG_BASE_MSB) << 8) |
311 | | superio_inb(SUPERIO_REG_BASE_LSB); | 311 | | superio_inb(SUPERIO_REG_BASE_LSB); |
312 | 312 | ||
313 | printk(KERN_INFO "smsc47b397: found SMSC LPC47B397-NC " | 313 | printk(KERN_INFO "smsc47b397: found SMSC %s " |
314 | "(base address 0x%04x, revision %u)\n", *addr, rev); | 314 | "(base address 0x%04x, revision %u)\n", |
315 | id == 0x81 ? "SCH5307-NS" : "LPC47B397-NC", *addr, rev); | ||
315 | 316 | ||
316 | superio_exit(); | 317 | superio_exit(); |
317 | return 0; | 318 | return 0; |