mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-29 12:50:43 +00:00
LM75 driver finished
Well, it should work. But until we have implemented the remaining parts of piix4.o, we won't be able to test it. Anybody? git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@29 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
857a44f757
commit
b2f89aee3f
9 files changed
+729
-8
No files matched your search
@@ -20,6 +20,9 @@
|
||||
#ifndef SENSORS_SENSORS_H
|
||||
#define SENSORS_SENSORS_H
|
||||
|
||||
/* Next two must be included before sysctl.h can be included, in 2.0 kernels */
|
||||
#include <linux/types.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/sysctl.h>
|
||||
|
||||
#ifdef __KERNEL__
|
||||
@@ -77,6 +80,7 @@ extern void sensors_deregister_entry(int id);
|
||||
/* Driver IDs */
|
||||
#define I2C_DRIVERID_I2CPROC 1001
|
||||
#define I2C_DRIVERID_LM78 1002
|
||||
#define I2C_DRIVERID_LM75 1003
|
||||
|
||||
/* Sysctl IDs */
|
||||
#ifdef DEV_HWMON
|
||||
@@ -101,4 +105,6 @@ extern void sensors_deregister_entry(int id);
|
||||
#define LM78_SYSCTL_FAN_DIV 2000 /* 1, 2, 4 or 8 */
|
||||
#define LM78_SYSCTL_ALARMS 2001 /* bitvector */
|
||||
|
||||
#define LM75_SYSCTL_TEMP 1200 /* Degrees Celcius * 10 */
|
||||
|
||||
#endif /* def SENSORS_SENSORS_H */
|
||||
Reference in new issue
Block a user