Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/bebox/bebox Try to attach 2nd CPU. But not support...



details:   https://anonhg.NetBSD.org/src/rev/6a5d7324e5a3
branches:  trunk
changeset: 768074:6a5d7324e5a3
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sun Aug 07 15:31:35 2011 +0000

description:
Try to attach 2nd CPU.  But not support options MULTIPROCESSOR yet.

diffstat:

 sys/arch/bebox/bebox/mainbus.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 3b54446f54be -r 6a5d7324e5a3 sys/arch/bebox/bebox/mainbus.c
--- a/sys/arch/bebox/bebox/mainbus.c    Sun Aug 07 15:22:19 2011 +0000
+++ b/sys/arch/bebox/bebox/mainbus.c    Sun Aug 07 15:31:35 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.27 2011/07/01 20:34:53 dyoung Exp $      */
+/*     $NetBSD: mainbus.c,v 1.28 2011/08/07 15:31:35 kiyohara Exp $    */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.27 2011/07/01 20:34:53 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.28 2011/08/07 15:31:35 kiyohara Exp $");
 
 #include <sys/param.h>
 #include <sys/extent.h>
@@ -108,6 +108,9 @@
        ca.ca_name = "cpu";
        ca.ca_node = 0;
        config_found_ia(self, "mainbus", &ca, mainbus_print);
+       ca.ca_name = "cpu";
+       ca.ca_node = 1;
+       config_found_ia(self, "mainbus", &ca, mainbus_print);
 
        /*
         * XXX Note also that the presence of a PCI bus should



Home | Main Index | Thread Index | Old Index