[syslinux:master] cpuid: add cpuid info for "Geode by NSC"

syslinux-bot for Jim Cromie jim.cromie at gmail.com
Mon Apr 25 15:29:05 PDT 2011


Commit-ID:  f25edc6e3120934ebe099eb1712d918e1a087824
Gitweb:     http://syslinux.zytor.com/commit/f25edc6e3120934ebe099eb1712d918e1a087824
Author:     Jim Cromie <jim.cromie at gmail.com>
AuthorDate: Wed, 13 Apr 2011 21:03:58 +0200
Committer:  Erwan Velu <erwanaliasr1 at gmail.com>
CommitDate: Wed, 13 Apr 2011 21:03:58 +0200

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.


---
 com32/gpllib/cpuid.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/com32/gpllib/cpuid.c b/com32/gpllib/cpuid.c
index 26ee14b..37e00fe 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)



More information about the Syslinux-commits mailing list