Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/include/ibm4xx Define the 4xx PVR values in...



details:   https://anonhg.NetBSD.org/src/rev/cb4581d4dcb0
branches:  trunk
changeset: 535176:cb4581d4dcb0
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Aug 11 13:32:20 2002 +0000

description:
Define the 4xx PVR values in one place only.

diffstat:

 sys/arch/powerpc/include/ibm4xx/cpu.h      |  6 +++++-
 sys/arch/powerpc/include/ibm4xx/ibm405gp.h |  9 +--------
 2 files changed, 6 insertions(+), 9 deletions(-)

diffs (43 lines):

diff -r 6114c283ab27 -r cb4581d4dcb0 sys/arch/powerpc/include/ibm4xx/cpu.h
--- a/sys/arch/powerpc/include/ibm4xx/cpu.h     Sun Aug 11 13:26:28 2002 +0000
+++ b/sys/arch/powerpc/include/ibm4xx/cpu.h     Sun Aug 11 13:32:20 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.3 2002/05/13 07:04:24 matt Exp $     */
+/*     $NetBSD: cpu.h,v 1.4 2002/08/11 13:32:20 simonb Exp $   */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -50,6 +50,10 @@
 #define        PVR_403                 0x00200000
 
 #define PVR_405GP                      0x40110000 
+#define PVR_405GP_PASS1        0x40110000      /* RevA */ 
+#define PVR_405GP_PASS2        0x40110040      /* RevB */ 
+#define PVR_405GP_PASS2_1      0x40110082      /* RevC */ 
+#define PVR_405GP_PASS3        0x401100c4      /* RevD */ 
 
 #if defined(_KERNEL)
 extern char bootpath[];
diff -r 6114c283ab27 -r cb4581d4dcb0 sys/arch/powerpc/include/ibm4xx/ibm405gp.h
--- a/sys/arch/powerpc/include/ibm4xx/ibm405gp.h        Sun Aug 11 13:26:28 2002 +0000
+++ b/sys/arch/powerpc/include/ibm4xx/ibm405gp.h        Sun Aug 11 13:32:20 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibm405gp.h,v 1.5 2001/10/21 15:09:36 simonb Exp $      */
+/*     $NetBSD: ibm405gp.h,v 1.6 2002/08/11 13:32:20 simonb Exp $      */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -38,13 +38,6 @@
 #ifndef _IBM4XX_IBM405GP_H_
 #define        _IBM4XX_IBM405GP_H_
 
-/* 405GP PVR */
-#define PVR_405GP                      0x40110000 
-#define PVR_405GP_PASS1        0x40110000      /* RevA */ 
-#define PVR_405GP_PASS2        0x40110040      /* RevB */ 
-#define PVR_405GP_PASS2_1      0x40110082      /* RevC */ 
-#define PVR_405GP_PASS3        0x401100c4      /* RevD */ 
-
 /*
  * Memory and PCI addresses
  */



Home | Main Index | Thread Index | Old Index