summaryrefslogtreecommitdiff
path: root/com32/gpllib
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2011-04-13 21:03:58 +0200
committerErwan Velu <erwanaliasr1@gmail.com>2011-04-13 21:03:58 +0200
commitf25edc6e3120934ebe099eb1712d918e1a087824 (patch)
treedbc87a6bf0cb4a9853cce3d9e4c579fe28032bc4 /com32/gpllib
parentc510203fc3b6cd7b438194ab3639c527f7f73e52 (diff)
downloadsyslinux-f25edc6e3120934ebe099eb1712d918e1a087824.tar.gz
cpuid: add cpuid info for "Geode by NSC"
Without this, cpu_detect(), and set_generic_info() would take 416 seconds on a soekris 4801 and hdt would report ?????????? as the processor vendor.
Diffstat (limited to 'com32/gpllib')
-rw-r--r--com32/gpllib/cpuid.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/com32/gpllib/cpuid.c b/com32/gpllib/cpuid.c
index 26ee14b4..37e00fec 100644
--- a/com32/gpllib/cpuid.c
+++ b/com32/gpllib/cpuid.c
@@ -96,6 +96,11 @@ static struct cpu_dev transmeta_cpu_dev = {
.c_ident = {"GenuineTMx86", "TransmetaCPU"}
};
+static struct cpu_dev nsc_cpu_dev = {
+ .c_vendor = "National Semiconductor",
+ .c_ident = {"Geode by NSC"}
+};
+
void init_cpu_devs(void)
{
cpu_devs[X86_VENDOR_INTEL] = &intel_cpu_dev;
@@ -106,6 +111,7 @@ void init_cpu_devs(void)
cpu_devs[X86_VENDOR_CENTAUR] = &centaur_cpu_dev;
cpu_devs[X86_VENDOR_RISE] = &rise_cpu_dev;
cpu_devs[X86_VENDOR_TRANSMETA] = &transmeta_cpu_dev;
+ cpu_devs[X86_VENDOR_NSC] = &nsc_cpu_dev;
}
void get_cpu_vendor(struct cpuinfo_x86 *c)