linux-mips
[Top] [All Lists]

[PATCH] add space and change to IP22 in arc/identify.c Was: Wrong /proc/

To: linux-mips@oss.sgi.com
Subject: [PATCH] add space and change to IP22 in arc/identify.c Was: Wrong /proc/cpuinfo on SGI Indy
From: Florian Lohoff <flo@rfc822.org>
Date: Thu, 13 Dec 2001 18:01:44 +0100
In-reply-to: <20011213142413.GB12503@paradigm.rfc822.org>
Organization: rfc822 - pure communication
References: <20011213142413.GB12503@paradigm.rfc822.org>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.24i
On Thu, Dec 13, 2001 at 03:24:13PM +0100, Florian Lohoff wrote:
> Hi,
> broken /proc/cpuinfo with current cvs:
> 
> flo@revamp:~$ cat /proc/cpuinfo 
> system type             : SGI IndyIndy
> processor               : 0
> cpu model               : R4600 V2.0  FPU V2.0
> BogoMIPS                : 132.71
> wait instruction        : yes
> microsecond timers      : yes
> extra interrupt vector  : no
> hardware watchpoint     : no
> VCED exceptions         : not available
> VCEI exceptions         : not available

Ok - I would suggest putting in this patch - It solves the issue that
the System type is "SGI IP22" and the subtype is "Indy", "Indigo2" or 
"Challenge S" which would also need a space.

Index: arch/mips/arc/identify.c
===================================================================
RCS file: /cvs/linux/arch/mips/arc/identify.c,v
retrieving revision 1.5.2.1
diff -u -r1.5.2.1 identify.c
--- arch/mips/arc/identify.c    2001/12/12 13:45:57     1.5.2.1
+++ arch/mips/arc/identify.c    2001/12/13 18:00:04
@@ -26,7 +26,7 @@
 
 static struct smatch mach_table[] = {
        {       "SGI-IP22",
-               "SGI Indy",
+               "SGI IP22 ",
                MACH_GROUP_SGI,
                MACH_SGI_INDY,
                PROM_FLAG_ARCS

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
Nine nineth on september the 9th              Welcome to the new billenium

Attachment: pgplYMiFC1OGn.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
  • Wrong /proc/cpuinfo on SGI Indy, Florian Lohoff
    • [PATCH] add space and change to IP22 in arc/identify.c Was: Wrong /proc/cpuinfo on SGI Indy, Florian Lohoff <=