diff options
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/smsc47b397.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/smsc47b397.c b/drivers/hwmon/smsc47b397.c index 943abbd95ab5..3b65b0e61c49 100644 --- a/drivers/hwmon/smsc47b397.c +++ b/drivers/hwmon/smsc47b397.c | |||
@@ -333,7 +333,7 @@ static int __init smsc47b397_find(unsigned short *addr) | |||
333 | superio_enter(); | 333 | superio_enter(); |
334 | id = superio_inb(SUPERIO_REG_DEVID); | 334 | id = superio_inb(SUPERIO_REG_DEVID); |
335 | 335 | ||
336 | if ((id != 0x6f) && (id != 0x81)) { | 336 | if ((id != 0x6f) && (id != 0x81) && (id != 0x85)) { |
337 | superio_exit(); | 337 | superio_exit(); |
338 | return -ENODEV; | 338 | return -ENODEV; |
339 | } | 339 | } |
@@ -346,7 +346,8 @@ static int __init smsc47b397_find(unsigned short *addr) | |||
346 | 346 | ||
347 | printk(KERN_INFO DRVNAME ": found SMSC %s " | 347 | printk(KERN_INFO DRVNAME ": found SMSC %s " |
348 | "(base address 0x%04x, revision %u)\n", | 348 | "(base address 0x%04x, revision %u)\n", |
349 | id == 0x81 ? "SCH5307-NS" : "LPC47B397-NC", *addr, rev); | 349 | id == 0x81 ? "SCH5307-NS" : id == 0x85 ? "SCH5317" : |
350 | "LPC47B397-NC", *addr, rev); | ||
350 | 351 | ||
351 | superio_exit(); | 352 | superio_exit(); |
352 | return 0; | 353 | return 0; |