public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch]modify the MIPS CPU classfication
@ 2008-06-09 11:15 Chen, Huacai
  2008-06-09 12:33 ` Maciej W. Rozycki
  0 siblings, 1 reply; 5+ messages in thread
From: Chen, Huacai @ 2008-06-09 11:15 UTC (permalink / raw)
  To: linux-mips, linux-kernel

The company ID of Loongson1/Loongson2 is PRID_COMP_LEGACY, but they were
classified in the list whoes company ID is  PRID_COMP_MIPS. This patch
move them to the right place.

Signed-off-by: Huacai Chen <huacai.chen@intel.com>

-----
diff --git a/include/asm-mips/cpu.h b/include/asm-mips/cpu.h
index 1c35cac..d3ffe93 100644
--- a/include/asm-mips/cpu.h
+++ b/include/asm-mips/cpu.h
@@ -68,6 +68,8 @@
 #define PRID_IMP_RM9000        0x3400
 #define PRID_IMP_R5432     0x5400
 #define PRID_IMP_R5500     0x5500
+#define PRID_IMP_LOONGSON1      0x4200
+#define PRID_IMP_LOONGSON2      0x6300

 #define PRID_IMP_UNKNOWN   0xff00

@@ -90,8 +92,6 @@
 #define PRID_IMP_24KE      0x9600
 #define PRID_IMP_74K       0x9700
 #define PRID_IMP_1004K     0x9900
-#define PRID_IMP_LOONGSON1      0x4200
-#define PRID_IMP_LOONGSON2      0x6300

 /*
  * These are the PRID's for when 23:16 == PRID_COMP_SIBYTE
-----

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [patch]modify the MIPS CPU classfication
  2008-06-09 11:15 [patch]modify the MIPS CPU classfication Chen, Huacai
@ 2008-06-09 12:33 ` Maciej W. Rozycki
  2008-06-10  1:05   ` Chen, Huacai
  0 siblings, 1 reply; 5+ messages in thread
From: Maciej W. Rozycki @ 2008-06-09 12:33 UTC (permalink / raw)
  To: Chen, Huacai; +Cc: linux-mips, linux-kernel

On Mon, 9 Jun 2008, Chen, Huacai wrote:

> The company ID of Loongson1/Loongson2 is PRID_COMP_LEGACY, but they were
> classified in the list whoes company ID is  PRID_COMP_MIPS. This patch
> move them to the right place.

 Note the list is currently sorted numerically and meant to stay such.  
Please update your patch accordingly.

  Maciej

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [patch]modify the MIPS CPU classfication
  2008-06-09 12:33 ` Maciej W. Rozycki
@ 2008-06-10  1:05   ` Chen, Huacai
  2008-06-11 16:17     ` Ralf Baechle
  2008-06-16  0:03     ` Maciej W. Rozycki
  0 siblings, 2 replies; 5+ messages in thread
From: Chen, Huacai @ 2008-06-10  1:05 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: linux-mips, linux-kernel

This is the new patch sorted numerically.

Signed-off-by: Huacai Chen <huacai.chen@intel.com>

----
diff --git a/include/asm-mips/cpu.h b/include/asm-mips/cpu.h
index 1c35cac..229a786 100644
--- a/include/asm-mips/cpu.h
+++ b/include/asm-mips/cpu.h
@@ -66,8 +66,10 @@
 #define PRID_IMP_RM7000		0x2700
 #define PRID_IMP_NEVADA		0x2800		/* RM5260 ??? */
 #define PRID_IMP_RM9000		0x3400
+#define PRID_IMP_LOONGSON1	0x4200
 #define PRID_IMP_R5432		0x5400
 #define PRID_IMP_R5500		0x5500
+#define PRID_IMP_LOONGSON2	0x6300
 
 #define PRID_IMP_UNKNOWN	0xff00
 
@@ -90,8 +92,6 @@
 #define PRID_IMP_24KE		0x9600
 #define PRID_IMP_74K		0x9700
 #define PRID_IMP_1004K		0x9900
-#define PRID_IMP_LOONGSON1      0x4200
-#define PRID_IMP_LOONGSON2      0x6300
 
 /*
  * These are the PRID's for when 23:16 == PRID_COMP_SIBYTE
----

-----Original Message-----
From: macro@cliff.in.clinika.pl [mailto:macro@cliff.in.clinika.pl] On Behalf Of Maciej W. Rozycki
Sent: 2008年6月9日 20:33
To: Chen, Huacai
Cc: linux-mips@linux-mips.org; linux-kernel@vger.kernel.org
Subject: Re: [patch]modify the MIPS CPU classfication

On Mon, 9 Jun 2008, Chen, Huacai wrote:

> The company ID of Loongson1/Loongson2 is PRID_COMP_LEGACY, but they were
> classified in the list whoes company ID is  PRID_COMP_MIPS. This patch
> move them to the right place.

 Note the list is currently sorted numerically and meant to stay such.  
Please update your patch accordingly.

  Maciej

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [patch]modify the MIPS CPU classfication
  2008-06-10  1:05   ` Chen, Huacai
@ 2008-06-11 16:17     ` Ralf Baechle
  2008-06-16  0:03     ` Maciej W. Rozycki
  1 sibling, 0 replies; 5+ messages in thread
From: Ralf Baechle @ 2008-06-11 16:17 UTC (permalink / raw)
  To: Chen, Huacai; +Cc: Maciej W. Rozycki, linux-mips, linux-kernel

On Tue, Jun 10, 2008 at 09:05:08AM +0800, Chen, Huacai wrote:

> This is the new patch sorted numerically.

Thanks, queued for 2.6.27.

   Ralf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [patch]modify the MIPS CPU classfication
  2008-06-10  1:05   ` Chen, Huacai
  2008-06-11 16:17     ` Ralf Baechle
@ 2008-06-16  0:03     ` Maciej W. Rozycki
  1 sibling, 0 replies; 5+ messages in thread
From: Maciej W. Rozycki @ 2008-06-16  0:03 UTC (permalink / raw)
  To: Chen, Huacai; +Cc: linux-mips, linux-kernel

On Tue, 10 Jun 2008, Chen, Huacai wrote:

> This is the new patch sorted numerically.

 This version looks good, thanks.  Please send it to Ralf, the MIPS/Linux 
maintainer, for inclusion.

  Maciej

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-16  0:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-09 11:15 [patch]modify the MIPS CPU classfication Chen, Huacai
2008-06-09 12:33 ` Maciej W. Rozycki
2008-06-10  1:05   ` Chen, Huacai
2008-06-11 16:17     ` Ralf Baechle
2008-06-16  0:03     ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox