Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c4f7bc86
Commit
c4f7bc86
authored
Nov 25, 2009
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'misc-2.6.32' into release
parents
64441795
70052917
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
drivers/platform/x86/acerhdf.c
drivers/platform/x86/acerhdf.c
+6
-6
No files found.
drivers/platform/x86/acerhdf.c
View file @
c4f7bc86
...
...
@@ -52,7 +52,7 @@
*/
#undef START_IN_KERNEL_MODE
#define DRV_VER "0.5.1
7
"
#define DRV_VER "0.5.1
8
"
/*
* According to the Atom N270 datasheet,
...
...
@@ -61,7 +61,7 @@
* measured by the on-die thermal monitor are within 0 <= Tj <= 90. So,
* assume 89°C is critical temperature.
*/
#define ACERHDF_TEMP_CRIT 89
#define ACERHDF_TEMP_CRIT 89
000
#define ACERHDF_FAN_OFF 0
#define ACERHDF_FAN_AUTO 1
...
...
@@ -69,7 +69,7 @@
* No matter what value the user puts into the fanon variable, turn on the fan
* at 80 degree Celsius to prevent hardware damage
*/
#define ACERHDF_MAX_FANON 80
#define ACERHDF_MAX_FANON 80
000
/*
* Maximum interval between two temperature checks is 15 seconds, as the die
...
...
@@ -85,8 +85,8 @@ static int kernelmode;
#endif
static
unsigned
int
interval
=
10
;
static
unsigned
int
fanon
=
63
;
static
unsigned
int
fanoff
=
58
;
static
unsigned
int
fanon
=
63
000
;
static
unsigned
int
fanoff
=
58
000
;
static
unsigned
int
verbose
;
static
unsigned
int
fanstate
=
ACERHDF_FAN_AUTO
;
static
char
force_bios
[
16
];
...
...
@@ -171,7 +171,7 @@ static int acerhdf_get_temp(int *temp)
if
(
ec_read
(
bios_cfg
->
tempreg
,
&
read_temp
))
return
-
EINVAL
;
*
temp
=
read_temp
;
*
temp
=
read_temp
*
1000
;
return
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment