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
nexedi
linux
Commits
96745ae6
Commit
96745ae6
authored
Jun 11, 2004
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] Detect P4M's in speedstep lib
From: Christian Hoelbling Signed-off-by:
Dave Jones
<
davej@redhat.com
>
parent
f59d3bbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
arch/i386/kernel/cpu/cpufreq/speedstep-lib.c
arch/i386/kernel/cpu/cpufreq/speedstep-lib.c
+3
-4
No files found.
arch/i386/kernel/cpu/cpufreq/speedstep-lib.c
View file @
96745ae6
...
@@ -252,11 +252,10 @@ unsigned int speedstep_detect_processor (void)
...
@@ -252,11 +252,10 @@ unsigned int speedstep_detect_processor (void)
* specific.
* specific.
* M-P4-Ms may have either ebx=0xe or 0xf [see above]
* M-P4-Ms may have either ebx=0xe or 0xf [see above]
* M-P4/533 have either ebx=0xe or 0xf. [25317607.pdf]
* M-P4/533 have either ebx=0xe or 0xf. [25317607.pdf]
* So, how to distinguish all those processors with
* also, M-P4M HTs have ebx=0x8, too
* ebx=0xf? I don't know. Sort them out, and wait
* For now, they are distinguished by the model_id string
* for someone to complain.
*/
*/
if
(
ebx
==
0x0e
)
if
((
ebx
==
0x0e
)
||
(
strstr
(
c
->
x86_model_id
,
"Mobile Intel(R) Pentium(R) 4"
)
!=
NULL
))
return
SPEEDSTEP_PROCESSOR_P4M
;
return
SPEEDSTEP_PROCESSOR_P4M
;
break
;
break
;
default:
default:
...
...
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