diff options
author | Hans de Goede <hdegoede@redhat.com> | 2011-07-25 15:46:09 -0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-07-25 15:46:09 -0400 |
commit | 0772a640793986d66fd3f89c3cc677bba5d5f94f (patch) | |
tree | 2dae2f59bc55011f477aba2a3042ec146c69f97a /drivers/hwmon/sch56xx-common.c | |
parent | 28ff2f7a742daba86ccd7021be7b27a4673b2797 (diff) |
hwmon: New driver sch5636
This patch adds a new driver for SMSC SCH5636 Super I/O chips.
The chips include an embedded microcontroller for hardware monitoring
solutions, allowing motherboard manufacturers to create their own
custom hwmon solution based upon the SCH5636.
Currently the sch5636 driver only supports the Fujitsu Theseus SCH5636
based hwmon solution. The sch5636 driver runs a sanity check on
loading to ensure it is dealing with a Fujitsu Theseus and not with
another custom SCH5636 based hwmon solution.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/sch56xx-common.c')
-rw-r--r-- | drivers/hwmon/sch56xx-common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hwmon/sch56xx-common.c b/drivers/hwmon/sch56xx-common.c index a579313b55df..fac32ee0b10e 100644 --- a/drivers/hwmon/sch56xx-common.c +++ b/drivers/hwmon/sch56xx-common.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #define SIO_REG_ADDR 0x66 /* Logical device address (2 bytes) */ | 38 | #define SIO_REG_ADDR 0x66 /* Logical device address (2 bytes) */ |
39 | 39 | ||
40 | #define SIO_SCH5627_ID 0xC6 /* Chipset ID */ | 40 | #define SIO_SCH5627_ID 0xC6 /* Chipset ID */ |
41 | #define SIO_SCH5636_ID 0xC7 /* Chipset ID */ | ||
41 | 42 | ||
42 | #define REGION_LENGTH 9 | 43 | #define REGION_LENGTH 9 |
43 | 44 | ||
@@ -238,6 +239,9 @@ static int __init sch56xx_find(int sioaddr, unsigned short *address, | |||
238 | case SIO_SCH5627_ID: | 239 | case SIO_SCH5627_ID: |
239 | *name = "sch5627"; | 240 | *name = "sch5627"; |
240 | break; | 241 | break; |
242 | case SIO_SCH5636_ID: | ||
243 | *name = "sch5636"; | ||
244 | break; | ||
241 | default: | 245 | default: |
242 | pr_debug("Unsupported device id: 0x%02x\n", | 246 | pr_debug("Unsupported device id: 0x%02x\n", |
243 | (unsigned int)devid); | 247 | (unsigned int)devid); |