Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax Function prototype cleanup.



details:   https://anonhg.NetBSD.org/src/rev/0205cfda5097
branches:  trunk
changeset: 480257:0205cfda5097
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Jan 08 01:02:35 2000 +0000

description:
Function prototype cleanup.

diffstat:

 sys/arch/pmax/dev/bt459.h          |  22 ++++++++--------
 sys/arch/pmax/dev/bt478.c          |   4 +-
 sys/arch/pmax/dev/bt478var.h       |  18 +++++++-------
 sys/arch/pmax/dev/cfb.c            |  10 +++---
 sys/arch/pmax/dev/cfbvar.h         |   4 +-
 sys/arch/pmax/dev/dc.c             |  40 +++++++++++++++---------------
 sys/arch/pmax/dev/dc_cons.h        |  10 +++---
 sys/arch/pmax/dev/dc_ds.c          |   4 +-
 sys/arch/pmax/dev/dc_ds_cons.h     |   4 +-
 sys/arch/pmax/dev/dcvar.h          |  13 ++++-----
 sys/arch/pmax/dev/device.h         |   6 ++--
 sys/arch/pmax/dev/dtop.c           |  30 +++++++++++-----------
 sys/arch/pmax/dev/fb.c             |   6 ++--
 sys/arch/pmax/dev/fbreg.h          |  22 ++++++++--------
 sys/arch/pmax/dev/findcons.c       |  26 ++++++++++----------
 sys/arch/pmax/dev/ims332.h         |  22 ++++++++--------
 sys/arch/pmax/dev/lk201.c          |   4 +-
 sys/arch/pmax/dev/lk201var.h       |  12 ++++----
 sys/arch/pmax/dev/mfb.c            |  44 +++++++++++++++++-----------------
 sys/arch/pmax/dev/mfbvar.h         |   5 +--
 sys/arch/pmax/dev/pm.c             |  30 ++++++++++++-----------
 sys/arch/pmax/dev/pm_ds.c          |   6 ++--
 sys/arch/pmax/dev/pmvar.h          |   6 ++--
 sys/arch/pmax/dev/qvss_compat.c    |  32 ++++++++++++------------
 sys/arch/pmax/dev/rcons.c          |   8 +++---
 sys/arch/pmax/dev/rconsvar.h       |   6 ++--
 sys/arch/pmax/dev/rz.c             |  48 ++++++++++++++++++-------------------
 sys/arch/pmax/dev/scsi.h           |  26 ++++++++++----------
 sys/arch/pmax/dev/sfb.c            |  10 +++---
 sys/arch/pmax/dev/sfbvar.h         |   5 +--
 sys/arch/pmax/dev/sii.c            |  29 +++++++++++-----------
 sys/arch/pmax/dev/sii_ds.c         |  14 +++++-----
 sys/arch/pmax/dev/siivar.h         |   4 +-
 sys/arch/pmax/dev/tz.c             |   4 +-
 sys/arch/pmax/dev/xcfb.c           |   6 ++--
 sys/arch/pmax/ibus/ibus_3max.c     |   8 +++---
 sys/arch/pmax/ibus/ibus_pmax.c     |   8 +++---
 sys/arch/pmax/ibus/ibusvar.h       |  30 +++++++++++-----------
 sys/arch/pmax/include/autoconf.h   |   4 +-
 sys/arch/pmax/include/bootinfo.h   |   4 +-
 sys/arch/pmax/include/fbvar.h      |  18 +++++++-------
 sys/arch/pmax/include/intr.h       |  16 ++++++------
 sys/arch/pmax/include/param.h      |   6 ++--
 sys/arch/pmax/include/tc_machdep.h |   4 +-
 sys/arch/pmax/pmax/autoconf.c      |  10 +++---
 sys/arch/pmax/pmax/bus_dma.c       |   4 +-
 sys/arch/pmax/pmax/conf-glue.c     |   4 +-
 sys/arch/pmax/pmax/cpu.c           |   8 +++---
 sys/arch/pmax/pmax/dec_3100.c      |   7 ++---
 sys/arch/pmax/pmax/dec_3max.c      |   9 +++---
 sys/arch/pmax/pmax/dec_3maxplus.c  |  11 +++----
 sys/arch/pmax/pmax/dec_3min.c      |  13 ++++-----
 sys/arch/pmax/pmax/dec_5100.c      |  21 +++++++--------
 sys/arch/pmax/pmax/dec_maxine.c    |   9 +++---
 sys/arch/pmax/pmax/disksubr.c      |  14 +++++-----
 sys/arch/pmax/pmax/machdep.c       |  10 +++---
 sys/arch/pmax/pmax/memc.h          |   4 +-
 sys/arch/pmax/pmax/memc_3min.c     |   6 ++--
 sys/arch/pmax/pmax/sysconf.c       |  20 +++++++-------
 sys/arch/pmax/pmax/turbochannel.h  |  13 ++++-----
 sys/arch/pmax/tc/ioasic.c          |   6 ++--
 sys/arch/pmax/tc/mcclock_ioasic.c  |   8 +++---
 sys/arch/pmax/tc/scc.c             |   8 +++---
 sys/arch/pmax/tc/sccvar.h          |  10 +++---
 sys/arch/pmax/tc/tcbus.c           |   8 +++---
 65 files changed, 415 insertions(+), 426 deletions(-)

diffs (truncated from 2137 to 300 lines):

diff -r 0cb8cb494062 -r 0205cfda5097 sys/arch/pmax/dev/bt459.h
--- a/sys/arch/pmax/dev/bt459.h Fri Jan 07 23:43:45 2000 +0000
+++ b/sys/arch/pmax/dev/bt459.h Sat Jan 08 01:02:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bt459.h,v 1.5 1999/12/09 00:16:14 simonb Exp $ */
+/*     $NetBSD: bt459.h,v 1.6 2000/01/08 01:02:35 simonb Exp $ */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -149,14 +149,14 @@
 #define BT459_REG_CRAM_END     0x07ff
 
 #ifdef _KERNEL
-int bt459init (struct fbinfo *);
-void bt459RestoreCursorColor (struct fbinfo *);
-void bt459CursorColor (struct fbinfo *, unsigned int []);
-void bt459PosCursor (struct fbinfo *, int, int);
-void bt459InitColorMap (struct fbinfo *);
-int bt459LoadColorMap (struct fbinfo *, const u_char *, int, int);
-int bt459GetColorMap (struct fbinfo *, u_char *, int, int);
-void bt459LoadCursor (struct fbinfo *, u_short *);
-int bt459_video_on (struct fbinfo *);
-int bt459_video_off (struct fbinfo *);
+int    bt459init __P((struct fbinfo *));
+void   bt459RestoreCursorColor __P((struct fbinfo *));
+void   bt459CursorColor __P((struct fbinfo *, unsigned int []));
+void   bt459PosCursor __P((struct fbinfo *, int, int));
+void   bt459InitColorMap __P((struct fbinfo *));
+int    bt459LoadColorMap __P((struct fbinfo *, const u_char *, int, int));
+int    bt459GetColorMap __P((struct fbinfo *, u_char *, int, int));
+void   bt459LoadCursor __P((struct fbinfo *, u_short *));
+int    bt459_video_on __P((struct fbinfo *));
+int    bt459_video_off __P((struct fbinfo *));
 #endif /* _KERNEL */
diff -r 0cb8cb494062 -r 0205cfda5097 sys/arch/pmax/dev/bt478.c
--- a/sys/arch/pmax/dev/bt478.c Fri Jan 07 23:43:45 2000 +0000
+++ b/sys/arch/pmax/dev/bt478.c Sat Jan 08 01:02:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bt478.c,v 1.12 1999/12/09 00:16:14 simonb Exp $        */
+/*     $NetBSD: bt478.c,v 1.13 2000/01/08 01:02:35 simonb Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -79,7 +79,7 @@
 
 
 /* XXX qvss ioctl interface uses this */
-void bt478CursorColor __P((struct fbinfo *fi, unsigned int color[]));
+void   bt478CursorColor __P((struct fbinfo *fi, unsigned int color[]));
 
 
 static u_char  bg_RGB[3];      /* background color for the cursor */
diff -r 0cb8cb494062 -r 0205cfda5097 sys/arch/pmax/dev/bt478var.h
--- a/sys/arch/pmax/dev/bt478var.h      Fri Jan 07 23:43:45 2000 +0000
+++ b/sys/arch/pmax/dev/bt478var.h      Sat Jan 08 01:02:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bt478var.h,v 1.4 1999/12/09 00:16:14 simonb Exp $      */
+/*     $NetBSD: bt478var.h,v 1.5 2000/01/08 01:02:35 simonb Exp $      */
 
 /*
  * Copyright 1996 The Board of Trustees of The Leland Stanford
@@ -18,11 +18,11 @@
  * chipset driver.
  */
 
-int bt478init __P((struct fbinfo *fi));
-void bt478BlankCursor __P((struct fbinfo *fi));
-void bt478RestoreCursorColor __P((struct fbinfo *fi));
-void bt478InitColorMap __P((struct fbinfo *fi));
-int bt478LoadColorMap __P ((struct fbinfo *fi, const u_char *bits,
-                           int index, int count));
-int bt478GetColorMap __P ((struct fbinfo *fi, u_char *bits,
-                          int index, int count));
+int    bt478init __P((struct fbinfo *fi));
+void   bt478BlankCursor __P((struct fbinfo *fi));
+void   bt478RestoreCursorColor __P((struct fbinfo *fi));
+void   bt478InitColorMap __P((struct fbinfo *fi));
+int    bt478LoadColorMap __P((struct fbinfo *fi, const u_char *bits,
+           int index, int count));
+int    bt478GetColorMap __P((struct fbinfo *fi, u_char *bits,
+           int index, int count));
diff -r 0cb8cb494062 -r 0205cfda5097 sys/arch/pmax/dev/cfb.c
--- a/sys/arch/pmax/dev/cfb.c   Fri Jan 07 23:43:45 2000 +0000
+++ b/sys/arch/pmax/dev/cfb.c   Sat Jan 08 01:02:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cfb.c,v 1.34 1999/09/05 11:34:29 simonb Exp $  */
+/*     $NetBSD: cfb.c,v 1.35 2000/01/08 01:02:35 simonb Exp $  */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -127,7 +127,7 @@
        bt459CursorColor
 };
 
-int cfbinit __P((struct fbinfo *fi, caddr_t cfbaddr, int unit, int silent));
+int    cfbinit __P((struct fbinfo *fi, caddr_t cfbaddr, int unit, int silent));
 
 #define        CFB_OFFSET_VRAM         0x0             /* from module's base */
 #define CFB_OFFSET_BT459       0x200000        /* Bt459 registers */
@@ -142,9 +142,9 @@
  * code is completely gone.
  */
 
-int cfbmatch __P((struct device *, struct cfdata *, void *));
-void cfbattach __P((struct device *, struct device *, void *));
-int cfb_intr __P((void *sc));
+int    cfbmatch __P((struct device *, struct cfdata *, void *));
+void   cfbattach __P((struct device *, struct device *, void *));
+int    cfb_intr __P((void *sc));
 
 struct cfattach cfb_ca = {
        sizeof(struct fbsoftc), cfbmatch, cfbattach
diff -r 0cb8cb494062 -r 0205cfda5097 sys/arch/pmax/dev/cfbvar.h
--- a/sys/arch/pmax/dev/cfbvar.h        Fri Jan 07 23:43:45 2000 +0000
+++ b/sys/arch/pmax/dev/cfbvar.h        Sat Jan 08 01:02:35 2000 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: cfbvar.h,v 1.3 1999/11/19 02:35:40 simonb Exp $        */
+/*     $NetBSD: cfbvar.h,v 1.4 2000/01/08 01:02:35 simonb Exp $        */
 
 /*
  * Initialize a Turbochannel CFB  dumb 2-d framebuffer,
  * so it can be used as a bitmapped glass-tty console device.
  */
-int cfbinit __P((struct fbinfo *fi, caddr_t base, int unit, int silent));
+int    cfbinit __P((struct fbinfo *fi, caddr_t base, int unit, int silent));
diff -r 0cb8cb494062 -r 0205cfda5097 sys/arch/pmax/dev/dc.c
--- a/sys/arch/pmax/dev/dc.c    Fri Jan 07 23:43:45 2000 +0000
+++ b/sys/arch/pmax/dev/dc.c    Sat Jan 08 01:02:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dc.c,v 1.56 2000/01/06 05:22:07 simonb Exp $   */
+/*     $NetBSD: dc.c,v 1.57 2000/01/08 01:02:35 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.56 2000/01/06 05:22:07 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dc.c,v 1.57 2000/01/08 01:02:35 simonb Exp $");
 
 /*
  * devDC7085.c --
@@ -118,30 +118,30 @@
 /*
  * Forward declarations
  */
-struct tty *dctty __P((dev_t  dev));
-void dcstart   __P((struct tty *));
-void dcrint     __P((struct dc_softc *sc));
-void dcxint    __P((struct tty *));
-int dcmctl      __P((dev_t dev, int bits, int how));
-void dcscan    __P((void *));
-int dcparam    __P((struct tty *tp, struct termios *t));
-static int cold_dcparam __P((struct tty *tp, struct termios *t,
-                            struct dc_softc *sc));
+struct tty     *dctty __P((dev_t  dev));
+void            dcstart __P((struct tty *));
+void            dcrint __P((struct dc_softc *sc));
+void            dcxint __P((struct tty *));
+int             dcmctl __P((dev_t dev, int bits, int how));
+void            dcscan __P((void *));
+int             dcparam __P((struct tty *tp, struct termios *t));
+static int      cold_dcparam __P((struct tty *tp, struct termios *t,
+                   struct dc_softc *sc));
+void            dc_reset __P((dcregs *dcaddr));
 
-extern void ttrstrt __P((void *));
+void            ttrstrt __P((void *));
 
-void   dc_reset __P ((dcregs *dcaddr));
 
 /* console I/O */
-int  dcGetc    __P((dev_t));
-void dcPutc    __P((dev_t, int));
-void dcPollc   __P((dev_t, int));
-void dc_consinit __P((dev_t dev, dcregs *dcaddr));
+int    dcGetc __P((dev_t));
+void   dcPutc __P((dev_t, int));
+void   dcPollc __P((dev_t, int));
+void   dc_consinit __P((dev_t dev, dcregs *dcaddr));
 
-void dc_tty_init __P((struct dc_softc *sc, dev_t dev));
+void   dc_tty_init __P((struct dc_softc *sc, dev_t dev));
 #if NRASTERCONSOLE > 0
-void dc_kbd_init  __P((struct dc_softc *sc, dev_t dev));
-void dc_mouse_init __P((struct dc_softc *sc, dev_t dev));
+void   dc_kbd_init __P((struct dc_softc *sc, dev_t dev));
+void   dc_mouse_init __P((struct dc_softc *sc, dev_t dev));
 #endif
 
 
diff -r 0cb8cb494062 -r 0205cfda5097 sys/arch/pmax/dev/dc_cons.h
--- a/sys/arch/pmax/dev/dc_cons.h       Fri Jan 07 23:43:45 2000 +0000
+++ b/sys/arch/pmax/dev/dc_cons.h       Sat Jan 08 01:02:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dc_cons.h,v 1.1 1996/10/13 03:42:17 jonathan Exp $     */
+/*     $NetBSD: dc_cons.h,v 1.2 2000/01/08 01:02:35 simonb Exp $       */
 
 #ifdef _KERNEL
 #ifndef _DC_CONS_H
@@ -8,10 +8,10 @@
  * Following declaratios for console code.
  * XXX should be redesigned to expose less driver internals.
  */
-void dc_consinit __P((dev_t dev, dcregs *dcaddr));
-extern int dcGetc __P ((dev_t dev));
-extern int dcparam __P((register struct tty *tp, register struct termios *t));
-extern void dcPutc __P((dev_t dev, int c));
+void   dc_consinit __P((dev_t dev, dcregs *dcaddr));
+int    dcGetc __P((dev_t dev));
+int    dcparam __P((register struct tty *tp, register struct termios *t));
+void   dcPutc __P((dev_t dev, int c));
 
 #endif /* _DCVAR_H */
 #endif /* _KERNEL */
diff -r 0cb8cb494062 -r 0205cfda5097 sys/arch/pmax/dev/dc_ds.c
--- a/sys/arch/pmax/dev/dc_ds.c Fri Jan 07 23:43:45 2000 +0000
+++ b/sys/arch/pmax/dev/dc_ds.c Sat Jan 08 01:02:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dc_ds.c,v 1.12 1999/12/08 04:03:28 simonb Exp $        */
+/*     $NetBSD: dc_ds.c,v 1.13 2000/01/08 01:02:35 simonb Exp $        */
 
 /*
  * Copyright 1996 The Board of Trustees of The Leland Stanford
@@ -36,7 +36,7 @@
 /*
  * Autoconfig definition of driver front-end
  */
-int    dc_ds_match  __P((struct device * parent, struct cfdata *match, void *aux));
+int    dc_ds_match __P((struct device * parent, struct cfdata *match, void *aux));
 void   dc_ds_attach __P((struct device *parent, struct device *self, void *aux));
 
 struct cfattach dc_ds_ca = {
diff -r 0cb8cb494062 -r 0205cfda5097 sys/arch/pmax/dev/dc_ds_cons.h
--- a/sys/arch/pmax/dev/dc_ds_cons.h    Fri Jan 07 23:43:45 2000 +0000
+++ b/sys/arch/pmax/dev/dc_ds_cons.h    Sat Jan 08 01:02:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dc_ds_cons.h,v 1.1 1996/09/25 20:48:55 jonathan Exp $  */
+/*     $NetBSD: dc_ds_cons.h,v 1.2 2000/01/08 01:02:35 simonb Exp $    */
 
 #ifdef _KERNEL
 #ifndef _DC_DS_CONS_H
@@ -8,7 +8,7 @@
  * Following declaratios for console code.
  * XXX should be redesigned to expose less driver internals.
  */
-int dc_ds_consinit __P((dev_t dev));
+int    dc_ds_consinit __P((dev_t dev));
 
 #endif /* _DC_DS_CONS_H */
 #endif /* _KERNEL */
diff -r 0cb8cb494062 -r 0205cfda5097 sys/arch/pmax/dev/dcvar.h
--- a/sys/arch/pmax/dev/dcvar.h Fri Jan 07 23:43:45 2000 +0000
+++ b/sys/arch/pmax/dev/dcvar.h Sat Jan 08 01:02:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dcvar.h,v 1.6 1999/12/08 00:13:33 simonb Exp $ */
+/*     $NetBSD: dcvar.h,v 1.7 2000/01/08 01:02:35 simonb Exp $ */
 
 /*
  * External declarations from DECstation dc serial driver.
@@ -30,18 +30,17 @@
 /* flags */
 #define DC_KBDMOUSE    0x01            /* keyboard and mouse attached */
 
-int    dcattach __P((struct dc_softc *sc, void *addr,
-                       int dtrmask, int rts_ctsmask,
-                       int speed, int consline));
+int    dcattach __P((struct dc_softc *sc, void *addr, int dtrmask,
+           int rts_ctsmask, int speed, int consline));
 int    dcintr __P((void * xxxunit));
 
 /*
  * Following declaratios for console code.
  * XXX shuould be separated, or redesigned.
  */
-extern int dcGetc __P ((dev_t dev));
-extern int dcparam __P((register struct tty *tp, register struct termios *t));
-extern void dcPutc __P((dev_t dev, int c));
+int    dcGetc __P((dev_t dev));
+int    dcparam __P((register struct tty *tp, register struct termios *t));
+void   dcPutc __P((dev_t dev, int c));
 
 /* QVSS-compatible in-kernel X input event parser, pointer tracker */
 void   (*dcDivertXInput) __P((int cc)); /* X windows keyboard input routine */
diff -r 0cb8cb494062 -r 0205cfda5097 sys/arch/pmax/dev/device.h
--- a/sys/arch/pmax/dev/device.h        Fri Jan 07 23:43:45 2000 +0000
+++ b/sys/arch/pmax/dev/device.h        Sat Jan 08 01:02:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: device.h,v 1.13 1999/04/24 08:01:03 simonb Exp $       */
+/*     $NetBSD: device.h,v 1.14 2000/01/08 01:02:35 simonb Exp $       */
 
 /*
  * Copyright (c) 1992, 1993
@@ -133,7 +133,7 @@
  * Callbacks to add known a controller, and to configure all slaves on
  * all  known controllers.
  */
-void pmax_add_scsi __P((struct pmax_driver *dp, int unit));
-void configure_scsi __P((void));



Home | Main Index | Thread Index | Old Index