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
62f82c7b
Commit
62f82c7b
authored
Oct 07, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] Ratio table renames longhaul3/c3m -> ezrat
parent
f5d1c1f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
arch/i386/kernel/cpu/cpufreq/longhaul.c
arch/i386/kernel/cpu/cpufreq/longhaul.c
+2
-2
arch/i386/kernel/cpu/cpufreq/longhaul.h
arch/i386/kernel/cpu/cpufreq/longhaul.h
+2
-2
No files found.
arch/i386/kernel/cpu/cpufreq/longhaul.c
View file @
62f82c7b
...
@@ -399,8 +399,8 @@ static int longhaul_cpu_init (struct cpufreq_policy *policy)
...
@@ -399,8 +399,8 @@ static int longhaul_cpu_init (struct cpufreq_policy *policy)
cpuname
=
"C3 'Ezra-T [C5M]"
;
cpuname
=
"C3 'Ezra-T [C5M]"
;
longhaul_version
=
3
;
longhaul_version
=
3
;
numscales
=
32
;
numscales
=
32
;
memcpy
(
clock_ratio
,
longhaul3_clock_ratio
,
sizeof
(
longhaul3
_clock_ratio
));
memcpy
(
clock_ratio
,
ezrat_clock_ratio
,
sizeof
(
ezrat
_clock_ratio
));
memcpy
(
eblcr_table
,
c5m_eblcr
,
sizeof
(
c5m
_eblcr
));
memcpy
(
eblcr_table
,
ezrat_eblcr
,
sizeof
(
ezrat
_eblcr
));
break
;
break
;
/*
/*
case 9:
case 9:
...
...
arch/i386/kernel/cpu/cpufreq/longhaul.h
View file @
62f82c7b
...
@@ -157,7 +157,7 @@ static int __initdata ezra_eblcr[16] = {
...
@@ -157,7 +157,7 @@ static int __initdata ezra_eblcr[16] = {
/*
/*
* VIA C3 (Ezra-T) [C5M].
* VIA C3 (Ezra-T) [C5M].
*/
*/
static
int
__initdata
longhaul3
_clock_ratio
[
32
]
=
{
static
int
__initdata
ezrat
_clock_ratio
[
32
]
=
{
100
,
/* 0000 -> 10.0x */
100
,
/* 0000 -> 10.0x */
30
,
/* 0001 -> 3.0x */
30
,
/* 0001 -> 3.0x */
40
,
/* 0010 -> 4.0x */
40
,
/* 0010 -> 4.0x */
...
@@ -193,7 +193,7 @@ static int __initdata longhaul3_clock_ratio[32] = {
...
@@ -193,7 +193,7 @@ static int __initdata longhaul3_clock_ratio[32] = {
-
1
,
/* 1111 -> RESERVED (12.0x) */
-
1
,
/* 1111 -> RESERVED (12.0x) */
};
};
static
int
__initdata
c5m
_eblcr
[
32
]
=
{
static
int
__initdata
ezrat
_eblcr
[
32
]
=
{
50
,
/* 0000 -> 5.0x */
50
,
/* 0000 -> 5.0x */
30
,
/* 0001 -> 3.0x */
30
,
/* 0001 -> 3.0x */
40
,
/* 0010 -> 4.0x */
40
,
/* 0010 -> 4.0x */
...
...
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