diff options
author | Charles Spirakis <bezaur@gmail.com> | 2006-09-24 14:53:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-28 18:31:16 -0400 |
commit | 125751cb833f20c12c7237782b2a4680fd636ed0 (patch) | |
tree | 1f815c587d404c32f4127ac6454804d1a68f3cad /drivers/hwmon | |
parent | 2d45771e6ea79f56a7d85e448f702f60ef86c228 (diff) |
w83791d: Documentation update
w83791d: Documentation update
The alarm bits and the beep enable bits are in different positions in
the hardware. Document the problem and leave it to the user-space code
to handle the situation. When this driver is updated to the standardized
sysfs alarm/beep methodology, this won't be a problem.
This is a documentation only change.
Signed-off by: Charles Spirakis <bezaur@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/w83791d.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/hwmon/w83791d.c b/drivers/hwmon/w83791d.c index eec43abd57fb..d965d074cd61 100644 --- a/drivers/hwmon/w83791d.c +++ b/drivers/hwmon/w83791d.c | |||
@@ -27,9 +27,9 @@ | |||
27 | 27 | ||
28 | The w83791d chip appears to be part way between the 83781d and the | 28 | The w83791d chip appears to be part way between the 83781d and the |
29 | 83792d. Thus, this file is derived from both the w83792d.c and | 29 | 83792d. Thus, this file is derived from both the w83792d.c and |
30 | w83781d.c files, but its output is more along the lines of the | 30 | w83781d.c files. |
31 | 83781d (which means there are no changes to the user-mode sensors | 31 | |
32 | program which treats the 83791d as an 83781d). | 32 | The w83791g chip is the same as the w83791d but lead-free. |
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include <linux/config.h> | 35 | #include <linux/config.h> |
@@ -1172,6 +1172,7 @@ static struct w83791d_data *w83791d_update_device(struct device *dev) | |||
1172 | (w83791d_read(client, W83791D_REG_BEEP_CTRL[1]) << 8) + | 1172 | (w83791d_read(client, W83791D_REG_BEEP_CTRL[1]) << 8) + |
1173 | (w83791d_read(client, W83791D_REG_BEEP_CTRL[2]) << 16); | 1173 | (w83791d_read(client, W83791D_REG_BEEP_CTRL[2]) << 16); |
1174 | 1174 | ||
1175 | /* Extract global beep enable flag */ | ||
1175 | data->beep_enable = | 1176 | data->beep_enable = |
1176 | (data->beep_mask >> GLOBAL_BEEP_ENABLE_SHIFT) & 0x01; | 1177 | (data->beep_mask >> GLOBAL_BEEP_ENABLE_SHIFT) & 0x01; |
1177 | 1178 | ||