Module Name:    src
Committed By:   matt
Date:           Sat Aug  1 22:50:41 UTC 2009

Modified Files:
        src/sys/arch/mips/include: cpuregs.h

Log Message:
Add Loongson2 chip ids


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/mips/include/cpuregs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/include/cpuregs.h
diff -u src/sys/arch/mips/include/cpuregs.h:1.74 src/sys/arch/mips/include/cpuregs.h:1.75
--- src/sys/arch/mips/include/cpuregs.h:1.74	Tue Feb 19 11:26:40 2008
+++ src/sys/arch/mips/include/cpuregs.h	Sat Aug  1 22:50:41 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpuregs.h,v 1.74 2008/02/19 11:26:40 simonb Exp $	*/
+/*	$NetBSD: cpuregs.h,v 1.75 2009/08/01 22:50:41 matt Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -725,6 +725,7 @@
 #define	MIPS_TX7900	0x38	/* Toshiba TX79			ISA III+*/
 #define	MIPS_R5400	0x54	/* NEC VR5400 			ISA IV	*/
 #define	MIPS_R5500	0x55	/* NEC VR5500 			ISA IV	*/
+#define	MIPS_LOONGSON2	0x63	/* ICT Loongson-2		ISA IV	*/
 
 /*
  * CPU revision IDs for some prehistoric processors.
@@ -751,6 +752,10 @@
 /* For MIPS_TX4900 */
 #define	MIPS_REV_TX4927		0x22
 
+/* For MIPS_LOONGSON2 */
+#define	MIPS_REV_LOONGSON2E	0x02
+#define	MIPS_REV_LOONGSON2F	0x03
+
 /*
  * CPU processor revision IDs for company ID == 1 (MIPS)
  */

Reply via email to