Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax Remove unneeded include files (up to 16 in two...



details:   https://anonhg.NetBSD.org/src/rev/81a08dd595f9
branches:  trunk
changeset: 480371:81a08dd595f9
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Jan 10 03:24:31 2000 +0000

description:
Remove unneeded include files (up to 16 in two files!).

diffstat:

 sys/arch/pmax/dev/bt459.c         |   5 +--
 sys/arch/pmax/dev/bt478.c         |   6 +---
 sys/arch/pmax/dev/cfb.c           |  17 +++---------
 sys/arch/pmax/dev/dc.c            |  35 +++++++-------------------
 sys/arch/pmax/dev/dc_ds.c         |   8 ++---
 sys/arch/pmax/dev/dtop.c          |  28 +++++++--------------
 sys/arch/pmax/dev/fb.c            |  18 ++-----------
 sys/arch/pmax/dev/findcons.c      |  49 +++++++++++++++++---------------------
 sys/arch/pmax/dev/ims332.c        |   6 +---
 sys/arch/pmax/dev/lk201.c         |   7 +---
 sys/arch/pmax/dev/mfb.c           |  11 +-------
 sys/arch/pmax/dev/pm.c            |  16 +++--------
 sys/arch/pmax/dev/pm_ds.c         |  16 +++++-------
 sys/arch/pmax/dev/px.c            |  30 ++++++++++-------------
 sys/arch/pmax/dev/qvss_compat.c   |  21 ++++++----------
 sys/arch/pmax/dev/rcons.c         |  37 ++++++++--------------------
 sys/arch/pmax/dev/rz.c            |  37 +++++++++++++---------------
 sys/arch/pmax/dev/scsi.c          |   4 +--
 sys/arch/pmax/dev/sfb.c           |  15 ++++-------
 sys/arch/pmax/dev/sii.c           |  20 +++-----------
 sys/arch/pmax/dev/sii_ds.c        |   8 +----
 sys/arch/pmax/dev/tz.c            |  15 ++++-------
 sys/arch/pmax/dev/xcfb.c          |  24 ++++++------------
 sys/arch/pmax/ibus/ibus_3max.c    |   6 +---
 sys/arch/pmax/ibus/ibus_pmax.c    |   6 +---
 sys/arch/pmax/ibus/mcclock_ibus.c |   9 ++----
 sys/arch/pmax/pmax/autoconf.c     |   8 +----
 sys/arch/pmax/pmax/bus_dma.c      |  11 +-------
 sys/arch/pmax/pmax/bus_space.c    |   5 +---
 sys/arch/pmax/pmax/clock.c        |   6 ++--
 sys/arch/pmax/pmax/conf-glue.c    |   5 +---
 sys/arch/pmax/pmax/conf.c         |   5 +---
 sys/arch/pmax/pmax/cpu.c          |   3 +-
 sys/arch/pmax/pmax/dec_3100.c     |   6 +---
 sys/arch/pmax/pmax/dec_3max.c     |   7 +---
 sys/arch/pmax/pmax/dec_3maxplus.c |   8 +----
 sys/arch/pmax/pmax/dec_3min.c     |   8 +----
 sys/arch/pmax/pmax/dec_5100.c     |  14 +---------
 sys/arch/pmax/pmax/dec_maxine.c   |   7 +---
 sys/arch/pmax/pmax/disksubr.c     |   4 +--
 sys/arch/pmax/pmax/machdep.c      |  20 +--------------
 sys/arch/pmax/pmax/memc_3max.c    |   7 ++---
 sys/arch/pmax/pmax/promcall.c     |   9 +++---
 sys/arch/pmax/pmax/sysconf.c      |   3 +-
 sys/arch/pmax/tc/ioasic.c         |   5 +--
 sys/arch/pmax/tc/mcclock_ioasic.c |   9 +-----
 sys/arch/pmax/tc/scc.c            |  22 ++++------------
 47 files changed, 201 insertions(+), 425 deletions(-)

diffs (truncated from 1804 to 300 lines):

diff -r f2fede4b71f3 -r 81a08dd595f9 sys/arch/pmax/dev/bt459.c
--- a/sys/arch/pmax/dev/bt459.c Mon Jan 10 03:16:25 2000 +0000
+++ b/sys/arch/pmax/dev/bt459.c Mon Jan 10 03:24:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bt459.c,v 1.19 1999/12/09 00:16:14 simonb Exp $        */
+/*     $NetBSD: bt459.c,v 1.20 2000/01/10 03:24:31 simonb Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -81,7 +81,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: bt459.c,v 1.19 1999/12/09 00:16:14 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bt459.c,v 1.20 2000/01/10 03:24:31 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -94,7 +94,6 @@
 #include <machine/fbio.h>
 #include <machine/fbvar.h>
 #include <pmax/dev/fbreg.h>
-
 #include <pmax/dev/bt459.h>                    /* chipset definitions */
 
 
diff -r f2fede4b71f3 -r 81a08dd595f9 sys/arch/pmax/dev/bt478.c
--- a/sys/arch/pmax/dev/bt478.c Mon Jan 10 03:16:25 2000 +0000
+++ b/sys/arch/pmax/dev/bt478.c Mon Jan 10 03:24:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bt478.c,v 1.14 2000/01/09 03:55:28 simonb Exp $        */
+/*     $NetBSD: bt478.c,v 1.15 2000/01/10 03:24:31 simonb Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -62,8 +62,6 @@
 
 #include <machine/bus.h>                       /*  wbflush() */
 
-#include <mips/cpuregs.h>
-
 #include <machine/fbio.h>
 #include <machine/fbvar.h>
 
@@ -72,12 +70,10 @@
 #include <pmax/pmax/kn01.h>
 
 
-
 /*
  * Forward references.
  */
 
-
 static u_char  bg_RGB[3];      /* background color for the cursor */
 static u_char  fg_RGB[3];      /* foreground color for the cursor */
 
diff -r f2fede4b71f3 -r 81a08dd595f9 sys/arch/pmax/dev/cfb.c
--- a/sys/arch/pmax/dev/cfb.c   Mon Jan 10 03:16:25 2000 +0000
+++ b/sys/arch/pmax/dev/cfb.c   Mon Jan 10 03:24:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cfb.c,v 1.36 2000/01/09 03:55:29 simonb Exp $  */
+/*     $NetBSD: cfb.c,v 1.37 2000/01/10 03:24:31 simonb Exp $  */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -85,26 +85,19 @@
 
 #if NCFB > 0
 #include <sys/param.h>
-#include <sys/systm.h>                                 /* printf() */
-#include <sys/errno.h>
+#include <sys/systm.h>
 #include <sys/fcntl.h>
 #include <sys/device.h>
 #include <dev/tc/tcvar.h>
 
-#include <mips/cpuregs.h>              /* mips cached->uncached */
+#include <machine/autoconf.h>
 #include <machine/pmioctl.h>
 #include <machine/fbio.h>
 #include <machine/fbvar.h>
-#include <pmax/dev/cfbvar.h>           /* XXX dev/tc ? */
-
 #include <pmax/dev/bt459.h>
+#include <pmax/dev/cfbvar.h>
 #include <pmax/dev/fbreg.h>
 
-#include <machine/autoconf.h>
-
-
-#define PMAX   /* enable /dev/pm compatibility */
-
 /*
  * These need to be mapped into user space.
  */
@@ -113,7 +106,7 @@
 
 /*
  * Method table for standard framebuffer operations on a CFB.
- * The  CFB uses a Brooktree bt479 ramdac.
+ * The CFB uses a Brooktree bt479 ramdac.
  */
 struct fbdriver cfb_driver = {
        bt459_video_on,
diff -r f2fede4b71f3 -r 81a08dd595f9 sys/arch/pmax/dev/dc.c
--- a/sys/arch/pmax/dev/dc.c    Mon Jan 10 03:16:25 2000 +0000
+++ b/sys/arch/pmax/dev/dc.c    Mon Jan 10 03:24:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dc.c,v 1.58 2000/01/09 03:55:30 simonb Exp $   */
+/*     $NetBSD: dc.c,v 1.59 2000/01/10 03:24:31 simonb Exp $   */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: dc.c,v 1.58 2000/01/09 03:55:30 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dc.c,v 1.59 2000/01/10 03:24:31 simonb Exp $");
 
 /*
  * devDC7085.c --
@@ -69,45 +69,30 @@
 #include <sys/ioctl.h>
 #include <sys/tty.h>
 #include <sys/proc.h>
-#include <sys/map.h>
-#include <sys/buf.h>
 #include <sys/conf.h>
 #include <sys/file.h>
-#include <sys/uio.h>
 #include <sys/kernel.h>
 #include <sys/syslog.h>
 
 #include <dev/dec/lk201.h>
 
-#include <machine/autoconf.h>
 #include <machine/conf.h>
-#include <machine/bus.h>                       /*  wbflush() */
-
-#include <dev/tc/tcvar.h>
-#include <dev/tc/ioasicvar.h>
-
 #include <machine/dc7085cons.h>
+#include <machine/locore.h>            /* wbflush() */
 #include <machine/pmioctl.h>
 
-
-#include <pmax/pmax/pmaxtype.h>
-#include <pmax/pmax/cons.h>
-
+#include <pmax/dev/dcvar.h>
+#include <pmax/dev/lk201var.h>         /* XXX lk_reset and friends */
+#include <pmax/dev/qvssvar.h>          /* XXX mouseInput() */
+#include <pmax/dev/rconsvar.h>
 
-/*
- * XXX in dcvar.h or not?
- * #include <pmax/dev/pdma.h>
- */
+#include <pmax/pmax/cons.h>
+#include <pmax/pmax/pmaxtype.h>
+
 #include "dcvar.h"
 #include "tc.h"
 #include "rasterconsole.h"
 
-#include <pmax/dev/lk201var.h>         /* XXX KbdReset and friends */
-
-#include <pmax/dev/dcvar.h>
-#include <pmax/dev/rconsvar.h>
-#include <pmax/dev/qvssvar.h>          /* XXX mouseInput() */
-
 #define DCUNIT(dev) (minor(dev) >> 2)
 #define DCLINE(dev) (minor(dev) & 3)
 
diff -r f2fede4b71f3 -r 81a08dd595f9 sys/arch/pmax/dev/dc_ds.c
--- a/sys/arch/pmax/dev/dc_ds.c Mon Jan 10 03:16:25 2000 +0000
+++ b/sys/arch/pmax/dev/dc_ds.c Mon Jan 10 03:24:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dc_ds.c,v 1.14 2000/01/09 03:55:32 simonb Exp $        */
+/*     $NetBSD: dc_ds.c,v 1.15 2000/01/10 03:24:31 simonb Exp $        */
 
 /*
  * Copyright 1996 The Board of Trustees of The Leland Stanford
@@ -17,15 +17,13 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/types.h>
 #include <sys/device.h>
-#include <sys/tty.h>
-#include <machine/autoconf.h>
-#include <machine/intr.h>
+
 #include <machine/dc7085cons.h>                /* XXX */
 
 #include <pmax/ibus/ibusvar.h>
 #include <pmax/dev/dcvar.h>
+
 #include <pmax/pmax/kn01.h>
 #include <pmax/pmax/kn02.h>
 #include <pmax/pmax/kn230.h>
diff -r f2fede4b71f3 -r 81a08dd595f9 sys/arch/pmax/dev/dtop.c
--- a/sys/arch/pmax/dev/dtop.c  Mon Jan 10 03:16:25 2000 +0000
+++ b/sys/arch/pmax/dev/dtop.c  Mon Jan 10 03:24:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dtop.c,v 1.44 2000/01/09 03:55:35 simonb Exp $ */
+/*     $NetBSD: dtop.c,v 1.45 2000/01/10 03:24:32 simonb Exp $ */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -94,47 +94,39 @@
 ********************************************************/
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: dtop.c,v 1.44 2000/01/09 03:55:35 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dtop.c,v 1.45 2000/01/10 03:24:32 simonb Exp $");
 
 #include "rasterconsole.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/ioctl.h>
 #include <sys/tty.h>
 #include <sys/proc.h>
-#include <sys/map.h>
-#include <sys/buf.h>
 #include <sys/conf.h>
 #include <sys/file.h>
-#include <sys/uio.h>
 #include <sys/kernel.h>
-#include <sys/syslog.h>
-
 #include <sys/device.h>
-#include <machine/autoconf.h>
-#include <machine/conf.h>
 
 #include <dev/cons.h>
+#include <dev/dec/lk201.h>
+#include <dev/tc/tcvar.h>
+#include <dev/tc/ioasicvar.h>
 
-#include <mips/cpuregs.h>              /* mips cached->uncached */
+#include <machine/conf.h>
 #include <machine/dc7085cons.h>                /*  mdmctl bits same on dtop and dc? */
 
 #include <machine/pmioctl.h>
 #include <machine/fbio.h>
 #include <machine/fbvar.h>
+
+#include <pmax/dev/dtopreg.h>
+#include <pmax/dev/dtopvar.h>
 #include <pmax/dev/fbreg.h>
+#include <pmax/dev/lk201var.h>
 #include <pmax/dev/rconsvar.h>
 
 #include <pmax/pmax/asic.h>
 #include <pmax/pmax/maxine.h>
-#include <dev/tc/tcvar.h>
-#include <dev/tc/ioasicvar.h>
-#include <dev/dec/lk201.h>
-
-#include <pmax/dev/dtopreg.h>
-#include <pmax/dev/lk201var.h>
-#include <pmax/dev/dtopvar.h>
 
 
 #define        DTOP_MAX_POLL   0x70000         /* about half a sec */
diff -r f2fede4b71f3 -r 81a08dd595f9 sys/arch/pmax/dev/fb.c
--- a/sys/arch/pmax/dev/fb.c    Mon Jan 10 03:16:25 2000 +0000
+++ b/sys/arch/pmax/dev/fb.c    Mon Jan 10 03:24:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fb.c,v 1.33 2000/01/09 03:55:36 simonb Exp $   */
+/*     $NetBSD: fb.c,v 1.34 2000/01/10 03:24:32 simonb Exp $   */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -66,25 +66,13 @@
 #include <sys/ioctl.h>
 #include <sys/device.h>
 #include <sys/poll.h>
-#include <sys/tty.h>
-#include <sys/ioctl.h>
-#include <sys/file.h>
-#include <sys/errno.h>
-#include <sys/syslog.h>
 #include <sys/malloc.h>
+#include <sys/conf.h>
 
-#include <vm/vm.h>
-#include <miscfs/specfs/specdev.h>
-
-#include <machine/autoconf.h>
-#include <sys/conf.h>
 #include <machine/conf.h>
-
-#include <mips/cpuregs.h>              /* mips cached->uncached */
-#include <machine/pmioctl.h>



Home | Main Index | Thread Index | Old Index