aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/it87.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/it87.c')
-rw-r--r--drivers/hwmon/it87.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c
index 62afc63708a5..1dd7654cf00b 100644
--- a/drivers/hwmon/it87.c
+++ b/drivers/hwmon/it87.c
@@ -6,6 +6,7 @@
6 IT8712F Super I/O chip w/LPC interface 6 IT8712F Super I/O chip w/LPC interface
7 IT8716F Super I/O chip w/LPC interface 7 IT8716F Super I/O chip w/LPC interface
8 IT8718F Super I/O chip w/LPC interface 8 IT8718F Super I/O chip w/LPC interface
9 IT8726F Super I/O chip w/LPC interface
9 Sis950 A clone of the IT8705F 10 Sis950 A clone of the IT8705F
10 11
11 Copyright (C) 2001 Chris Gauthron <chrisg@0-in.com> 12 Copyright (C) 2001 Chris Gauthron <chrisg@0-in.com>
@@ -97,6 +98,7 @@ superio_exit(void)
97#define IT8705F_DEVID 0x8705 98#define IT8705F_DEVID 0x8705
98#define IT8716F_DEVID 0x8716 99#define IT8716F_DEVID 0x8716
99#define IT8718F_DEVID 0x8718 100#define IT8718F_DEVID 0x8718
101#define IT8726F_DEVID 0x8726
100#define IT87_ACT_REG 0x30 102#define IT87_ACT_REG 0x30
101#define IT87_BASE_REG 0x60 103#define IT87_BASE_REG 0x60
102 104
@@ -885,6 +887,7 @@ static int __init it87_find(unsigned short *address)
885 chip_type = superio_inw(DEVID); 887 chip_type = superio_inw(DEVID);
886 if (chip_type != IT8712F_DEVID 888 if (chip_type != IT8712F_DEVID
887 && chip_type != IT8716F_DEVID 889 && chip_type != IT8716F_DEVID
890 && chip_type != IT8726F_DEVID
888 && chip_type != IT8718F_DEVID 891 && chip_type != IT8718F_DEVID
889 && chip_type != IT8705F_DEVID) 892 && chip_type != IT8705F_DEVID)
890 goto exit; 893 goto exit;
@@ -965,6 +968,8 @@ static int it87_detect(struct i2c_adapter *adapter)
965 data->type = it8712; 968 data->type = it8712;
966 name = "it8712"; 969 name = "it8712";
967 break; 970 break;
971 case IT8726F_DEVID:
972 /* fall through */
968 case IT8716F_DEVID: 973 case IT8716F_DEVID:
969 data->type = it8716; 974 data->type = it8716;
970 name = "it8716"; 975 name = "it8716";
@@ -1389,7 +1394,7 @@ static void __exit sm_it87_exit(void)
1389 1394
1390MODULE_AUTHOR("Chris Gauthron <chrisg@0-in.com>, " 1395MODULE_AUTHOR("Chris Gauthron <chrisg@0-in.com>, "
1391 "Jean Delvare <khali@linux-fr.org>"); 1396 "Jean Delvare <khali@linux-fr.org>");
1392MODULE_DESCRIPTION("IT8705F/8712F/8716F/8718F, SiS950 driver"); 1397MODULE_DESCRIPTION("IT8705F/8712F/8716F/8718F/8726F, SiS950 driver");
1393module_param(update_vbat, bool, 0); 1398module_param(update_vbat, bool, 0);
1394MODULE_PARM_DESC(update_vbat, "Update vbat if set else return powerup value"); 1399MODULE_PARM_DESC(update_vbat, "Update vbat if set else return powerup value");
1395module_param(fix_pwm_polarity, bool, 0); 1400module_param(fix_pwm_polarity, bool, 0);