Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/explora Switch to genppc_cpu_configure().



details:   https://anonhg.NetBSD.org/src/rev/32b0f15b1a0f
branches:  trunk
changeset: 959968:32b0f15b1a0f
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 02 07:38:48 2021 +0000

description:
Switch to genppc_cpu_configure().

diffstat:

 sys/arch/evbppc/explora/autoconf.c |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r 422be337ab31 -r 32b0f15b1a0f sys/arch/evbppc/explora/autoconf.c
--- a/sys/arch/evbppc/explora/autoconf.c        Tue Mar 02 07:37:27 2021 +0000
+++ b/sys/arch/evbppc/explora/autoconf.c        Tue Mar 02 07:38:48 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.13 2012/07/29 18:05:42 mlelstv Exp $    */
+/*     $NetBSD: autoconf.c,v 1.14 2021/03/02 07:38:48 rin Exp $        */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.13 2012/07/29 18:05:42 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.14 2021/03/02 07:38:48 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -48,10 +48,7 @@
        if (config_rootfound("elb", NULL) == NULL)
                panic("configure: elb not configured");
 
-       printf("biomask %x netmask %x ttymask %x\n",
-           imask[IPL_BIO], imask[IPL_NET], imask[IPL_TTY]);
-       
-       (void)spl0();
+       genppc_cpu_configure();
 }
 
 void



Home | Main Index | Thread Index | Old Index