Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc move module_machine_booke into the booke mac...



details:   https://anonhg.NetBSD.org/src/rev/c796be804d55
branches:  trunk
changeset: 765963:c796be804d55
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jun 12 04:20:18 2011 +0000

description:
move module_machine_booke into the booke machdep.

diffstat:

 sys/arch/evbppc/evbppc/evbppc_machdep.c |  7 +++----
 sys/arch/evbppc/mpc85xx/machdep.c       |  7 ++++++-
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (51 lines):

diff -r 069fa6828ae1 -r c796be804d55 sys/arch/evbppc/evbppc/evbppc_machdep.c
--- a/sys/arch/evbppc/evbppc/evbppc_machdep.c   Sun Jun 12 04:17:30 2011 +0000
+++ b/sys/arch/evbppc/evbppc/evbppc_machdep.c   Sun Jun 12 04:20:18 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: evbppc_machdep.c,v 1.10 2011/06/12 03:42:41 mrg Exp $  */
+/*     $NetBSD: evbppc_machdep.c,v 1.11 2011/06/12 04:20:18 mrg Exp $  */
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: evbppc_machdep.c,v 1.10 2011/06/12 03:42:41 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: evbppc_machdep.c,v 1.11 2011/06/12 04:20:18 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -81,10 +81,9 @@
 #include <machine/pmap.h>
 
 /*
- * ibm4xx/booke kernels need to set module_machine to this for modules to work.
+ * ibm4xx kernels need to set module_machine to this for modules to work.
  */
 char module_machine_ibm4xx[] = "powerpc-ibm4xx";
-char module_machine_booke[] = "powerpc-booke";
 
 int fake_mapiodev = 1;
 
diff -r 069fa6828ae1 -r c796be804d55 sys/arch/evbppc/mpc85xx/machdep.c
--- a/sys/arch/evbppc/mpc85xx/machdep.c Sun Jun 12 04:17:30 2011 +0000
+++ b/sys/arch/evbppc/mpc85xx/machdep.c Sun Jun 12 04:20:18 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.8 2011/06/12 03:42:41 mrg Exp $  */
+/*     $NetBSD: machdep.c,v 1.9 2011/06/12 04:20:18 mrg Exp $  */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -93,6 +93,11 @@
 #include <evbppc/mpc85xx/pixisreg.h>
 #endif
 
+/*
+ * booke kernels need to set module_machine to this for modules to work.
+ */
+char module_machine_booke[] = "powerpc-booke";
+
 void   initppc(vaddr_t, vaddr_t);
 
 #define        MEMREGIONS      4



Home | Main Index | Thread Index | Old Index