#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/platform_device.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include "sch56xx-common.h"
Go to the source code of this file.
#define DRVNAME "sch5636" |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define SCH5636_FAN_ALARM 0x04 |
#define SCH5636_FAN_DEACTIVATED 0x80 |
#define SCH5636_FAN_NOT_PRESENT 0x08 |
#define SCH5636_NO_FANS 8 |
#define SCH5636_NO_TEMPS 16 |
#define SCH5636_REG_FAN_CTRL |
( |
|
i | ) |
(0x880 + (i)) |
#define SCH5636_REG_FUJITSU_ID 0x780 |
#define SCH5636_REG_FUJITSU_REV 0x783 |
#define SCH5636_REG_TEMP_CTRL |
( |
|
i | ) |
(0x790 + (i)) |
#define SCH5636_TEMP_ALARM 0x02 |
#define SCH5636_TEMP_DEACTIVATED 0x80 |
#define SCH5636_TEMP_WORKING 0x01 |
MODULE_DESCRIPTION |
( |
"SMSC SCH5636 Hardware Monitoring Driver" |
| ) |
|
module_platform_driver |
( |
sch5636_driver |
| ) |
|