forked from analogdevicesinc/linux
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH] Base support for AMD Geode GX/LX processors
Provide basic support for the AMD Geode GX and LX processors. Signed-off-by: Jordan Crouse <[email protected]> Cc: Alan Cox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
Jordan Crouse
authored and
Linus Torvalds
committed
Jan 6, 2006
1 parent
6b7f430
commit f90b811
Showing
6 changed files
with
62 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -258,6 +258,13 @@ P: Ivan Kokshaysky | |
M: [email protected] | ||
S: Maintained for 2.4; PCI support for 2.6. | ||
|
||
AMD GEODE PROCESSOR/CHIPSET SUPPORT | ||
P: Jordan Crouse | ||
M: [email protected] | ||
L: [email protected] | ||
W: http://www.amd.com/us-en/ConnectivitySolutions/TechnicalResources/0,,50_2334_2452_11363,00.html | ||
S: Supported | ||
|
||
APM DRIVER | ||
P: Stephen Rothwell | ||
M: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -342,6 +342,31 @@ static void __init init_cyrix(struct cpuinfo_x86 *c) | |
return; | ||
} | ||
|
||
/* | ||
* Handle National Semiconductor branded processors | ||
*/ | ||
static void __devinit init_nsc(struct cpuinfo_x86 *c) | ||
{ | ||
/* There may be GX1 processors in the wild that are branded | ||
* NSC and not Cyrix. | ||
* | ||
* This function only handles the GX processor, and kicks every | ||
* thing else to the Cyrix init function above - that should | ||
* cover any processors that might have been branded differently | ||
* after NSC aquired Cyrix. | ||
* | ||
* If this breaks your GX1 horribly, please e-mail | ||
* [email protected] to tell us. | ||
*/ | ||
|
||
/* Handle the GX (Formally known as the GX2) */ | ||
|
||
if (c->x86 == 5 && c->x86_model == 5) | ||
display_cacheinfo(c); | ||
else | ||
init_cyrix(c); | ||
} | ||
|
||
/* | ||
* Cyrix CPUs without cpuid or with cpuid not yet enabled can be detected | ||
* by the fact that they preserve the flags across the division of 5/2. | ||
|
@@ -422,7 +447,7 @@ int __init cyrix_init_cpu(void) | |
static struct cpu_dev nsc_cpu_dev __initdata = { | ||
.c_vendor = "NSC", | ||
.c_ident = { "Geode by NSC" }, | ||
.c_init = init_cyrix, | ||
.c_init = init_nsc, | ||
.c_identify = generic_identify, | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters