Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/mac68k Initialize VIA/IOP/PSC from intr_init...



details:   https://anonhg.NetBSD.org/src/rev/c7205bac767c
branches:  trunk
changeset: 482748:c7205bac767c
user:      scottr <scottr%NetBSD.org@localhost>
date:      Mon Feb 21 01:51:37 2000 +0000

description:
Initialize VIA/IOP/PSC from intr_init().  While here, re-order headers
to match KNF.

diffstat:

 sys/arch/mac68k/mac68k/machdep.c |  35 +++++++++++++----------------------
 1 files changed, 13 insertions(+), 22 deletions(-)

diffs (63 lines):

diff -r 388980afb4d9 -r c7205bac767c sys/arch/mac68k/mac68k/machdep.c
--- a/sys/arch/mac68k/mac68k/machdep.c  Mon Feb 21 01:48:49 2000 +0000
+++ b/sys/arch/mac68k/mac68k/machdep.c  Mon Feb 21 01:51:37 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.243 2000/02/14 07:01:48 scottr Exp $     */
+/*     $NetBSD: machdep.c,v 1.244 2000/02/21 01:51:37 scottr Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -85,25 +85,25 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/signalvar.h>
-#include <sys/kernel.h>
-#include <sys/proc.h>
 #include <sys/buf.h>
-#include <sys/exec.h>
+#include <sys/clist.h>
+#include <sys/conf.h>
 #include <sys/core.h>
+#include <sys/exec.h>
+#include <sys/extent.h>
+#include <sys/file.h>
 #include <sys/kcore.h>
-#include <sys/vnode.h>
-#include <sys/reboot.h>
-#include <sys/conf.h>
-#include <sys/file.h>
-#include <sys/clist.h>
+#include <sys/kernel.h>
 #include <sys/malloc.h>
 #include <sys/mbuf.h>
+#include <sys/mount.h>
 #include <sys/msgbuf.h>
+#include <sys/proc.h>
+#include <sys/reboot.h>
+#include <sys/signalvar.h>
+#include <sys/syscallargs.h>
 #include <sys/user.h>
-#include <sys/mount.h>
-#include <sys/extent.h>
-#include <sys/syscallargs.h>
+#include <sys/vnode.h>
 #ifdef KGDB
 #include <sys/kgdb.h>
 #endif
@@ -274,15 +274,6 @@
        /* Initialize the interrupt handlers. */
        intr_init();
 
-       /* Initialize the VIAs */
-       via_init();
-
-       /* Initialize the IOPs (if present) */
-       iop_init(1);
-
-       /* Initialize the PSC (if present) */
-       psc_init();
-
        /*
         * Initialize error message buffer (at end of core).
         * high[numranges-1] was decremented in pmap_bootstrap.



Home | Main Index | Thread Index | Old Index