diff options
author | Hans de Goede <hdegoede@redhat.com> | 2011-07-25 21:46:09 +0200 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-07-25 21:46:09 +0200 |
commit | 0772a640793986d66fd3f89c3cc677bba5d5f94f (patch) | |
tree | 2dae2f59bc55011f477aba2a3042ec146c69f97a /drivers/hwmon/sch56xx-common.c | |
parent | 28ff2f7a742daba86ccd7021be7b27a4673b2797 (diff) | |
download | blackbird-op-linux-0772a640793986d66fd3f89c3cc677bba5d5f94f.tar.gz blackbird-op-linux-0772a640793986d66fd3f89c3cc677bba5d5f94f.zip |
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 @@ #define SIO_REG_ADDR 0x66 /* Logical device address (2 bytes) */ #define SIO_SCH5627_ID 0xC6 /* Chipset ID */ +#define SIO_SCH5636_ID 0xC7 /* Chipset ID */ #define REGION_LENGTH 9 @@ -238,6 +239,9 @@ static int __init sch56xx_find(int sioaddr, unsigned short *address, case SIO_SCH5627_ID: *name = "sch5627"; break; + case SIO_SCH5636_ID: + *name = "sch5636"; + break; default: pr_debug("Unsupported device id: 0x%02x\n", (unsigned int)devid); |